![]() |
Able to clone 2008Os to 2G but not 8G SDHC
As suggested by Milhouse, started a new thread.
A brief summary about what happened. My N800 was happily running 2.2007.50-2 4G/4G int memory boot. I decided to clone the 2008Os to have MMC boot, following this instructions, http://www.internettablettalk.com/fo...ead.php?t=8631. I have used the above methods more than a dozen times and worked very well, from 2006 to 2007, reflash mulitple time when needed. This time, I was having problem with partition, upon end of partition, it flagged an error statement that "command re-reading partition failed, reboot before using mkdosfs....". This happened for both my 8G SDHC and 2G SD. Anyhow, I rebooted the N800 and finished with the 2G and it worked, it booted from the 2G SD. Now I repeated the procedure on the 8G, it failed to clone. Apparantly, all the format DOS and Debian worked, as checked with control panel/file manager and cat /proc/partitions. It is the cloning process failed. It cloned for the first few minutes, then abort because of "file not there, cannot open file/ directory...." ended with input/output error. Answers to the questions: 1) Yes, the .nupgrade.sh and TAR are in /home/user/bin. But the chmod command flagged with "operation not permitted" 2) Yes, I am root when running nupgrade.sh 3) I think you got me here, can remember exactly, but I think I was dl as root and now trying to chmod the file as 'user', I will try one more time.... 4) Yup, I remember I should not have to dl and chmod everytime, since my 2 G clone is fine, I should be able to skip this step. well, I will try one more time now... thanks bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
No luck, same results.
chmod flagged "Operation not permitted" upon cloning, it reported lots of "file directory not found, cannot open...." and finally stopped at /home/user/bin/tar: Error exit delayed from previous errors touch: /opt/CLONE-COPY; Input/output error Done Ls for /home/user/bin showed nupgrade.sh tar nupgrade.sh.1 tar.1 same results 3 x in a roll :( bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
I digged out a 1 G SD card, and partition into .3G and .7G, same error statement showed up, "command re-read partition failed, pls reboot before mkdosfs...." Anyhow, I followed thru exactly the same instructions, and it worked. So, now I have a 2G and 1G 2008Os boot sd card. The 8 G card still wont boot.
:( bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Now the picture is crystal clear:
All partition returned an error statment that "command re-read partition fail...." on N800 running 2.2007.50-2. And then upon follow Milhouse simplified instructions, 8G failed whereas 2G and 1G succeeded How come I am the only lucky guy spotted the error statement? Could some of you have any spare SD card, do a partition here, please? Despite the err statement, the SD cards all partition correctly. So the error statement is NOT warranted. Is there a bug? The 2G and 1G cards succeeded all the way and able to boot, while the 8G is not, this pointed to the SDHC kernel from the 2.2007.50-2, right? I have a 1G RSMMC card. does the N800 use RSMMC card? I would like to try........ 2.2007.50-2 N800 8G ext flash 2G boot ____________________________________ installed pgms becomeroot camera canola2 cityguide diskusage fmradio gizmo-project gpe gnumeric/calendar/filemanager laod applet maemo-mapper map mediabox mediastreamer mplayer omweather osso-xterm Pidgin IM podsync python2.5-runtime quiver rdesktop rtcomm-beta-installer simple-launcher simplemapper skype tutorial-home-applet ukmp videocenter bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Well, my theory about the SDHC kernal is wrong. I was able to clone 2008Os using Milhouse script, http://www.internettablettalk.com/fo...1635#post81635, to a 4G Adata SDHC card without problem. However, upon partition, same error message pops up, "re-read partition fail....." can somebody, please, confirm whether this the way the partition message read or something different in my system. Thanks,
____________________________ 2.2007.50-2 4G/8G/KDE MMC boot bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
|
Re: Able to clone 2008Os to 2G but not 8G SDHC
Muki: when you partition your card, does it flag an err message like what I have?
thanks bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
I think I'm having the same problem.
2008OS cloned to 4GB SDHC card worked without (too many) problems. 2008OS cloned to 16GB SDHC card - unable to boot from the card. Card is partitioned like this: Nokia-N800-50-2:~# sfdisk -lx Disk /dev/mmcblk0: 503680 cylinders, 4 heads, 16 sectors/track Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/mmcblk0p1 0+ 407679 407680- 13045759+ b W95 FAT32 /dev/mmcblk0p2 407680 503679 96000 3072000 83 Linux /dev/mmcblk0p3 0 - 0 0 0 Empty /dev/mmcblk0p4 0 - 0 0 0 Empty I suspect that the boot menu process cant find the 2nd partition at such a high starting block... (I could very well be wrong, it's a guess). Using the same card, if I partition the card so that there is a ~3GB ext2 partition first, and the remaining space is FAT32 the card *wiil* boot (however the /media/mmc2 is mounted as the first ext2 partition, not the FAT32 partition when booting from flash, the FAT32 partition is not mounted at all.) Would very much welcome anyone's thoughts. Thanks, Andy |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
Try to use sfdisk with -uM if it makes difference while partitioning or even try to partition and mkfs.ext2 on linux PC over USB. Also what happens when you boot from flash and then mount such partition later? Can you read it? You can even run as root Code:
chroot /mnt/initfs BTW since prices went down lately I have ordered 8GB class 6 SDHC card for my N800 so I will try this when I have it. |
Re: Able to clone 2008Os to 2G but not 8G SDHC
ah, now I have to show my ignorance! I can chroot /mnt/initfs but dont know how to try to mount mmcblk0p2 while there.
I've tried sfdisk -uM and that has the same results. Tomorrow I will boot up my gentoo PC and try partitioning and formatiing on there. Many thanks for your help. it is much appreciated. Good luck with your 8gb card. The price drop was what prompted getting a new card myself. Andy. |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
Code:
chroot /mnt/initfs |
Re: Able to clone 2008Os to 2G but not 8G SDHC
here's the xterm output:
Nokia-N800-50-2:/# insmod /lib/modules/2.6.21-omap1/mbcache.ko insmod: cannot insert `/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists Nokia-N800-50-2:/# insmod /lib/modules/2.6.21-omap1/ext2.ko insmod: cannot insert `/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists Nokia-N800-50-2:/# mount -t ext2 /dev/mmcblk0p2 /mnt/new_root Nokia-N800-50-2:/# ls -l /mnt/new_root drwxr-xr-x 2 root root 4096 Dec 11 15:41 bin drwxr-xr-x 2 root root 4096 Dec 11 15:26 boot drwxr-xr-x 2 root root 4096 Dec 11 15:26 cdrom drwxr-xr-x 3 root root 4096 Jan 1 1970 dev drwxr-xr-x 66 root root 4096 Jan 9 17:05 etc drwxr-xr-x 2 root root 4096 Dec 11 15:26 floppy drwxr-xr-x 3 root root 4096 Dec 11 15:41 home drwxr-xr-x 2 root root 4096 Dec 11 15:26 initrd drwxr-xr-x 6 root root 4096 Jan 9 17:05 lib drwx------ 2 root root 16384 Jan 17 17:02 lost+found drwxr-xr-x 5 root root 4096 Dec 19 11:32 media drwxr-xr-x 3 root root 4096 Jan 1 1970 mnt drwxr-xr-x 2 root root 4096 Dec 11 15:26 opt drwxr-xr-x 2 root root 4096 Dec 11 15:26 proc drwxr-xr-x 3 root root 4096 Dec 18 21:10 root drwxr-xr-x 2 root root 4096 Jan 9 17:05 sbin drwxr-xr-x 2 root root 4096 Dec 11 15:26 srv drwxr-xr-x 2 root root 4096 Dec 11 15:26 sys drwxr-xr-x 6 root root 4096 Jan 16 18:56 tar-temp drwxrwxrwt 2 root root 4096 Dec 11 15:26 tmp drwxr-xr-x 14 root root 4096 Dec 11 15:33 usr drwxr-xr-x 12 root root 4096 Jan 1 1970 var Nokia-N800-50-2:/# umount /mnt/new_root |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Looks normal to me.
|
Re: Able to clone 2008Os to 2G but not 8G SDHC
An update...
partitioned and formatted the card over USB from a linux PC, then on the n800 copied the OS over to the card. Results are the same, unable to boot from the mmc. :( Also tried partitioning the card with a ~4GB fat32 partition as mmcblk0p1 and the other ~12GB ext2 partition as mmcblk0p2. This also failed to boot. Thanks, Andy |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Not quite sure why, so far the two posts are both using 'ghost' to ghost copy a working OS to a 8G SD card, i.e., there is no report, so far, that the tablet able to clone 2008Os on an 8G card.
bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
OK. Am I the only guy doing it on the IT :D?
http://www.internettablettalk.com/fo...ad.php?t=15345 and the procedure: http://www.internettablettalk.com/fo...t=12227&page=2 |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Did you also copy image from a working mmc? So far, I have to say, not a soul has done it, i.e., using the tablet to clone 2008Os onto the Mmc/SD card. If somebody has done it, please post. I, myself, has not been able to do it.
bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
http://maemo.org/community/wiki/howt...from_mmc_card/ They worked just fine. Here is my sfdisk output: Disk /dev/mmcblk0: 246224 cylinders, 4 heads, 16 sectors/track Old situation: Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/mmcblk0p1 1 184668 184668 5909376 6 FAT16 /dev/mmcblk0p2 184669 246223 61555 1969760 83 Linux /dev/mmcblk0p3 0+ 0 1- 31+ 83 Linux /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 : and here is the output of df: Nokia-N800-50-2:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/mmcblk0p2 2048 1912 136 93% /mnt/initfs none 512 88 424 17% /mnt/initfs/tmp /dev/mmcblk0p2 1938800 298220 1542092 16% / none 512 88 424 17% /tmp none 1024 20 1004 2% /dev tmpfs 1024 0 1024 0% /dev/shm /dev/mmcblk0p1 5897840 4 5897836 0% /media/mmc2 I am using the Transcend Class 6 8gb SDHC I partitioned the card according to the link on the above page. I did update my kernel from this page, but wouldn't think that it would have made any difference, but you never know. http://intr.overt.org/blog/?p=65 Update: I neglected to mention, that I used the tar program that came with OS2008 instead of downloadng GNUTAR as per the instructions. Also, after copying the root files to the mmc card, I always do a 'sync' to make sure the file system buffers are flushed to the device before unmounting the partition. I noticed that writes to these 8gb transcends are very slow and tar returns to the command prompt while the data is still being written to the card. sync doesn't return to the command prompt until the fs buffers are empty. |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
I have done exactly the same as yours, except the Langdale's part. Unless my SD card is defective, I think update the kernel maybe the key. TIA, bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Just like updating the firmware with flasher, you connect the usb cable to the N800 with power off and the external power supply disconnected.
Type this, sudo ./flasher-3.0-static -f -k mmc-kernel-2.2008.50.bin and plugin the eternal power supply. |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
Just let the IT work! Walk away from it ! |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Got new Transcend 8GB, partitioned to one >6GB fat32 + 3x512MB ext2 (4 partitions in total), cloned second partition from old card to new one via tar and it boots fine. Will try booting from other 2 linux partitions later.
|
Re: Able to clone 2008Os to 2G but not 8G SDHC
how DIFFICULT to "cloned from old card"? Can I try? I am still waiting for my 8G replacement and I also ordered a 16G for $65 from newegg.com. I think I would try to clone from my working 4G card too. I do have a Linux box, the ASUS EEE, TIA,
bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC...problem now solved
Happy ending, I did it, it now boots from 8G SDHC int mmc2. Thanks for nhanquy, Genius Fanoush and Wonder Milhouse. Nhanquy PM me and made me tried it :o, and it worked.
Problem, Adata 8 G SDHC card requires a low level format before Milhouse's script (Mil, mind to edit your instructions so that user dont have to kick and scream to have it succeeded? Thanks) Instructions for those who already have succeeded 1G or 2G OS clones but stuck on 8G or 16G, i.e., you already have everything you needed but stuck on the last step, here are the steps (based on Milhouse script here, http://www.internettablettalk.com/fo...ead.php?t=8631) 1) low level format your 8G card (or 16G), http://www.internettablettalk.com/fo...t=10417&page=2, thread #15; http://panasonic.jp/support/global/c...formatter.html dl and install this on PC, the panasonic low level SD formatter (v2.0.0.2), then format your 8G card using option "Full erase ON" Format size adjustment "OFF", it will take more than 5 min to low level format a 8G card. Quick format will NOT work. 2) xterm/sudo gainroot umount /dev/mmcblk0p1 sfdisk /dev/mmcblk0 -uM /dev/mmcblk0p1: 0,7000,0C /dev/mmcblk0p2: ,,, /dev/mmcblk0p3: /dev/mmcblk0p4: reboot This gives you .9G/7G partition. Directly from Milhouse, http://www.internettablettalk.com/fo...1635#post81635, thread #49. Change above partition to suite your need. 3) xterm/sudo gainroot cd ~/bin ./nupgrade.sh 0, 1, 2, 3, 4 and that is ALL! enjoy Edit: 16G SDHC successful. My current system, 2007.50-2 16G boot/8G KDE/N800. This is for those still sitting on the fence about MMC boot: from diskUsage, /rootfs - used .5G Free - .9G for a total of 1.4G /mmc2 - used 0G Free - 14.7G for a total of 16G /mmc1 - used 7.8G Free - .1G for a total of 8G (sfdisk -uM first row: 0,14400,0C gave 1.4/14.7G, I think it is excess, I would recommend change that to 0,14900,0C to put more space back to storage. 1.4G app installation space may be a waste of space) .9G space for app installation is the major incentive for MMC boot. Using Milhouse scripts, I have successfully cloned/boot 2007.50-2 to 16G/8G/4G/2G/1G. Only the 16G/8G requires the low level format. The 4G/2G/1G goes stright with Milhouse's script. bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Bun - OK - After beating my head against the wall with an 8GB PQI card.... I popped in a 2GB... and presto. Easy as pie.
Tried the LLF on the 8GB card to no avail... (gave error message re: hdw did not support flash erase). Should I take additional steps to reformat? Anyone out there have Dual boot working on a PQI 8GB card? Thanks NATE |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Humm I think im having the same issues as you NATE card doesnt want to partition correctly does it (have PQI 8gb also) followed all the steps just doesnt help (gave up after 3 tries)
But will look into since another user is having same issue |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Binjinx - Makes me feel a bit better too to hear that you're out there. The preliminary and secondary steps seem to go fine, but then you go for that first reboot.... And it won't boot from the card.
It's wierd - tried the panasonic low level formatter they mention on the forum and no better results. It seems the partitions are created (as I noticed Windows would only read the FAT partition) but no go. As I said before, the 2GB kodak branded SD, worked so easy that I'm down to blaming the card.... I knew I should have gone for the ADATA card (I think I saved a couple bucks getting the PQI instead) NATE Anyone with a working 8GB PQI MMC boot?? Let us know how you got there!! |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
__________________________________________________ ____ Adata Turbo, 16G, succeeded after LLF, failed without LLF. Adata Turbo, 8G, succeeded after LLF, failed without LLF. Adata Turbo, 4G, succeeded without LLF Adata 4G, micro in mini adaptor, succeeded without LLF Dane-Elec, 4G, succeeded without LLF Kingston 4G, micro in mini adaptor, succeeded without LLF Patriot, class6, 16G succeeded without LLF (Dan) Patriot, 8G, succeeded without LLF (nhanquy PM) Sandisk??? Transcend class6, 8G, succeed without LLF (http://www.internettablettalk.com/fo...t=14637&page=2, #18; #22); worked for a while then die suddenly, suspect card problem, http://www.internettablettalk.com/fo...t=ghost&page=3, #21. __________________________________________________ _____ The above are all SDHC. Any card bigger than 2G are SDHC? I used mostly Milhouse script. I did try the Wiki by enterring commands one by one, http://maemo.org/community/wiki/howt...from_mmc_card/, no dice, same results, failed if no LLF. So far, 2G/Kingston and 1G/Adata have been straight clone, no LLF needed. __________________________________________________ _______ I dont have the panasonic LLF in front of me. I remember flash erase on/off does not matter, as long as it is NOT the quick format, i.e., a format takes 10+ minute is the one you should use. I also checked the table above, PQI has not been reported. So, you would be the first one :D. You can do 1G or 2G MMC boot, you would be able to do 16G after the LLF. BTW, the LLF should give a successful format message, not error message. I did it on a windowPC running Vista. Post back if question, bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Dan here.
If you would not mind a little assistance. I'm trying to dual boot from an A-Data 16gb sdhc card and I've done it successfully with Transcend cards in the past. I'm trying to spilt the card by partitioning 10gb for internal and 6gb for external. last time with Transcend I did 5gb internal and 11gb external successfully. I keep getting after doing sfdisk: "The command to re-read the partition table failed Reboot your system now, before using mkfs." "If you created or changed a Dos partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/foo7 bs=512 count=1 ( See fdisk(8).)" can you write out the no-reread command line or the sfdisk command line for me or refer me to where I can read up on this for n800. Google only brings up non n800 ways. I have used Panasonic low level reformat successfully. It goes through the entire nupgrade.sh steps successfully. I end up with only one partition, external with 5gb and no internal. Also I do: " umount /dev/mmcblk0p1 " Before command line " sfdisk /dev/mmcblk0 -uM ". I've also out of frustration tried: " umount /media/mmc2 ". When I originally did this process after the three( ,,, ) commas command the total storage copacity when would be correct. Now the total storage capacity is off by about 500mb after: " /dev/mmcblk0p2: ,,, ". Update: I tried with another card, so I know it's not the card. I reflash and did the whole process again and still end up with only 5gb on external. Very frustrated. Any help or guidance will be greatly appreciated. Thanks, Dan |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
Best is to open card door (or battery cover for internal N800 slot) before doing something with sfdisk or mkfs. Once door is opened system will try to unmount the card and will not touch the card so sfdisk or mkfs can be safely used and should work. Or you will see system dialog about card being locked when opening the door. If you see it, don't continue with sfdisk but close door and try to close applications or otherwise free the card and try again It is better to do the open door,sfdisk,mke2fs,mkdosfs,close door phase in one go without reboot (and without "The command to re-read the partition table failed" message of course) to avoid the card corrupted message from File Manager after reboot. Too bad this cannot be used for internal N810 card. |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
bun |
Re: Able to clone 2008Os to 2G but not 8G SDHC
"Anyone out there have Dual boot working on a PQI 8GB card?
Thanks NATE" No, I have the same problem with a PQI 4-gig sdhc card. I used the Panasonic utiility with the settings you mentioned, but didn't notice an error message. It just won't boot for me. |
Re: Able to clone 2008Os to 2G but not 8G SDHC
Quote:
Maybe Fanoush or any guru can explain WHY it is so unreliable/difficult for the tablet to do partition. And of course, there is the second question, WHY repeat the process several times, sometimes 2 sometimes 6, it will then get thru the partition process. I think partition is the root of the problem to ALL these different flavors of MMC boot problem. bun |
All times are GMT. The time now is 21:08. |
vBulletin® Version 3.8.8