View Single Post
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#18
Originally Posted by Milhouse View Post
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 binary
  • The 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
______________________________________
2006OS Flash/MMC 2007He2007.36-2 MMC 2G

Follow Mil's Simplified instructions, now 2007He2007.36-2 is booting of MMC 2G. Thanks Mil! As explained, the steps are easy to follow, ./nupgrade 0-4. I made some very minor change to suit my use, I give .45G for the OS and 1.37 G for media (a 2G reads only as 1.89G before formatting) and I use Fat32 instead of Fat16,

/dev/mmcblk0p1: 1,45000,b
/dev/mmcblk0p2: 45001,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:

I am not a SW developer, the chance of installing 1.5G app is highly unlikely for me, at this stage, Kind of curious what other people's partition like.

I jumped right to step 7 as I already has the prerequisite, but it kicked me out on ./nupgrade.sh 3 > Internal application error, Xterm close. I re-started from step 6, no more error. Very interesting....... Now I booted from MMC and has 237 M space for apps, OMG!!!

bun

Last edited by bunanson; 2007-09-15 at 06:42.