Warty won't boot - fstab error

dave walker dave at mudsite.com
Tue May 24 19:17:02 UTC 2005


Curt Tresenriter wrote:

>On Tue, 2005-05-24 at 13:35 -0500, Raghu Vemuri wrote:
>  
>
>>Curt Tresenriter wrote:
>>
>>    
>>
>>>I thought if I opened a terminal (after booting to the CD) and said
>>>vi /etc/fstab what I would see is the fstab in ramdisk rather than the
>>>hard disk..... no?
>>> 
>>>
>>>      
>>>
>>yes.
>>    
>>
>
>In this case, don't I need to chroot to /dev/sda1 or /mnt/sda1 or
>something... (I think?) and then mount it?
>This is something I haven't done before, just read briefly about it and
>I'm unsure of the syntax.
>
>
>  
>
You would need to mound the drives before trying to do the ls -l

Hopefully the live CD created it in the fstab so doing:
<code>
    mount /mnt/sda1
</code>
should mount it.  If that does not work you would have to:
<code>
    mount -t ext3 /dev/sda1 /mnt/sda1
</code>
where ext3 is the filesystem on sda1.

After you mount the drives you can do the ls to find where the fstab you 
are looking for is.

--
Dave Walker




More information about the ubuntu-users mailing list