Set up the usb drive
From WikiWiki
Content-Transfer-Encoding: binary
To boot the USB key drive on the TS-7250
- execute /usr/bin/loadUSBModules.sh
- execute /usr/bin/loadUSB.sh
>This Needs to be reformated You can compile a compressed kernel with USB support then create an initial ramdisks http://freshmeat.net/projects/sash-plus-patches/). Next you can boot to the initial ramdisk, load the USB drivers, mount the USB flash drive, and then pivot root to the USB flash drive. I've posted an initial ramdisk I created in the files section. I created it as an example of how to use an initial ramdisk and currently doesn't pivot root to the USB flash. It would be trivial to change the script to pivot_root to the USB flash drive... You can gunzip the initrd.gz file then mount it as a loopback filesystem. Then you can with pivot_root, chroot, and a shell(I used sash-plus-patchemake the changes you require to the linuxrc script. The redboot commands I used to boot to the initial ramdisk are below.
load -r -b 0x00218000 -h 192.168.0.11 /u/home/eddie/zImage load -r -b 0x00600000 -h 192.168.0.11 /u/home/eddie/initrd.gz exec -r 0x00600000 -s 0x7f15a -b 0x00218000 -l 0x96954 -c "console<code>ttyAM0,115200 root</code>/dev/ram0 init=/linuxrc rw"
Also :
By default /etc/fstab tells linux your rootfilesystem is /dev/hda1, this corresponds to the CF card. If you are using a USB flash drive copy /etc/fstab.usb to /etc/fstab on your USB flash drive.
