View Single Post
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#16
yes. I did it with my 8G SDHC.

I cloned the OS from the internal 2G SD (mmc2 for N800) to the external 8G (mmc1).

1. You go through the procedure of creating partitions.

http://maemo.org/community/wiki/HowT..._your_MMC_card

I did:
sfdisk /dev/mmcblk1 -u M (( for the mmc1 in M bytes !!!)))
0, 6000,0C
6000,,
,,
.....
and

# mkdosfs /dev/mmcblk1p1
# shutdown -r now

# mke2fs /dev/mmcblk1p2
# shutdown -r now

(( note blk1 !!!!!)))

You should reserve more than 1.5G for the ext2 if you want to load KDE later on. I haven't!


2. Boot from internal flash (not mmc1 or mmc2!)

3. make sure mbcache.ko and ext2.o loaded if not then load them


"lsmod" for checking and
" insmode .../2.6.xx-ompa1.yyy"to load
for 2008OS xx is 21 yyy either mbcache,ko or ext2.o

4. back up the OS from mmc2 to mmc1 (as root you do)

umount /media/mmc2 (umount if not we can not mount /opt)
umount /opt
rm -rf /opt
mkdir /opt
mount /dev/mmcblk0p2 /opt
mount /dev/mmcblk0p1 /media/mmc2 (re-mount so we can copy into it! )
cd /opt
/home/user/bin/tar -zcvf /media/mmc2/xyz .
umount /floppy
rm -rf /floppy
mkdir /floppy
mount /dev/mmcblk1p2 /floppy
cd /floppy
/home/user/bin/tar -zxvf /media/mmc2/xyz

Note:
1. umount, rm, mkdir : I want a fresh directory for mounting
2. /home/user/bin/tar is the tar-gnu not the one supplied by the OS. It came from step 7.1 http://www.internettablettalk.com/fo...ead.php?t=8631
3. you should have enough space on the DOS partition of the internal SD!
And there you have the same OS as in your internal (mmc2) SD!

Hope this help !!!

Last edited by nhanquy; 2008-01-19 at 21:54.
 

The Following User Says Thank You to nhanquy For This Useful Post: