Re: How to get a USB hard disk to mount on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux