Bekijk de volledige versie : Request for 'Install on USB disk' HOW-TO

30-04-2004, 10:41

With many interest I've been reading all topipcs in this forum and slowly I'm understanding what my 500g can do. It's working great on Oleg's, running from the internal ROM.

But, how do install the 'firmware' on my USB harddisk? I would like to see some simple 1-2-3 steps on this forum, my knowledge of Linux is somehow limited to figure this out myself.

Untill now I've formatted the disk using Ranish into a 6gb bootable etx2 partition. When I connect the disk, the FTP deamon is started automaticly but while connecting with telnet to the router, the disk doesn't appear to be mounted. How can I mount the disk ?

Thanx !

30-04-2004, 13:14

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

- a 20MB ext2 partition for root fs i.e.

(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

nvram set boot_dev="/dev/scsi/host0/bus0/target0/lun0/part2"
nvram commit

(5) Router boots from the external USB source, to try if that was successful enter (again it's part2 for my configuration)

mount -o remount,rw,noatime /dev/scsi/host0/bus0/target0/lun0/part2 /
If you got permission to do that, you're done :-)

cheers, thomas.

01-05-2004, 13:18
Thomas, you're my God for this week. Thanx !!