You could have also done mount -o remount,rw / from within single user mode "Maintenance Mode". On 4/15/07, Ahmed Mohamed <ajmoham@xxxxxxxxx> wrote:
Thanks for your help. Problem solved. I used rescue disk, and the file /etc/fstab is now editable. thanks! On 4/15/07, Sean McGlynn <sean_mcglynn@xxxxxxxxx> wrote: > > This is all off of the top of my head, so I could be off somewhere, > but.... > > You say it's dropping you into "a repair mode"--perhaps using the > installation media to start in its repair mode and then mounting root that > way will allow you to edit the file. Then, don't use the label and see if > it works using /dev/hda6. I've had problems with labels before that were > basically unexplainable (at face value--I didn't bother researching too > much). > > > ----- Original Message ---- > From: Ahmed Mohamed <ajmoham@xxxxxxxxx> > To: redhat-list@xxxxxxxxxx > Sent: Sunday, April 15, 2007 1:55:04 AM > Subject: /etc/fstab error > > > Hi all, > > I am using fedora 6. > I have edited file /etc/fstab file by adding to the following line: > > LABEL=/download /download ext3 defaults 1 2 > > I have succeeded mounting it on /dev/hda6 and accessed files on this > partition > but when I later rebooted the system it dropped to a repair mode. As a > root > I have > tried to restore the file (/etc/fstab) back to its original state but the > it > is always read-only > mode. I have tried to chmod it (a=rw), I have checked the file attrributes > using chattr /etc/fstab,I have saved it with :wq! . Nothing worked. > > any suggests? > > thank you > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
-- Thx Joshua Gimer -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list