Cloning a hard drive using the Ubuntu live CD #4

In this video I show you how to easily clone a hard drive. to do this you’ll need a live ubuntu CD and a second hard drive. This can be used to clone any hard drive with any OS installed in it. The command is: sudo dd if=/dev/sda of=/dev/sdb bs=1024 where sda is the hd you are copying from and sdb is the hd you’re copying to. so make sure you change those according to your setup. **You do this while booted into an Ubuntu live cd** **make sure to backup all important data before doing this as a precaution in case something goes wrong.**

16 Responses to Cloning a hard drive using the Ubuntu live CD #4

  1. your vids are really helpful man, thanks!

    Report Spam/Abuse

  2. I’m glad I could help! thanks for taking the time to leave a comment. bytheway your videos aren’t bad either.

    Report Spam/Abuse

  3. Thanks, very clearly explained!

    Report Spam/Abuse

  4. Very useful, Thanks.

    Report Spam/Abuse

  5. Why is there not a simple app available to clone an Ubuntu hard-drive?????

    Report Spam/Abuse

  6. mavericksabode

    One question…if my new drive is bigger, then how is it partitioned? I have a dual boot 80GB hard drive with 10GB of Ubuntu and the rest is WinXP. My new drive is 320 GB. How will the data be distributed on the new Hard drive?

    Report Spam/Abuse

  7. It will copy the partitions exactly how they are in the 80 GB drive. it will not expand any partitions based on your new drive’s storage capacity. but you might be able to expand those partitions latter using GParted.

    Report Spam/Abuse

  8. @MagnusVideos oh hi windows user.

    Report Spam/Abuse

  9. kasparkoch

    too easy :) Thank you very much!

    I will try this method soon! I thought you also will need to grub tweaks. Why do you need to run LiveCD? What about connecting your new larger HD and run dd? Would that also be okay?

    Report Spam/Abuse

  10. savanny1976

    You rock dude!! thank you.

    Report Spam/Abuse

  11. ricky000000000000001

    nice video.
    i have a question when i am trying to upgrade form a old hard disk..
    Should i need to add new “swap” and “ext” partitions to the new disk?

    Report Spam/Abuse

  12. @ricky000000000000001 No you won’t have to if they exist in the hard drive your cloning.

    Report Spam/Abuse

  13. ricky000000000000001

    @amzertech
    thanks for your reply
    i have completed the cloning and resized the partitions..
    however it seems that i still always booting the old linux as the grub is still pointing to the old location .. <=i guess
    how can i edit it ???
    i have try to reinstall the grub according to the guide line on the web but it does not change the result…

    Report Spam/Abuse

  14. @ricky000000000000001 try disabling the old hard drive from bios and see if it boots from the new location

    Report Spam/Abuse

  15. A1 tutorial. Precise & clear.

    Report Spam/Abuse

  16. Hi
    Just for fun I tested the dd command to clone a 31 gb partition first to a NTFS partition and then to an Ext2 partition within the same disk. It took 3 h 15 min and 45 min, respectively. The speed was 2,7 mb/s vs 11.5 mb/s. – Amazing don’t you think?

    Report Spam/Abuse

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree