These instructions apply to OS 2006 (770), OS 2007HE (770) and OS 2007 (N800). If you're all set with root access, xterm, wget, boot menu and e2fsprogs installed *and* a 256MB+ second partition on Internal memory card, jump straight to step 7... otherwise continue with the pre-reqs. 7. Download and execute the following script and binaryThe following commands will download the cloning script and the GNU tar binary to assist with the cloning process As user "user" Code: mkdir ~/bin cd ~/bin wget http://www.nmacleod.com/nokia/bin/nupgrade.sh wget http://www.nmacleod.com/nokia/bin/tar chmod +x nupgrade.sh tar As user "root"Switch to the root superuser and begin the process of cloning the filesystem to partition two on the Internal memory card. This is achieved in stages to allow you to control progress and check for errors. Pass parameters to the nupgrade.sh script to control progress, as follows 0 - Create ext2 filesystem on partition 2 of the Internal memory card 1 - Mount partition 2 as /opt 2 - Mount rootfs as /floppy 3 - Perform cloning process 4 - Commit filesystem updates and unmount /floppy and /opt Code: sudo gainroot cd /home/user/bin ./nupgrade.sh 0 ./nupgrade.sh 1 ./nupgrade.sh 2 ./nupgrade.sh 3 ./nupgrade.sh 4 reboot Steps 5 and 6 are optional and may be performed in order to upgrade the freshly cloned OS 2007 (not OS 2006 or OS 2007HE) to the Sardine bleeding edge test distribution 5 - Enter chroot gaol prior to upgrading cloned OS on memory card 6 - Initiate Sardine operating system upgrade of cloned OS on memory card If performing a Sardine upgrade, use the following procedure: Code: sudo gainroot cd /home/user/bin ./nupgrade.sh 0 ./nupgrade.sh 1 ./nupgrade.sh 2 ./nupgrade.sh 3 ./nupgrade.sh 4 ./nupgrade.sh 5 cd /home/user/bin ./nupgrade.sh 6 exit reboot When the device reboots, choose option #3 "MMC card, partition 2, ext2" to boot from the freshly cloned OS
mkdir ~/bin cd ~/bin wget http://www.nmacleod.com/nokia/bin/nupgrade.sh wget http://www.nmacleod.com/nokia/bin/tar chmod +x nupgrade.sh tar
sudo gainroot cd /home/user/bin ./nupgrade.sh 0 ./nupgrade.sh 1 ./nupgrade.sh 2 ./nupgrade.sh 3 ./nupgrade.sh 4 reboot
sudo gainroot cd /home/user/bin ./nupgrade.sh 0 ./nupgrade.sh 1 ./nupgrade.sh 2 ./nupgrade.sh 3 ./nupgrade.sh 4 ./nupgrade.sh 5 cd /home/user/bin ./nupgrade.sh 6 exit reboot