Hosed fstab, won't boot how to edit?

Ron Siven rsiven at gmail.com
Tue Jan 20 19:51:59 UTC 2009


Robert Moskowitz wrote:
> So I mistyped noatime in /etc/fstab; wished there was a way to test 
> this first!
>
> Anyway, since this is my ASUS Eee and my swap is on the SD card, by 
> pulling the SD card the boot halts and puts me into Repair Filesystem 
> mode.
>
> Thing is /etx fstab is readonly.  vi fstab won't let me save the file.
>
> I really don't want to do a complete reinstall yet.  I want to buy a 
> 8Gb SD card first (and next time I am putting /usr on the SD card).  
> So how can I edit this?
>
>
If this is the same as rescue mode booting from the CD/DVD, the file 
system is mounted to /mnt/sysimage.  To get root access, use chroot 
/mnt/sysimage.  Then use vim to edit /etc/fstab




More information about the fedora-list mailing list