maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   How can I grab a binary image of my entire MMC2 card that's 4 gigs? (https://talk.maemo.org/showthread.php?t=84967)

Addison 2012-06-19 03:35

How can I grab a binary image of my entire MMC2 card that's 4 gigs?
 
I'm booting from SD card and would like to make a back up of the entire thing on my computer in case anything gets corrupted.

I'm using Windows XP.

Thanks. :)

michaaa62 2012-06-19 05:37

Re: How can I grab a binary image of my entire MMC2 card that's 4 gigs?
 
Just use
Code:

dd if=/dev/mmcblk1 of=/home/user/MyDocs/some_image_part_one count=2000000 bs=1024
dd if=/dev/mmcblk1 of=/home/user/MyDocs/some_image_part_two seek=2000000 bs=1024

Copy the two files to your XP box.

EDIT: The above code are just two line, do not know why the first code line is spread about those two lines.

ajack 2012-06-19 06:16

Re: How can I grab a binary image of my entire MMC2 card that's 4 gigs?
 
Quote:

Originally Posted by michaaa62 (Post 1224015)
Just use
Code:

dd if=/dev/mmcblk1 of=/home/user/MyDocs/some_image_part_one count=2000000 bs=1024
dd if=/dev/mmcblk1 of=/home/user/MyDocs/some_image_part_two seek=2000000 bs=1024

Copy the two files to your XP box.

EDIT: The above code are just two line, do not know why the first code line is spread about those two lines.

But you need to "umount" before the dd to prevent corruptions? Plus I think it's better to shut down the N900 properly, remove the microSD card out and copy it from a reader. Just what tool to use on Windows XP is the question as I myself use linux and would use the "dd" tool on it.


All times are GMT. The time now is 12:31.

vBulletin® Version 3.8.8