The Great Linux Migration of 2016

Hello my fellow Linux people,

My current Linux machine only has 9Gb of storage memory left on it (not surprising because its partition is only 80Gb). It has been a great machine, however, a new year is upon us and I need some storage space up in here!

I like my current OS set up so much I'd like to figure out how to just clone it and move it to my new machine. The catch is I'd like to partition this new machine so it has Ubuntu / Fedora / Windows 10 all on the HDD. I'd like to just slide my current OS right in that Ubuntu partition.

Any advice?

Edit: My current Linux OS = Ubuntu 14
Edit 2: My current machine = Laptop and the new machine = laptop

DD the partition onto a new larger drive? Then expand it to what you need and then allocate space for the other OS's.

If you are going to install Windows I recommend a second drive, I've also noticed some weirdness with grub sometimes not being able to boot Windows 8.1/10 so now I have a 4 x 2.5" drive bay and I can just eject the Windows OS disk when I'm not using it.

2 Likes

The laptop I'm purchasing comes with Windows 10. I don't play on using windows, but I don't want to throw away free (gratis) software. So I'm going to make the windows partition a really small one (100Gb) and then divey up the rest between the two other OS's.

I'm not sure how to get my current OS onto the new HDD in the laptop.

Maybe, like you said, dd my current laptop's Ubuntu partition onto an external hdd and partition it to be 500Gb. Next, I'd have to somehow partition the new laptop's HDD with 500Gb. Then dd from the external drive to the partition on the new machine?

A friend of mine told me to use Acronis back in 2008 and I've been using it ever since. Use it as a boot disk and you can copy an image, or everything from one drive to another.

http://www.acronis.com/en-us/company/inpress/2004/11-desktoplinux-trueimage.html

Where I work they use Ghost.

http://www.symantec.com/page.jsp?id=ghost

I recommend you make a Windows 10 backup disc before you start making partitions.

You will have to make the 100GB partition before you copy the files.

1 Like

Clonezilla is pretty great, I have it set up among other things on a easy2boot flash drive. You can boot into it, follow the prompts, and your disk will get cloned from and to where you want. What I like about cloning is it does the MBR too if you want, so its an exact clone of where you left off

1 Like

If you mean "clone" your linux machine, as written above you could use clonezilla or dd. But I recommend boot onto a liveusb and using tar to backup or whole system then copy to something and untar, install grub BOOM !. That is how you install gentoo from a complete system tar. Or you might just backup /home with all you configs and saved files.
Just remember if you just tar must sure you preserve permissions.

1 Like

I have a fresh install running on my machine right now. Unfortunately, I have to change the WLAN Card on this new laptop. In the process some of the damn screws stripped while I was taking it apart last night. So before I try to get my old machine's OS into this new one, I need to get these screws out and replace that WLAN Card.

URRRRGH!

You could just keep the recovery partition and delete the install. That is what I did with my Macs.

2 Likes

Triple boots can be messy... Well so can dual boots. I personally wouldn't do that since I had bad experiences with that situation. Also curious if a Windows 10 update has the potential to knock grub off somehow.

As for "gratis" Windows 10 is not gratis.

Right now it boots into Grub with Ubuntu and Windows boot manager as options. Both seem to work. However, for now I'm still on the old machine because I have to change the wireless card out with one compatable with Ubuntu.

As for gratis, my bad... I meant it came with it, so I don't feel like throwing it away... it's software and it works.

1 Like

Okay, new machine works great! Thanks everyone for your help with my great Linux migration!

2 Likes