RasPi: General Chat Thread, How to clone the Raspi OS SD? in RasPi: Share; I want to make a back-up copy of my standard distro, on a 4 GBy SD.
I'm trying to use ...
23rd August 2013, 06:38 AM #1
- Rep Power
How to clone the Raspi OS SD?
I want to make a back-up copy of my standard distro, on a 4 GBy SD.
I'm trying to use parted on Ubuntu 12.04 (which I use for everything else).
parted takes a copy of the FAT16 boot partition.
parted fails (repeatedly) on the 2nd ext3 partition with "Can't read bitmap block 0 from image".
The sd works just fine in the pi.
I'm no expert at all about what's iunder the hood in partitioning.
Cananyone advise on what is going wrong here, perhaps how to get around it (different software?).
IDG Tech News
23rd August 2013, 07:31 AM #2
Personally, once I've set it up like I want it, I use win32diskimager to "read" a copy to a backup folder in windows, not sure if this is what you are trying to achieve.
23rd August 2013, 08:17 AM #3
dd if=/dev/SDDEVICENAME of=/tmp/sdcard.img bs=16M
just use dd to make an image
then dd to put the image on another sdcard
dd if=/tmp/sdcard.img of=/dev/SDDEVICENAME bs=16M
of and if just mean input file and output file.
where i have SDDEVICENAME you need to get the device name on your system of the sd card be sure of this before you start
hint: sda is probably your main hard disk not the sd card.
if you do
with both the sd card in and not in you may be able to see a "file" in the /dev directory which dissappears with when the sd card is not in
on mine in /dev/mmc0
make sure you choose the disk not the parition i.e. /dev/mmc0 not /dev/mmc0p0
hope that makes sense and apologies if you knew about the device names already.
31st August 2013, 02:21 AM #4
- Rep Power
Thanks, the dd worked fine!
Last Post: 16th October 2007, 12:19 PM
By goodhead in forum Windows
Last Post: 23rd February 2007, 01:49 PM
By tarquel in forum Windows
Last Post: 24th October 2006, 09:53 AM
By MrDylan in forum Windows
Last Post: 12th April 2006, 12:55 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread