fscking too soon

James Takac p3nndrag0n at gmail.com
Fri Aug 15 12:04:18 UTC 2008


Hi Steinar

On Friday 15 August 2008 21:26:55 Steinar Midtskogen wrote:
> I run Ubuntu 8.04 on an Asus EeePC 900, to which I've connected an
> external USB drive.  I've made an entry for it in /etc/fstab so it
> will mount at boot.
>
> However, during boot fsck usually fails to find the drive and the boot
> sequence stops asking for root password or ctrl-D, which is very
> annoying if I reboot remotely.  The drive is detected seconds later.
> I need to get fsck to wait until the USB drive becomes available.  How
> can I do this?
>
> My workaround for now is to use "0" (passno) in the sixth column of
> /etc/fstab and to do a mount -a in a script in /etc/init.d, but I'd
> like to do this in a cleaner way.
>
> I've tried to add the rootwait option to the kernel, but it doesn't
> make a difference.
>
> Any suggestions?
>
> Thanks,
> --
> Steinar



What's the exact error you see from fsck? Last time I got one was when I 
reinstalled grub on a usb stick and I also reinstalled an operating system on 
the main computer. Take note of the UUID mentioned in the error and try 
commenting out that line in etc/fstab with a # character and rebooting. My 
understanding is the UUID for the drive in Q has changed and the thread(s) re 
UUIDs may be of help. In particular a certian link posted earlier

https://help.ubuntu.com/community/UsingUUID

Hope it's of help
James 




More information about the ubuntu-users mailing list