Difference between revisions of "Disk Images"

From Tomelec
Jump to: navigation, search
(Created page with "== Create a compressed image of a disk == The whole disk (SD-card) is read and piped through ''gzip'' for compression. <nowiki>dd if=/dev/mmcblk0 bs=1M | gzip --stdout > ./image...")
 
Line 1: Line 1:
 
== Create a compressed image of a disk ==
 
== Create a compressed image of a disk ==
The whole disk (SD-card) is read and piped through ''gzip'' for compression.
+
The whole disk (SD-card) is read, piped through ''gzip'' for compression and written to the ouput file ''image.gz''.
 
  <nowiki>dd if=/dev/mmcblk0 bs=1M | gzip --stdout > ./image.gz</nowiki>
 
  <nowiki>dd if=/dev/mmcblk0 bs=1M | gzip --stdout > ./image.gz</nowiki>

Revision as of 17:01, 20 September 2011

Create a compressed image of a disk

The whole disk (SD-card) is read, piped through gzip for compression and written to the ouput file image.gz.

dd if=/dev/mmcblk0 bs=1M | gzip --stdout > ./image.gz