![]() |
Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
1 Attachment(s)
Worked on 1st shot :)
Absolute requirement for this instructions: you got to know how to flash your tablet if you scr@w up. YMMV, here we go: Edit: 1/28/09 : There is a misconception that the following exercise to reclone got to be repeat for every single re-clone. NO. You only have to do it once, ONLY ONCE. Once you succeed, the next time you want a clone, just issue one line ./nupgrade.sh wipe and that is it. And it succeed 100 % if re-partition is NOT involved. I just helped a colleague to make a clone from scratch, took 30 min following my own recipe. After it has been, he wanted to make some change to the installed programs, I recloned the whole thing by issuing one command line, ./nupgrade.sh wipe, and the whole thing finished in 3 minutes, even before he finished his compliments about the work. 1) http://www.internettablettalk.com/fo...e+simplified87, thread #292 and #347 just for your reading pleasure 2) install rootsh to gainroot, ApManager>Browse Installable Apps>All>rootsh 3) install wget sudo gainroot apt-get install wget 4) install e2fsprogs package, app manager>Tools>app catalog...>new Web address: http://repository.maemo.org/ Distribution: bora Components: free non-free OK>close>exit app manager. You HAVE to exit app manager to proceed. sudo gainroot apt-get install e2fsprogs exit 5) partition >500MB on 2G internal SD (the one has to open the back plate of your N800 for access, NOT the kickstand SD card). If you have a lot a lot of progs installed, you may need to make this partition even bigger than 500MB. If error message, continue to proceed, sometimes the umount is NOT necessary, and uncheck the swap memory, Controlpanel>Memory>Virtual uncheck. sudo gainroot umount /dev/mmcblk0p1 (numeral zero and numeral one) sfdisk /dev/mmcblk0 -uM /dev/mmcblk0p1: 0,1400,0C (substitute C with 6 for fat16 partition) /dev/mmcblk0p2: ,,, /dev/mmcblk0p3: /dev/mmcblk0p4: reboot sudo gainroot mkdosfs /dev/mmcblk0p1 6) install boot menu, http://www.internettablettalk.com/fo...ad.php?t=22771 7) This is for a 2G card internal SD with the above partitions on N800, see this for various different partitions, http://www.internettablettalk.com/fo...ified87&page=5, thread #49; follow http://www.internettablettalk.com/fo...e+simplified87, thread #292, or ----------------------------------------------------------- As user "user" 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 ~/bin ./nupgrade.sh wipe "Using...ext2fs Continue? (YES/no) : " YES it runs for 5+ minutes and ends up with ... Committing updates and Unmounting filesystems Done /home/user/bin # No error messages. Done. ================================================== Edit: For ext SD, remove your internal SD and leave only external SD, the .nupgrade.sh will find the external SD and install without problem. For N810, have ONLY fat partition on int SD will do the trick. Upon partition, you do have to carefully change mmcblk0 to mmcblk1 if intend to put on ext SD. ================================================== = check with diskusage that you have >256MB on rootfs; see pic; done with partition /dev/mmcblk0p1: 0,1200,06 Now on top of my 33 installed programs, I still have 416.8 MB space to install MORE programs. How about yours :) ? For your reading pleasure, http://www.internettablettalk.com/fo...e+simplified87 original Milhouse clone, threads #292,#347 and #49 for partition info on various size cards http://www.internettablettalk.com/fo...ight=partition complete clone instructions http://www.internettablettalk.com/fo...ad.php?t=25673 upgrade to 5.2008.43-7 http://www.internettablettalk.com/fo...ad.php?t=22771 bootmenu And all PB's stuff, in particular, http://www.internettablettalk.com/fo...ad.php?t=25714 Enjoy, bun ________________________ N810/5.2008.43-7 w SD boot |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Stuck in a clone with chinook and it boots with no problem. For those want to keep chinook and hesitate about upgrade, you can have the best of both world: 5.2008.43-7 on internal flash and dual boot with chinook on SD.
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=bunanson;252212]Worked on 1st shot :)
sudo gainroot umount /dev/mmcblk0p1 I got the error message: /bin/sh: unmount: not found Thanks |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=bunanson;252212]Worked on 1st shot :)
sudo gainroot umount /dev/mmcblk0p1 I got the error message: /bin/sh: unmount: not found Thanks |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
"5) partition >400MB on 2G internal SD (the one has to open the back plate of your N810 for access, NOT the kickstand SD card)"
I didn't think that you could access or change the internal N810 memory card. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=jhford;252293]
Quote:
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=bunanson;252212]Worked on 1st shot :)
sfdisk /dev/mmcblk0p1 -uM Error message: "Checking that no-one is using this disk right now... BLKRRPART: Invalid argument OK Warning: start=1 - this looks like a partition rather than the entire disk. Using fdisk on it is probably meaningless. (Use the --force option if you really want this)" Now what? Thanks |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=jhford;252303]
Quote:
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=jhford;252358]
Quote:
should be sfdisk, not fdisk bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
A little help, please? :)
I'm having a problem doing the sfdisk. It gives me this error: BLKRRPART: Invalid argument OK Warning: start=63 - this looks like a partition rather than the entire disk. Using fdisk on it is probably meaningless. (Use the --force option if you really want this.) (Edit) Looks like someone else just had the same problem, heh. In any case, I am using sfdisk, but it keeps telling me that "fdisk" part. Also, tried umount again, and it's telling me that's also invalid. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=bunanson;252212]
umount /dev/mmcblk0p1 Sorry. I originally spelled "umount" as "unmount." Did it right this time. However, "cannot umount /media/mmc2: Device or resource busy" |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
[QUOTE=jhford;252371]
Quote:
Step 1: Unmount the mmc/sd Since your already root in an xterm (right???) we are going to "unmount" the card. Everything in linux is a file, harddrives, soundcards, your mmc/sd.. all files. Unix "mounts" certain devices to be seen in different locations and to make them accessible. How ever we want to make major changes to that card, so we don't want the OS controlling it. _ umount /dev/mmcblk0p1 or umount /media/mmc2 Now to explain what those mean. umount is the command that removes a mounted location from the system. /dev/mmcblk0p1 is the hardware device file for the internal card partition 1 mmcblk0 == internal card mmcblk1 == external card p1 == partition 1;p2 == partition 2;etc If you are in the dir anywhere, or maybe have extended memory running on the card it won't unmount.. stop playing music, cd out of the dir, turn off your extended virtual memory.. try again. stole from http://schmots.blogspot.com/ bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
How big is your card? if it is bigger than some size, you substitute numeral 6 with 'C', to change partition from fat16 to fat32. bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
I can do the unmount, but I still get the error message when I try to sfdisk. It says it's "meaningless". If I try to do the next step, I get "permission denied" even though I am root.
How big is your card? if it is bigger than some size, you substitute numeral 6 with 'C', to change partition from fat16 to fat32. It's 2 gigs. I had to reformat it earlier, so I don't know if I'm still having problems with it (I shouldn't be). It's formatted as FAT right now. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
and reboot. bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
I umounted OK, but I can't sfdisk. I get the same "...using fdisk on it is probably meaningless..."
I unchecked virtual memory and it's no longer even checkable. I have an 810 with an 8GB external card. I'm running 4.2008.36-5 |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
Quote:
It's strange; in the past, I've done the clone with an 100% success rate, so I don't know what I'm doing wrong now. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
I am not sure what is keeping your device 'mounted'. Some guru please jump in? bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
That explains. mmcblk0 is internal mmcblk1 is external so, my example will get your internal card on the N810 partition, if successful. Is that what you want to do? bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Is there anything that I can do?
|
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
See if it makes any difference, try this instructions, http://examplified.net/guide/Nokia_7...ting_from_MMC/
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
|
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
[Edit] And again, I get "invalid argument". I'm ready to tear out my hair. Why can't I unmount? Maybe this SD card is corrupt. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
A. In most instances this step is unnecessary; so, at least if you don't have a card reader or Windows, skip it and see if the process turns out OK anyway. B. Download and install the Panasonic SD Memory Card Formatting Software into your Windows computer. C. Place your SD Card in a card reader. D. Use the Panasonic formatter to format the card. Select the options for FULL Erase ON and for Format Size Adjustment OFF. (It doesn't matter if the formatter reports that it can't use the Erase function.) This low-level formatting takes about 10 minutes. We will get it done! Just being systematic :) bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
Checking that no-one is using this disk right now... BLKRRPART: Invalid argument OK Warning: start=1 - this looks like a partition rather than the entire disk. Using fdisk on it is probably meaningless. (Use the --force option if you really want this) Suggestions? Thanks |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
The partition command is wrong, me bad. It should be
sfdisk /dev/mmcblk0 -uM The 'p1' is NOT supposed to be there. bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
I fine-tuned my tablet, threw away some progs that I dont like and made some minor setting changes, and cloned another 4G SD disk by just one command: ./nupgrade.sh wipe. That is the beauty of this, once you did it, the rest use only one command, no more dl, wget etc.
bun __________________________________ N800/5.2008.43-7 dual boot with chinook |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
|
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
With a SD adapter, I cloned the fine-tuned N800 onto a miniSD and pumped it into my N810. Now my N810 has the same User interface and settings as my N800. Again, the cloning needs to do is, partitions and then ./nupgrade.sh wipe. and that is all.
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Hello All.
Am stuck please help..... I pasted my last successful step. ????? Should 0p2, 0p3 and 0p4 be partition also?????? Thanks +++++++++++++++++++++++++++++++++++ Nokia-N810-43-7:~# sfdisk /dev/mmcblk0 -uM Checking that no-one is using this disk right now ... OK Disk /dev/mmcblk0: 61440 cylinders, 4 heads, 16 sectors/track Old situation: Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End MiB #blocks Id System /dev/mmcblk0p1 0+ 1919 1920- 1966072 b W95 FAT32 /dev/mmcblk0p2 0 - 0 0 0 Empty /dev/mmcblk0p3 0 - 0 0 0 Empty /dev/mmcblk0p4 0 - 0 0 0 Empty Input in the following format; absent fields get a default value. <start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s> Usually you only need to specify <start> and <size> (and perhaps <type>). /dev/mmcblk0p1 : ++++++++++++++++++++++++++++++++++++ This is what I get when I run the mkdosfs command, but my umount command seem to run fine above. Please Help..Thanks. >> Nokia-N810-43-7:~# mkdosfs /dev/mmcblk0p1 mkdosfs 2.11 (12 Mar 2005) mkdosfs: /dev/mmcblk0p1 contains a mounted file system. --------- |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
figured it out.
but for some reason my copy copied to my flash drive. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
ok...success. but i don't think the clone was copied to my int. mem. here is what my last step look like: ======================================= Nokia-N810-43-7:~/bin# ./nupgrade.sh wipe Target device: Internal Flash card, second partition (/dev/mmcblk0p2) Using filesystem: ext2fs Continue? (YES/no) : ======================================== shouldn't the target device be int. SD card or something? and when I installed a app, my device memory drops. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
where is the clone copied to? Booting successful?
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
its booting ok from the int mem.
but when I install apps my flash memory decrease. I would like my apps to be installed on the int memory. |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Quote:
bun |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
that's what happenning.
when i first tried it.....i made a mistake and cloned my OS to my int flash and in the middle of it ran out-off-space. when tried the second time the right way this is what I got. booting from immc2 but my apps are being installed on my int flash. if i uninstall a app my int flash memory in control panel change. is there a command to check this? |
Re: Step by step: a complete package for upgrade to 5.2008.43-7, bootmenu and clone
Use Diskusage to look at rootfs, it should be the size of your partition, if you boot up SD successfully.
xterm cat /proc/partitions , i booted from ext SD and my size is 604 MB bun |
All times are GMT. The time now is 11:15. |
vBulletin® Version 3.8.8