1

The hard drive failed on my new laptop so I installed Ubuntu 14.04.2 on an external hard drive and have been using it for the past 3 months. Now that the laptop manufacturer had sent me a new hard drive I want to clone whats on external hard drive to the internal hard disk. I'm looking for steps to take to do this correctly.

2

You could use dd, from a live CD open a terminal an type:

dd if=/dev/sda of=/dev/sdb bs=64K

Just replace /dev/sda with your external hardrive name and /dev/sdb with your internal hardrive name.

  • for future reference, I would add that this may fail if the external drive is larger. I would use gparted to shrink the partitions and then reexpand them on the new harddrive – redbow_kimee Jul 20 '16 at 4:24
-1

@user2308612 is right. You can use dd for this task. It does low level copy, the partitions will remain. You asked for step by step instructions and I think they are nicely written here (pictures included): http://www.howtogeek.com/howto/19141/clone-a-hard-drive-using-an-ubuntu-live-cd/

protected by Community Jul 28 '16 at 3:51

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.