-1

I have an older hp-540 laptop and bought a new dell-inspiration-14r. Now I want to create a complete image of my older into the new one.Is this possible? if possible than how? I have ubuntu 12.04 in older and windows 8 in new laptop. I have an ethernet cable also.

1 Answers1

1

To create an exact copy you can use Clonezilla. This will copy everything including partitions and MBR from your old laptop harddrive to your new (including overwriting Windows). You may have to resize partitions manually though if your new drive is bigger.

An alternative and probably faster way, which will also preserve Windows if you want to, would be simply to install a new clean Ubuntu install on the new laptop alongside Windows (How do I set up a dual boot Windows and Ubuntu?), copy all your old files over, and, if you want, re-install the old packages on your new system.

For example, on your old laptop, gzip your home directory (eg /home/tamim):

cd /home/tamim

tar cvpzf oldhome.tgz ./

Transfer this to your new laptop using your favourite removable medium and inflate it using:

tar xvpfz oldhome.tgz -C /home/tamim

To keep hold of your old packages/programs, on your old machine run sudo dpkg --get-selections > oldpackages.txt. Move this file to your new machine and run sudo dpkg --set-selections < oldpackages.txt and then sudo apt-get dselect-upgrade.

Marcus
  • 730