LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2009, 07:28 PM   #1
FarRed
LQ Newbie
 
Registered: Mar 2009
Posts: 5

Rep: Reputation: 0
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.

Last edited by FarRed; 03-24-2009 at 07:55 PM.
 
Old 03-24-2009, 08:07 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Yep, that's the system attempting to stop you shooting yourself in the foot. Try this (your gun, your foot .... )
Code:
mount -o remount,rw /
<Edit:> Any reason you're on such an old version of FC - Fedora 10 is current ? </Edit:>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable To Edit Fstab steelheat Linux - Newbie 2 12-14-2007 12:48 PM
Can't edit fstab?? hulk321 Linux - Software 12 07-04-2007 01:42 PM
How do I edit /etc/fstab? linusownsme Linux - Software 9 03-05-2005 11:30 AM
Help me edit my fstab Slovak Slackware 3 11-26-2004 10:12 AM
Unable to edit fstab... problems with ext. usb hdd removal gardyloo Linux - Newbie 1 12-27-2003 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration