LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to edit fstab in Fedora 5 (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-edit-fstab-in-fedora-5-a-714187/)

FarRed 03-24-2009 07:28 PM

Unable to edit fstab in Fedora 5
 
I'm running Core 5 on one hard drive, then created another partition, /home2, on a second drive. I then edited fstab to mount /home2 at boot. Later I deleted the 2nd drive partition, but forgot to edit fstab before rebooting.

Now Fedora won't boot, and I get an error that it can't mount the deleted partition. I've tried to edit fstab in several ways, always as root, using nano and vi, but it won't allow me to save it or change permissions to save it, saying it is a Read-only file system. lsattr says fstab is all dashes, but chmod won't change the permissions.

It appears my entire first drive is read-only since I can't create directories at / either.

syg00 03-24-2009 08:07 PM

Yep, that's the system attempting to stop you shooting yourself in the foot. Try this (your gun, your foot .... :p )
Code:

mount -o remount,rw /
<Edit:> Any reason you're on such an old version of FC - Fedora 10 is current ? </Edit:>


All times are GMT -5. The time now is 09:18 PM.