How modify fstab when its 'ro' in "repair filesystem" mode ?
I modified fstab to add a label (/boot) but apparently i should have either a) left it alone or b) changed something elso too because the system stops at "Unable toresolve 'LABEL=/boot' and drops me into "repair filesystem"
A directory called /boot exists.
With thanks to binoynet from linuxforums
Quote" "1. Boot your system with Redhat Linux Disk1, when you get the boot prompt
press F2 and type 'linux rescue'
2. Go through the Linux Rescue process and you will get a hash prompt
3. # vi /mnt/sysimage/etc/fstab
Here you can edit your fstab file for your requirement .end quote
In fact for some reason i couldn't delete the line i wanted to but by #ing it i could reboot to a terminal and tidy it up.
Thanks anyways guys
mount -o remount,rw /
THANK YOU!!!!!! This worked perfectly.
I've seen this problem before, we removed a SAN filesystem attached to one of our Redhat servers and when the system rebooted it gets stuck because it tries to check the SAN filesystem it finds in fstab and bombs out and makes you go to the repair filesystem prompt.
I logged in as root, ran the remount command, edited the fstab and removed the SAN filesystem line , rebooted and server is now coming back up
|All times are GMT -5. The time now is 03:04 PM.|