LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How modify fstab when its 'ro' in "repair filesystem" mode ? (http://www.linuxquestions.org/questions/linux-software-2/how-modify-fstab-when-its-ro-in-repair-filesystem-mode-562021/)

emuub 06-15-2007 08:23 AM

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.

Mike
=======

emuub 06-15-2007 08:55 AM

update #1
 
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

Emerson 06-15-2007 08:58 AM

mount -o remount,rw /

man mount

jglenton 03-24-2011 07:46 AM

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 06:47 AM.