How to edit /etc/fstab when root was mounted as read only

can somebody help me out in editing the /etc/fstab. I am on RHEL5 (Tikanga).

**The problem is that i have given a wrong LABEL in /etc/fstab for root volume and so after reboot, it is unable to resolve the wrong LABEL;

so, i have to edit the /etc/fstab :frowning:

-ilan

1 Like

Boot in single user mode and correct the error where the local filesystems are not mounted.

Or just:

mount -o remount,rw /

Thanks for your time helping me.

i did it like this..
1.boot with a instalation CD and go on to 'linux rescue' mode
2. mount the root partition to some other path other than root (as it is already mounted)
say mount on to /mnt/root
3. and then i got the /etc/fstab editable.

as i had to do this on te same day...i had to ask my *boss* for this trick :slight_smile:

again, i will try your approaches too...no harm in knowing more ways to do.

-ilan

1 Like