Monday, September 06, 2010

Editing the /etc/fstab in Maintenence Mode

While re-mounting the virtual machine on the other system, it was unable to recognize the 2 other volumes as they were mounted manually in the source system.To start the linux virtual machine it is required to make changes in the fstab file,  but it always used to open the read-only mode.Use the following procedure to make the read-only file system to Read-Write File-system:

1. Check the filesystems.
(Repair filesystem) 1 # fsck –a


2. Remount the root file system and make it writable.
(Repair filesystem) 2 # mount –o remount,rw /

3. Edit the /etc/fstab file, delete the line I had added, save and quit.
(Repair filesystem) 3 # vi /etc/fstab

4. Reboot the system.
(Repair filesystem) 4 # reboot







No comments: