On Sun, 30 Oct 2011, Mike Dodd wrote:
> My reason to boot to USB Sarge was/is to move _everything_ to the
> TS-7250 in the mechanical room, where the HVAC is located. Then, a power
> failure would have no chance of affecting the Linux server.
>
> I guess my next step is to boot my office 7250 to NFS Sarge, and check
> if it sees the USB drive.
If you are using a stock 2.4 kernel, you will have to load the USB modules
(please, not drivers :-). TS have a script to load the relevant modules for
usb use - loadUSBModules.sh [*] . So you load the modules, then you plug in
the USB, and see what dmesg says to find out which dev entry has been
associated with partition on the USB mass storage device etc. Then you
mount that partition (prob. /dev/sda1) at a suitable mount point.
The stock kernel is not built with the USB drivers "built-in", hence the
need to load them. Also hence the fact that a raw booted kernel can't see
the USB device - it needs the USB modules loaded first, which are on the
USB drive! You can build a new kernel with the USB stuff built-in to the
kernel and then it can see USB filesystems. But you may not be confident
building a custom kernel. Or you can use, something called an "initrd"
image - the kernel can be given a small compressed filesystem that it
uncompresses into a RAM disk ("rd"), boots to, then the init script loads
the relevant modules from the "rd", then does a pivot root to the new
root filesystem. All of which can be pretty complicated to set up and get
working.
cheers
Jim
[*] this script simply does...
insmod usbcore
insmod pcipool
insmod usb-ohci
insmod usb-ohci-ep93xx
insmod scsi_mod
insmod sd_mod
insmod usb-storage
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|