Page 1 of 1

migrating to different host

Posted: 27. Jul 2020, 23:16
by dude_1776
I'm sorry if this question has been answered, but I could not find my exact scenario.

PC#1- Manjaro KDE

PC#2- Manjaro Gnome-



PC#1- 1 physical hard drive currently installed (hard drive#1), boot and storage on same drive. OpenMedia Vault installed in VM, has been working flawlessly for about a year.

I would like to remove hard drive#1 from PC#1 and install it in PC#2 while preserving all data. What is the most secure (least chance of losing data) to do this?

Is it as easy as removing hard drive#1from PC#1, and installing in PC#2?

Thanks.

Re: migrating to different host

Posted: 28. Jul 2020, 01:03
by scottgus1
If you're talking about moving a physical drive from one physical computer to another physical computer, and keeping the data thereon safe in the process, I would do this (thinking only about the Virtualbox guest):

First confirm that everything related to the Virtualbox guest is on that drive.
If that drive is the only storage device in PC#1, then consider this point confirmed.
If there are more than one device for storage, right-click the guest in the main Virtualbox window's guest list, choose Show in File Manager. The folder containing the guest's .vbox file will appear, note its path. Next, in the main Virtualbox window , File menu, open Virtual Media Manager. Check the path of each guest disk file that is attached to this guest. The guest's folder and each guest disk file should be on the same physical storage device that you plan to move to PC#2.

If they are not, or if you want us to take a look, zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.

Once you are sure that the guest's files are all on that one device, make at least two confirmed restorable backups of that device. Gravity hurts when you drop a disk while moving it. So does static when taking it out or inserting it. So does formatting it accidentally.

Once you have the device connected, power up the new PC, get the disk recognized by the new OS, and register the guest's .vbox file with Virtualbox. You should then be good to go.

A side point, it might be better to clone the device's contents (while the guest is shut down) to a different disk and put the cloned disk in the new PC.