Reply
Thread Tools
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#1
I can cloned/booted from mmc for 4G/2G/1G SD cards, but failed on 8G card, so does 3 more postings failed on 8G cards. Wondering if anybody has done it and working? If yes, mind to post your instructions? Thanks.


I followed this instructions, http://www.internettablettalk.com/fo...ead.php?t=8631, cloned and booted from 1G/2G/4G SDHC, but not 8G. 1G/2G/4G cloned and exited without error statements and subsequently able to boot. 8G exit cloning with err statements and, of course, failed to boot.


TIA,

bun
 

The Following User Says Thank You to bunanson For This Useful Post:
Posts: 16 | Thanked: 1 time | Joined on Jun 2007
#2
Yes, I am booting up off a Transcend 8gb Class 6 SDHc card, but I did it differently. I had previously created bootable 4 gb mmc card. When I got the 8 gb, I created partitions of the same size with an external sandisk reader on my ubuntu desktop. I have the model sddr-99 v4. I then used dd to make images of the partitions on the boot and root partitions on the 4 gb card and copied them onto the 8 gb using dd as well. While I was at it created a swap partition on the 8 gb card . I used tar to make a backup of the data on the fat16 partition. This is what the partitions look like:

Disk /dev/sdb: 8068 MB, 8068268032 bytes
233 heads, 20 sectors/track, 3381 cylinders
Units = cylinders of 4660 * 512 = 2385920 bytes
Disk identifier: 0x0004650f

Device Boot Start End Blocks Id System
/dev/sdb1 2 2060 4797470 6 FAT16
/dev/sdb2 2061 3007 2206510 83 Linux
/dev/sdb3 3008 3381 871420 82 Linux swap / Solaris
/dev/sdb4 1 1 2320 83 Linux

Partition table entries are not in disk order

Command (m for help):

Its important that the partitions are created that order.
The swap partition is optional.
Someone had previously posted instructions on how to use a swap partition on the n800, so I followed that.

I found it easier to partition and format the card from the desktop, then from the N800. It is important that the partitions are the same size as the image. If you make a mistake, you can always do it over. I played with fdisk until the partitons matched the layout on the 4 gb card. When I was done, I just stuck the 8 gb card into the internal slot and it booted up.

This is the result of the free command:

NOKIA:~ ROOT#free
total used free shared buffers
Mem: 126812 99072 27740 0 1848
Swap: 871412 0 871412
Total: 998224 99072 899152
NOKIA:~ ROOT#

This is what /sbin/sfdisk reports on the N800:

NOKIA:~ ROOT#/sbin/sfdisk --no-reread /dev/mmcblk0

Disk /dev/mmcblk0: 246224 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/233/20 (instead of 246224/4/16).
For this listing I'll assume that geometry.
Units = cylinders of 2385920 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 2059 2059 4797470 6 FAT16
/dev/mmcblk0p2 2060 3006 947 2206510 83 Linux
/dev/mmcblk0p3 3007 3380 374 871420 82 Linux swap / Solaris
/dev/mmcblk0p4 0+ 0 1- 2320 83 Linux
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 the output of df:

NOKIA:~ ROOT#df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 2048 1912 136 93% /mnt/initfs
none 512 108 404 21% /mnt/initfs/tmp
/dev/mmcblk0p2 2173888 1281136 826560 61% /
none 512 108 404 21% /tmp
none 1024 32 992 3% /dev
tmpfs 1024 0 1024 0% /dev/shm
/dev/mmcblk0p1 4788088 1777760 3010328 37% /media/mmc2
/dev/mmcblk1p1 7870976 5162400 2708576 66% /media/mmc1
NOKIA:~ ROOT#


I'm using another 8 gb card in the external slot.
 

The Following User Says Thank You to spjndizzy For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#3
Is there anyway you did it this way? Have you tried Milhouse's script? Just curious,


bun
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#4
I only have 2 paritions: vfat and ext2.
Attached Images
 
 
Posts: 16 | Thanked: 1 time | Joined on Jun 2007
#5
Originally Posted by bunanson View Post
Is there anyway you did it this way? Have you tried Milhouse's script? Just curious,


bun
I'm not familiar with Millhouse's script. Basically I had a 4 gb flash running OS2008 and I wanted to duplicate it onto a 8 gb flash, without reinstalling anything, and with the excess space used in the fat16 partition. I did it this way on my own. The swap partition was an added feature.
 
Posts: 551 | Thanked: 46 times | Joined on Oct 2007
#6
hey bro check this thread:

http://www.internettablettalk.com/fo...761#post130761

thanks for all your help. lol, dan
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:02.