Re: Clone SD card -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/08/2015 10:06 AM, Rick Stevens wrote:
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

OOPS! Should be

	# dd if=/place/to/save/image.img of=/dev/sdX 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? :-)

(gotta be a Monday!)
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-   I haven't lost my mind.  It's backed up on tape somewhere, but   -
-                       probably not recoverable.                    -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux