Moving physical drive (SSD) with installed Ubuntu from one machine to another

I haven't found exact answer to my question, so I'm creating this thread. Most of the threads considered transferring data - not moving physical drive.

I'm using laptop with installed Ubuntu. I'm going to buy a new laptop and I want to put SSD from my old laptop to the new laptop.

Can I move physical drive (SSD) with installed Ubuntu from one machine to another and still have working system?

Will it work correctly or I have to format disk and install system again from the scratch?

I'm asking this question, because I'd be happy if I could avoid next procedure of re-installing and configuring my system from the scratch, when I have it done on the old machine. It can be fun, but takes some time.

4

4 Answers

I moved an SSD with Ubuntu 18.04.1 LTS from a broken Lenovo Ideapad Y560 with ATI GPU to a Desktop PC with intel integrated graphics and it booted perfectly. Foremore, it detected new graphics card and install intel sandy drivers automatically.

Theoretically if you haven't adapted your kernel and stayed on the generic one and your ubuntu wasn't an old one, I assume you can try to go ahead. Post your success experience later here.

1

I was working on my laptop when my new one arrived. I shut my old one down, took out the drive and installed the drive in the new computer, turned it on and continued working :)

Mileage may vary, but I think as @Laket said, if you haven't messed with the kernel, you should be fine.

I moved an SSD with Ubuntu 16.04 from an Intel NUC DN2820FYKH to a Gigabyte Brix BXBT-1900 (both barebones mini-PCs) and it wouldn't boot. I couldn't find a quick fix other than reinstalling the OS. So don't assume it will just work. Moving the SSD to another DN2820FYKH worked flawlessly (obviously).

You Might Also Like