![]() |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
What should the size of the partition be? I had this issue too and after reformatting /proc/partitions is saying 1966080 mmcblk0 and 1966072 mmcblk0p1 but df says 1962236 for /media/mmc2. Is the small differences between these to be expected? Do others see the same figures?
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
I'm a newbie so can't say what is correct, but after formatting my card all my numbers are exactly the same as yours.
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Fanoush,
The above advise works well for copying files from a particular card. Can you advise on how to make a complete copy of mmc2 so that it includes not only files but the entire dual boot setup, preferences, kde, menu, apps, etc. I have tried several methods mentioned in other threads but none seem to copy everything. I'm trying to make a backup card in case I trash my current one when testing new scripts. It would be ideal if I can just set the backup card in mmc1 and make a mirror copy from mmc2. Any ideas or methods you have come across that work in duplicating the entire mmc2 dual boot structure with all the apps, preferences, menus, etc. TIA |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
The dual boot setup is not on the card, so that won't work; you always have to modify the initfs if it gets wiped. Other than that, dding the whole thing to a file, and thence to the backup card, is the simplest way, or alternatively, dd from one card straight onto the other (if you've got an N800, this can be done on the device booted into flash; otherwise, using a PC and SD -> HDD ->SD might be better).
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Benson
Thanks. Did not know that dual boot setup is not on the card. First what is dding? I've never seen that term and google brings up wedding. :) I would prefer dd? on my N800 to dding? card to card. I booted to flash. My next guess is go into root and type what? Once I do this I will be very happy. TIA |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
dding = using dd
If you have two SDs of identical capacity, Code:
dd if=/dev/mmcblk0 of=/dev/mmcblk1 |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Benson thanks.
How long should it take? Also do I add the ' bs=32768 ' after mmcblk1? Edit: Found online that you add bs=32768 after mmcblk1. Edit: Worked beautifully by adding the bs=32768. Took about 4 hours. |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Quote:
Quote:
Code:
dd if=/dev/mmcblk0 of=/media/mmc1/mmcblk0backup.bin Code:
dd if=/dev/mmcblk0 | gzip > /media/mmc1/mmcblk0backup.bin.gz Best would be to port partimage or similar tool to maemo. |
All times are GMT. The time now is 02:38. |
vBulletin® Version 3.8.8