move Debian install from a MSoft VM to a new (actual) machine.
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
move Debian install from a MSoft VM to a new (actual) machine.
The title says it all -
I have a working Debian on a MSoft VM, but want to move to a separate private actual physical PC.
Are there any easy ways to do this?
I have seen various posts on moving to a new machine, copy the file systems, etc. but it seems like a lot of the system stuff - partitions, /etc, are system dependent - so do I have to basically start over and install and setup each program and environment?
(I run a web server on the system.)
MBR or UEFI ? - both the same ?.
I haven't tried clonezilla in forever, but probably is the canonical solution. If UEFI you will have to reinstall grub - looks like clonezilla should offer to fix that for you. Like I said, dunno how good it is.
Personally I would probably preallocate partitions and do them individually, then fix grub and fstab myself. Note that you don't have to pull the harddrive/SSD from the target machine - you can take an image and use that to restore from.
My instinct tells me that, in the long run, it would likely be easier to install Debian fresh on the new computer. You could first verify the integrity of the install before moving to the next step.
Then, on the VM, save to external media the contents of /home, making sure to include any dot-config files you have modified, your mail store, and the like, as well as any files in /etc or elsewhere that you have modified (there would be no reason to back up files you have left at default). Then copy them in place on the new machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.