Hey,
(1) A good place to start and to download the rootfs is oleg's step by step howto on http://wl500g.dyndns.org
(2) As an example I have my 256MB usb stick partitioned into
- a 230MB fat partition (active) for ftp and to access from win machines i.e.
Code:
/dev/scsi/host0/bus0/target0/lun0/part1
- a 20MB ext2 partition for root fs i.e.
Code:
/dev/scsi/host0/bus0/target0/lun0/part2
(3) Unpack the rootfs tar to the ext2 partition (all below the cramfs directory, beware to keep the symlinks)
(4) Set the ext2 partition as new boot device exactly as described under (1) using the nvram boot_dev property, i.e. part2 in my configuration
Code:
nvram set boot_dev="/dev/scsi/host0/bus0/target0/lun0/part2"
nvram commit
reboot
(5) Router boots from the external USB source, to try if that was successful enter (again it's part2 for my configuration)
Code:
mount -o remount,rw,noatime /dev/scsi/host0/bus0/target0/lun0/part2 /
If you got permission to do that, you're done :-)
hope2help,
cheers, thomas.