Page 1 of 1

Clone sd card

Posted: Fri Jun 08, 2012 8:47 am
by Tampepper
After succesfully getting HDMI and sound working on RasPi, I would like to make a clone of my SD card for back up in windows
Is there a piece of software to clone a sd card ?

Re: Clone sd card

Posted: Fri Jun 08, 2012 12:40 pm
by texy
Win32DiskImager

You can use this free program to either write to an SD card, or read from an SD card. I use it to take a snapshot before I do any major
work on the system.
Hope this helps,
Texy

Re: Clone sd card

Posted: Fri Jun 08, 2012 12:43 pm
by markysoft
If you are on windows you can use the win32DiskImager.exe to read as well as write cards.

Choose a new file name from the dialogue, then click the 'read' button and it should back up the card to the file.

Edit: hah, 3 seconds too late!

Re: Clone sd card

Posted: Fri Jun 08, 2012 1:03 pm
by texy
Lol. I'm always doing it. It took me 5 minutes to remember exactly which imager I was actually
talking about.
Texy

Re: Clone sd card

Posted: Fri Jun 08, 2012 1:28 pm
by Tampepper
My card shows two images
Kernel.img and Kernel_Emergency.img

Re: Clone sd card

Posted: Fri Jun 08, 2012 2:12 pm
by dtud2
Tampepper wrote:My card shows two images
Kernel.img and Kernel_Emergency.img
I asked this question, apparently Kernel_Emergency.img is never used, its there for you to copy over the original kernel if you need to revert changes.

Re: Clone sd card

Posted: Fri Jun 08, 2012 2:50 pm
by Ed Raket
And what would be the Linux program to easely "clone" the SD card? (noob proof :) )

Re: Clone sd card

Posted: Fri Jun 08, 2012 3:48 pm
by MarshallBanana
Ed Raket wrote:And what would be the Linux program to easely "clone" the SD card? (noob proof :) )
under linux you can just use the dd command (yes, the same you probably used to write the image *g*)

command would be something like

Code: Select all

dd bs=1M if=/dev/sdb of=/home/username/backups/pi-backup.img
if= is the devicename of you sd-card-slot (will probably be different on your system, after inserting a card in the slot at the end of

Code: Select all

dmesg
should show you the name)
of= here goes the path to the filename where you wanna store the image...

easy peasy ;-)

Re: Clone sd card

Posted: Fri Jun 08, 2012 5:36 pm
by Ed Raket
THX Marshall B, That sure looks easy enough! it looks like im returning to the "dos" day's, when i was really "in to" computing at the command line... Nice to be at it again! :)

Re: Clone sd card

Posted: Sat Jun 09, 2012 5:47 am
by Hronicaing
And what would be the Linux program to easely "clone" the SD card? (noob proof :) )

Re: Clone sd card

Posted: Sun Jun 10, 2012 10:01 am
by AndrewS
Tampepper wrote:My card shows two images
Kernel.img and Kernel_Emergency.img
Those are "kernel images" which are something very different to "SD card images". It's just an unfortunate coincidence that they both share the .img extension.
(the kernel images are actually contained as part of the filesystem inside the SD card image)