Migrate Manjaro to other machine

I have a Manjaro installation as a VM on Proxmox. I wish to move this installation to a bare metal machine.

The way I’m thinking of doing this atm is that I’d install Manjaro on the bare metal machine, same version as the VM, and then somehow move all relevant contents from within the running VM to the bare metal installation. Could this be a way? How else to do it?

Thank you.

Yes, that should work. :wink:

Nice. How? :grin:
What would be all the relevant parts?

Well, you will definitely want to migrate the contents of /home, and possibly /etc if you have any additional packages that you changed the system-wide configuration of.

Everything else is probably already there upon a fresh installation, except of course for Snaps, FlatPaks, AUR stuff, and any other additional packages you may have installed in the VM. But it should be trivial to add them back.

As for how, well, mount the relevant partitions and copy stuff from one to the other. :stuck_out_tongue:

/etc and /home, surely. But how could I install all what is currently installed automatically? I assume pacman can give me a list of installed packages and I can use this output to install everything on the new machine as well?

See → [root tip] [Utililty Script] Backup configuration and package list

4 Likes

If you search for it, you’ll find many references.
One is the Arch wiki itself:
Section 2.5 and 2.6

pacman/Tips and tricks - ArchWiki

2 Likes