Copying Whole Linux Systems

Discussion in 'General Linux' started by DevynCJohnson, Feb 2, 2014.

  1. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Messages:
    1,208
    Likes Received:
    1,017
    Trophy Points:
    113
    Many people ask or wonder about copying a whole GNU/Linux OS from one storage unit to another. For those of you wanting to do that, whether the storage unit is a magnetic hard-drive or an SD-card, try Clonezilla (http://clonezilla.org/).

    Mitt Green likes this.
  2. Videodrome

    Videodrome Active Member

    Messages:
    176
    Likes Received:
    72
    Trophy Points:
    28
    Interesting. Can this work if you have a Linux installed on different partitions?
  3. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Messages:
    1,208
    Likes Received:
    1,017
    Trophy Points:
    113
    Yes, you can copy individual partitions.
  4. Videodrome

    Videodrome Active Member

    Messages:
    176
    Likes Received:
    72
    Trophy Points:
    28
    Okay cool.
  5. dmilunus

    dmilunus New Member

    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Whats wrong with dd?
  6. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Messages:
    1,208
    Likes Received:
    1,017
    Trophy Points:
    113
    Does dd handle actively changing partitions well? With files being changed and the system being active, it is easier and better to use Clonezilla which runs off of a liveCD.
  7. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,205
    Likes Received:
    405
    Trophy Points:
    83
    dd is great for EXACT copies of partitions to other devices. BUT if you want to copy from a smaller driver to a larger one or vice versa Clonezilla is best.
    Yesyesloud likes this.
  8. GrumpyOldMan

    GrumpyOldMan Active Member

    Messages:
    117
    Likes Received:
    41
    Trophy Points:
    28
    dd does two things really well: Make exact copies of partitions, and make exact copies of entire disks. It does other stuff as well. If you dd from /dev/random to /dev/sdb for example, you'll completely wipe sdb.

    However, when using dd to copy partitions/disks, it's generally easiest to copy like sizes.

Share This Page