• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: external USB drive not mounted at boot  (Read 1361 times)
polo78
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: August 21, 2009, 03:46:41 AM »

I'm setting up a sheevaplug to replace my old and noisy home server (samba, apache2, mysql, subversion). I'm using the kernel image and rootfs that come with the SheevaPlug Installer Alpha-6 package, which work perfectly except for one annoying issue: my external USB drive fails to mount at boot time (when it says "Mounting local filesystems"), whereas it mounts just fine after the boot sequence has completed. The device is specified in fstab in terms of UUID, but using other means (such as a plain "/dev/sda1") makes no difference. The fstab entry is correct because, as I said, mount -a works fine after login.

I suspect this to be a timing problem. Probably /etc/init.d/mountall.sh is being executed before the USB drive is scanned and recognized. Is there anything I can do to force mountall.sh to wait until the USB bus scan has finished? The external drive contains data for various servers that are launched at boot time, so having it mounted automatically is crucial... Roll Eyes
« Last Edit: August 21, 2009, 05:29:53 AM by polo78 » Logged

restamp
Global Moderator
Sr. Member
*****

Karma: 4
Posts: 273


View Profile
« Reply #1 on: August 21, 2009, 01:41:29 PM »

See:  http://plugcomputer.org/plugforum/index.php?topic=485.0
Logged

polo78
Newbie
*

Karma: 0
Posts: 2


View Profile
« Reply #2 on: August 21, 2009, 02:12:39 PM »

thanks, it works like a charm!
Logged

Pages: [1]
Print
Jump to: