PDA

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



goudkamp74
30-04-2004, 09:41
Hi!

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 1.7.5.6-CR2, 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 !

piri
30-04-2004, 12:14
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.
/dev/scsi/host0/bus0/target0/lun0/part1

- a 20MB ext2 partition for root fs i.e.
/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



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)

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.

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