+ Post New Thread
Results 1 to 4 of 4
Raspberry Pi, Arduino & Other SBCs Thread, How to clone the Raspi OS SD? in Technical; I want to make a back-up copy of my standard distro, on a 4 GBy SD. I'm trying to use ...
  1. #1

    Join Date
    Aug 2013
    Location
    Boalsburg, PA
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question 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?).

    Thanks,
    --Grahame

  2. #2

    Join Date
    May 2010
    Posts
    1,155
    Thank Post
    113
    Thanked 104 Times in 79 Posts
    Rep Power
    52
    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.

  3. #3

    Join Date
    Mar 2013
    Location
    west sussex
    Posts
    519
    Thank Post
    74
    Thanked 26 Times in 26 Posts
    Rep Power
    15
    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

    cd /dev
    ls


    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.

  4. #4

    Join Date
    Aug 2013
    Location
    Boalsburg, PA
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks, the dd worked fine!
    --Grahame



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 16th October 2007, 12:19 PM
  2. Replies: 3
    Last Post: 23rd February 2007, 01:49 PM
  3. DC wipe - how to backup the users / AD etc?
    By tarquel in forum Windows
    Replies: 32
    Last Post: 24th October 2006, 09:53 AM
  4. Replies: 8
    Last Post: 12th April 2006, 12:55 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •