How to get a USB hard disk to mount on boot

Tom Diehl tdiehl at rogueind.com
Thu Jan 29 20:33:15 UTC 2004


On Thu, 29 Jan 2004, Villalovos, John L wrote:

> I've been looking through the email list and I haven't found this out
> yet :(
> 
> I have a USB Hard disk and it works great.  I can mount it easily once
> everything is booted up.
> 
> The problem is that if I put it in /etc/fstab to be mounted on boot up
> the usb modules are not yet loaded into the kernel.  So there is no
> /dev/sda1 available.
> 
> So I am assuming that I need to get usb-storage to be insmod or modprobe
> in before the "Mounting local filesystems" part runs.
> 
> Can anyone give me a clue on how to do this?

Make sure you have the hotplug package installed and then use devlabel to
register it with a --automount arg. 
http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/ch-devlabel.html
might be of use, even though it is for RHEL.


.............Tom





More information about the fedora-list mailing list