Posts: 7 | Thanked: 0 times | Joined on Feb 2009
#1
I'm trying to clone the drive to the partition but i keep getting TERMINATEd when I do ./nupgrade.sh 0
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
...and I have no idea what nupgrade.sh is here. What is "the drive" and what is "the partition" here? Please provide an exact step-by-step explanation.

For future reference, please use a better topic ("Need Help" can really mean anything). Thanks. :-)
__________________
maemo.org Bugmaster
 

The Following 4 Users Say Thank You to Andre Klapper For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
Originally Posted by Andre Klapper View Post
...and I have no idea what nupgrade.sh is here.
nupgrade.sh is http://www.nmacleod.com/nokia/bin/nupgrade.sh (from: http://wiki.maemo.org/Booting_from_a...ecessary_tools). As for the rest, that's anyone's guess
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Feb 2009
#4
Sorry about my topic and my cryptic request for help I was exhausted and dead to the world when I typed that. I'm trying to install from a boot partition I was having problems with the partition but I flashed and it worked just fine but now I'm running into problems trying to clone to the partition so I can boot from that.

Every time I follow the following instructions :

Clone to the card

Many thanks to milhouse for writing and maintaining this script.

Now it's time to clone your install over to partition 2 of the internal card. The script works in stages to allow better control and error detection, and should take about 10 minutes to complete:

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
So, as root, run:

cd /home/user/bin
./nupgrade.sh 0
If the following error occurs: "Unable to locate mbcache.ko - aborting" follow the instructions per this link: [1]

./nupgrade.sh 1
If the following error occurs:
"Installing ext2.ko module and mounting Internal Flash card, second partition... insmod: can't open '/mnt/initfs/lib/modules/current/ext2.ko': No such file or directory mount: mounting /dev/mmcblk0p2 on /opt failed"
do the following (similar to the above remedy during error of "./nupgrade.sh 0")
cp /mnt/initfs/lib/modules/$(uname -r)/ext2.ko /lib/modules/$(uname -r)/
and repeat "./nupgrade.sh 1"

./nupgrade.sh 2
./nupgrade.sh 3
./nupgrade.sh 4
reboot
Your device will reboot when done, and you can select the partition you want to boot from from the bootmenu.

and I use the

./nupgrade.sh 0 it asks me whether I want to continue and I say yes then it immediately goes to TERMINATED and the root again.
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#5
You need to know how to partition the card and down load needed tools first:

read this and do step by step.
 
Posts: 7 | Thanked: 0 times | Joined on Feb 2009
#6
Actually thats the tutorial I was using. I followed it step by step but let me flash and I will try again.
 
Posts: 263 | Thanked: 77 times | Joined on Jan 2009 @ Sigtuna, Sweden
#7
In case the results matter more than doing it yourself,
try penguinbait's console tools.

They partition, format, clone, install bootmenu.
And there is a nice backup tool for orig. or cloned system.

http://talk.maemo.org/showthread.php...=console+tools
 
Posts: 7 | Thanked: 0 times | Joined on Feb 2009
#8
here is what I'm currently getting

Target device: Internal Flash card, second partition (/dev/mmcblk0p2)
Using filesystem: ext2fs
Continue? (YES/no) : y
*** TERMINATING ***
Nokia-N810-43-7:/home/user/bin# ./nupgrade.sh 2


And I just might try the penguinbait tool because all I want is the results :-)
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:57.