Skip to content

Instantly share code, notes, and snippets.

@tranthamp
Last active December 14, 2015 07:39
Show Gist options
  • Save tranthamp/5052573 to your computer and use it in GitHub Desktop.
Save tranthamp/5052573 to your computer and use it in GitHub Desktop.
Create SD card image
// Create image from first 1.0 GB of data on the sd card
sudo dd if=/dev/sdd of=./my.img bs=1024 count=1048576
// Compress the image
zip my-image.zip my.img
// Use win32diskimager from this location to write to a new sd card under windows
http://sourceforge.net/projects/win32diskimager/files/latest/download?source=navbar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment