On 06/08/2015 09:59 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
Can someone tell me the proper command to clone an SD card?

I am working with the RPI 2B and I would like to store a backup on my
hard drive and be able to write it back to another SD card. I may not be
asking Google the right things but it hasn't helped ...

You could use something like Clonezilla. On the flip side, to get an
EXACT image, as root:

        # dd if=/dev/sdX of=/place/to/save/image.img bs=1M

where "/dev/sdX" is the raw device of the WHOLE SD card (NOT a partition
such as "/dev/sda3").

To put on a new, identical SD card, as root:

        # dd if=/place/to/save/image.img of=/dev/sdaX bs=1M

again where "/dev/sdX" is the raw device of the WHOLE SD card. "dd" is
your friend.

BTW, this should be virtually identical to the way you created the
bootable SD card in the beginning, not so? :-)
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-     Blessed be the peacekeepers, for they shall be shot at from    -
-                            both sides.                             -
-                                            -- A.M. Greeley         -
----------------------------------------------------------------------
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to