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)