Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] External hard disk doesn't mount on boot

Alan McKinnon

2008-03-20

Replies: Find Java Web Hosting

Author LoginPost Reply
On Thursday 20 March 2008, Dan Cowsill wrote:
> Right, so I have an external USB hard drive always hooked up to my
> machine. I've a listing in /etc/fstab to mount it at boot.
> Unfortunately, the drive does not boot because localmount can't find
> /dev/sda1. Now, after the boot process I can find /dev/sda1 and
> mount the drive just fine, leading me to believe that localmount
> tries to mount the drive without populating /dev with USB devices.
>
> How could I resolve this?

The canonical way is of course to use udev to run a mount script as soon
as the usb drive's device is created. This is hard and requires much
googling.

The hackish, kludgy, totally not recommended method that always works is
to put a call to 'mount -a' in /etc/local.d/local.start

:-)


--
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.