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.
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.
@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?