Hosed fstab, won't boot how to edit?
Robert Moskowitz
rgm at htt-consult.com
Tue Jan 20 20:04:25 UTC 2009
Roger Heflin wrote:
> On Tue, Jan 20, 2009 at 1:45 PM, Robert Moskowitz <rgm at htt-consult.com> 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?
>>
>
>
> mount -o rw,remount /
>
So I tried this (had a DAH moment after you posted this), but got an error:
mount: / not mounted already, or bad option
So I tried just 'mount' to see what the status of / is and got (amongst
other pieces of info):
/dev/sda1 on / type ext3 (rw)
> then edit it.
More information about the users
mailing list