Results 1 to 3 of 3

Thread: Request for 'Install on USB disk' HOW-TO

  1. #1

    Request for 'Install on USB disk' HOW-TO

    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 !

  2. #2
    Join Date
    Mar 2004
    Location
    Europe
    Posts
    32
    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.

  3. #3
    Thomas, you're my God for this week. Thanx !!

Similar Threads

  1. Feature request: mac module for iptables
    By hynek in forum WL-500g Q&A
    Replies: 3
    Last Post: 15-01-2005, 17:36
  2. Respond LPR Request from WAN? Is this for printing
    By justwords in forum WL-500g Q&A
    Replies: 1
    Last Post: 14-09-2004, 15:33
  3. [Firewall] Request security howto
    By john37 in forum WL-500g Q&A
    Replies: 2
    Last Post: 21-04-2004, 11:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •