Raspberry PI lessons

How to clone sd card from another sd card

Unmount the card before cloning by running:

(replace sdd1 to your sd card’s name).

umount /dev/sdd1

To check the name of sd card:

sudo fdisk -l

This is the command to copy to sd card.

dd bs=4M if=2016-09-23-raspbian-jessie.img of=/dev/sdd

First we will copy the content of first image to local directory by running:

dd if=/dev/sdc of=sdimage.img bs=4M

Then copy the image to 2nd sd card.

dd if=sdimage.img of=/dev/sdc bs=4M
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s