Difference between revisions of "Sdcard imaging"
Jump to navigation
Jump to search
(Created page with "To create an image of your sdcard, insert the card into an appropriate card reader attached to your system. On most (linux) systems, the card will show up as /dev/sdX. But on...") |
|||
| Line 5: | Line 5: | ||
To create a backup image of the sdcard and compress on the fly, use the following example: | To create a backup image of the sdcard and compress on the fly, use the following example: | ||
$ sudo dd if=/dev/sdX bs=4M | gzip > /path/to/your/file/sdcard-backup.img.gz | $ sudo dd if=/dev/sdX bs=4M | gzip > /path/to/your/file/sdcard-backup.img.gz | ||
| + | To push this image onto a different sdcard, use this example: | ||
| + | $ | ||
Revision as of 14:56, 9 July 2017
To create an image of your sdcard, insert the card into an appropriate card reader attached to your system.
On most (linux) systems, the card will show up as /dev/sdX. But on some systems such as ubuntu, it will be /dev/mmcblkX.
To create a backup image of the sdcard and compress on the fly, use the following example:
$ sudo dd if=/dev/sdX bs=4M | gzip > /path/to/your/file/sdcard-backup.img.gz
To push this image onto a different sdcard, use this example:
$