You probably need to convert the root2hdd.sh script to unix-style..
Anyway, I have 2 issues:
1. For some reason, the router still boots from it's own ROM instead om the hdd, after a cold-start (power removed and reconnected). If I issue the reboot command, the router will boot from the hdd
2. I'm having big problems changing the IP address. I want to set the ip to 192.1680.0.100. I changed ip_address from nvram (and commited) and changed /etc/config/network. Now I reboot (poweroff required I believe) and the router comes up at the right IP. However, due issue 1, I have to reboot. And after this, I can no longer connect to the router (possibly the /etc/config/network on the hdd is a different one than the one I changed?)