Copying Whole Linux Systems

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

  1. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Joined:
    May 21, 2013
    Messages:
    1,635
    Likes Received:
    1,284
    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

    Joined:
    Nov 17, 2013
    Messages:
    328
    Likes Received:
    132
    Interesting. Can this work if you have a Linux installed on different partitions?
     
  3. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Joined:
    May 21, 2013
    Messages:
    1,635
    Likes Received:
    1,284
    Yes, you can copy individual partitions.
     
  4. Videodrome

    Videodrome Active Member

    Joined:
    Nov 17, 2013
    Messages:
    328
    Likes Received:
    132
    Okay cool.
     
  5. dmilunus

    dmilunus New Member

    Joined:
    Feb 2, 2014
    Messages:
    2
    Likes Received:
    1
    Whats wrong with dd?
     
  6. DevynCJohnson

    DevynCJohnson Well-Known Member Staff Member Staff Writer

    Joined:
    May 21, 2013
    Messages:
    1,635
    Likes Received:
    1,284
    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

    Joined:
    Aug 4, 2012
    Messages:
    1,868
    Likes Received:
    659
    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

    Joined:
    Oct 30, 2013
    Messages:
    220
    Likes Received:
    62
    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