ubuntu: external usb drive not mounting at boot

oog

Golden Member
Feb 14, 2002
1,721
0
0
Hello. I have an external hard drive formatted with one large ext3 partition connected to a machine with Ubuntu.

When I'm booting up, it cannot find /dev/sda1, possibly because the usb drive is not detected at the time that it's trying to mount it. Can someone point me in the right direction to correct this boot sequence? What is it that detects the drive, and can I just move that earlier in the boot sequence?

I listed my fstab below.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
not sure, but maybe you can make the mount startup depend on hotplug? (think that's the USB detection)
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
i found mountall.sh in /etc/rcS.d, which means that it was trying to mount /dev/sda1. this is before hotplug or pcmcia are started (in rc2.d), which is why it wouldn't find it. i ended up writing a new init script to put in /etc/rc2.d that explicitly mounts this drive. it's not an ideal solution though.

should i be moving hotplug and pcmcia into /etc/rcS.d?