Results 61 to 75 of 75

Thread: Using HDD drive for Root on OpenWRT

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Using HDD drive for Root on OpenWRT

    I have prepared some scripts (see attachement) to use HDD as root file system. The scripts are based on info found at:
    http://wiki.openwrt.org/OpenWrtDocs/...etgear/WGT634U
    http://openwrt.pbwiki.com/WGT634U_USB_root
    http://forum.openwrt.org/viewtopic.php?pid=24104

    As I'm not a big linux guru, the scripts might need improvements. So any feedback is welcome!

    The script ini creates mount point (/hdd) in existing root filesystem and creates new file system layout.
    linuxrc changes the root filesystem to hdd filesystem.
    /etc/init.d/done has a small adition to execute linuxrc:
    [ -f /linuxrc ] && . /linuxrc

    How to use all this:

    1. I assume you already have flashed OpenWRT firmware from http://back2basic.shacknet.nu/WL700Ge/
    2. copy ini and linuxrc to /
    3. give ini and linuxrc execute permition
    4. execute ini
    5. copy done to /etc/init.d/done
    6. reboot the router.

    You should see something like this:
    root@OpenWrt:/# mount
    /dev/root on /jffs/rom type squashfs (ro)
    none on /jffs/dev type devfs (rw)
    /dev/mtdblock/4 on /jffs/jffs type jffs2 (rw)
    /jffs on /jffs type mini_fo (rw)
    /dev/discs/disc0/part1 on / type ext3 (rw)
    none on /proc type proc (rw)
    none on /dev type devfs (rw)
    none on /dev/pts type devpts (rw)
    Attached Files Attached Files

Similar Threads

  1. Lost Access to HDD
    By cokeman in forum WL-500g Q&A
    Replies: 0
    Last Post: 12-10-2006, 08:39
  2. Mirroring WL-700g external USB hard drive
    By Joho in forum WL-700g Q&A
    Replies: 0
    Last Post: 11-09-2006, 14:49
  3. twonky media server, network drive with oleg firmware
    By black_bottom in forum WL-HDD Q&A
    Replies: 3
    Last Post: 22-03-2006, 07:15
  4. Flashing Oleg's Firmware in WL HDD
    By hugo in forum WL-HDD Custom Development
    Replies: 29
    Last Post: 21-10-2004, 14:55
  5. USB HDD connects as Webcam
    By Oldchatterman in forum WL-500g Q&A
    Replies: 12
    Last Post: 19-10-2004, 17:54

Posting Permissions

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