How to get a USB hard disk to mount on boot
Gertjan Vinkesteijn
vinksoft at xs4all.nl
Sat Jan 31 00:02:24 UTC 2004
Bob Chiodini wrote:
> On Thu, 2004-01-29 at 14:06, 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?
>
>
> John,
>
> One way, build the appropriate modules into the initrd.
>
> Bob...
>
>
I had the same problem with my 120Gbyte usb hard disk.
What I wanted with a big /usr on that disk, so I did the
fsck -p /dev/sda1 and
mount /dev/sda1 /usr
in the file /etc/rc.d/rc.sysinit just after the block what starts with
# Initialize USB controller and HID devices
--
peace now, that is good for all of us
http://gershwin.xs4all.nl
More information about the fedora-list
mailing list