Gentoo Archives: gentoo-user

From: Dan Cowsill <danthehat@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] External hard disk doesn't mount on boot
Date: Thu, 20 Mar 2008 17:21:29
Message-Id: 4ef07b8c0803201021o3d283999h41fa39f0490faff3@mail.gmail.com
In Reply to: Re: [gentoo-user] External hard disk doesn't mount on boot by Alan McKinnon
1 On Thu, Mar 20, 2008 at 11:01 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 >
3 > On Thursday 20 March 2008, Dan Cowsill wrote:
4 > > Right, so I have an external USB hard drive always hooked up to my
5 > > machine. I've a listing in /etc/fstab to mount it at boot.
6 > > Unfortunately, the drive does not boot because localmount can't find
7 > > /dev/sda1. Now, after the boot process I can find /dev/sda1 and
8 > > mount the drive just fine, leading me to believe that localmount
9 > > tries to mount the drive without populating /dev with USB devices.
10 > >
11 > > How could I resolve this?
12 >
13 > The canonical way is of course to use udev to run a mount script as soon
14 > as the usb drive's device is created. This is hard and requires much
15 > googling.
16 >
17 > The hackish, kludgy, totally not recommended method that always works is
18 > to put a call to 'mount -a' in /etc/local.d/local.start
19 >
20 > :-)
21 >
22 >
23 > --
24 > Alan McKinnon
25 > alan dot mckinnon at gmail dot com
26 >
27 > --
28 > gentoo-user@l.g.o mailing list
29 >
30 >
31
32 I'll look into the canonical and implement the hackish. Thanks for
33 the help, I'll report back when I can.
34
35 Cheers
36
37 --
38 Dan Cowsill
39 http://www.danthehat.net
40 --
41 gentoo-user@l.g.o mailing list