How to get a USB hard disk to mount on boot
Andy Green
fedora at warmcat.com
Thu Jan 29 19:38:56 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 29 January 2004 19:26, Bob Chiodini wrote:
> On Thu, 2004-01-29 at 14:06, Villalovos, John L wrote:
> > Can anyone give me a clue on how to do this?
> One way, build the appropriate modules into the initrd.
Ever since I found out about /etc/rc.local I've been able to brute force
pretty much everything I wanted to happen at boot. I don't doubt that there
is a ten times better way somewhere in the initscripts and /etc/sysconfig but
for creatures that did not evolve that far: /etc/rc.local is the man.
This script runs AS ROOT after the rest of the initscripts are all done, just
before you hit the login prompt (and/or go on to start X).
You need something like
modprobe usb-uhci (or ohci) for 2.4, or
modprobe uhci-hcd (or ohci-hcd) for 2.6
then maybe
modprobe usb-storage
and finally
mount /mnt/MyFstabMountpoint
Then every time you boot it'll get seen and mounted. You can stick all other
kinds of stuff in there like custom iptables holes and so on, too.
- -Andy
- --
Find your answer without waiting for replies....
Searchable list archives at
http://marc.theaimsgroup.com/?l=fedora-list&r=1&w=2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAGWFQjKeDCxMJCTIRAmSdAJ9+VzDMdxTgbEw/Qv22twrQzHUBgwCdE6Fe
5aJPattrTw4CCN9QrvmmxwA=
=2vYD
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list