![]() |
Re: Cloning OS to SD Card: Simplified instructions
N800 wuth OS2008.
uname -r returns 2.6.21-omap1 which seems right to me but I still got unable to locate mbcache.ko and carried on which trashed my partition because it was writing to itself. Ah well, I got it to work fine and thanks again for the brilliant script :) |
Re: Cloning OS to SD Card: Simplified instructions
Sorry if this has already been addressed, but I've been at this for the last 4 hours (it's 6.45 am now and I need to get ready for work).
Thus far, I have learned that before starting on step 7 of post #1 of this thread, one should partition the card first. sudo gainroot umount /media/mmc2 sfdisk /dev/mmcblk0 -uM 1,14000,0C ,,, reboot sudo gainroot umount /media/mmc2 mkdosfs /dev/mmcblk0p1 reboot sudo gainroot umount /media/mmc2 mke2fs /dev/mmcblk0p2 reboot sudo gainroot umount /media/mmc2 cd bin ./nupgrade.sh 0 yes ./nupgrade.sh 1 yes ./nupgrade.sh 2 yes ./nupgrade.sh 3 yes ./nupgrade.sh 4 yes reboot After all this, it's still not booting from the MMC. Did I go wrong with a step somewhere? |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
Also the 1st partition that is created is VFAT which has the code of "6", not "0C". For the second partition, try the line: 14001,, (Starts from 1 cylinder after the VFAT partition, fills rest of space & I think sfdisk assumes ext2fs is nothing is entered after the second comma) |
Re: Cloning OS to SD Card: Simplified instructions
dan, it looks like you managed to get it working. Could you share with us the exact steps, or did you, like me, end up applying so many fixes along the way that you lost track of the steps as well? :)
|
Re: Cloning OS to SD Card: Simplified instructions
I was able to do it with my 8GB cards. Only thing I noticed is that I would do:
sudo gainroot umount /media/mmc2 sfdisk /dev/mmcblk0 -uM 0,14000,0C <<<<< 14000,, <<<<<< ,, reboot sudo gainroot umount /media/mmc2 mkdosfs /dev/mmcblk0p1 reboot sudo gainroot umount /media/mmc2 mke2fs /dev/mmcblk0p2 reboot |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
|
Re: Cloning OS to SD Card: Simplified instructions
got the SDHC fixed, and it's now a FAT16. What's an optimal file system to use? FAT16? FAT32? FAT (LBA?)
This card is used for virtual memory, MP3s, pictures, and movies |
Re: Cloning OS to SD Card: Simplified instructions
Quote:
|
Re: Cloning OS to SD Card: Simplified instructions
Quote:
I found that post by him. |
Re: Cloning OS to SD Card: Simplified instructions
I think I found part of the problem.
After partitioning, i rebooted, then sudo gainroot sfdisk -ls and got the following results: /home/user # sfdisk -ls /dev/mmcblk0: 15694336 Disk /dev/mmcblk0: 490448 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 32 448031 448000 14336000 c W95 FAT32 (LBA) /dev/mmcblk0p2 0+ 31 32- 1023+ 83 Linux /dev/mmcblk0p3 448032 490447 42416 1357312 83 Linux /dev/mmcblk0p4 0 - 0 0 0 Empty total: 15694336 blocks For some strange reason, the 1GB I allocated for the Linux partition for the bootspace ended up being mmcblk0p3 instead of mmcblk0p2 as I thought. How do I designate p03 to be the default bootspace? |
All times are GMT. The time now is 11:10. |
vBulletin® Version 3.8.8