Convert physical lix to image for proxmox

hellb0y77

Active Member
Mar 12, 2014
33
0
26
HI, i need convert a physical linux server and import image on proxmox, what is the best way?
 
This doc explain only windows

no, this is not true. It has enphasys on windows perhaps because it's often more difficult/trickier
eg: you can use fsarchiver, or dd, or partimage and these methods apply to linux, mainly or too.

anyway it is not clear if you want to do p2v on a running linux machine...? that is hard to do correctly. a running system changes while you convert it.
you have mostly to boot from something like a livecd and convert disk/partitions

Marco
 
Last edited:
anyway it is not clear if you want to do p2v on a running linux machine...? that is hard to do correctly. a running system changes while you convert it.
you have mostly to boot from something like a livecd and convert disk/partitions

I know, it is not recommended , but I can not do anything else, i don't have access to physical machine
 
I know, it is not recommended , but I can not do anything else, i don't have access to physical machine
Hi,
what kind of access do you have? And what services are running (an heavy changed database are not easy to copy - in this case you must stop the db)?
You can also use rsync, but you should have linux-experience (create boot-loader/ adapt /etc/fstab and so on).
Use the server lvm? In this case you can create an snapshot to get valid files for syncing (but not the last version).

Udo
 
If you have access to IPMI or any other type KVM over IP, you can load a CD-Rom image lets say clonezilla for example and create ISO files of the physical machine. Then create a VM with somewhat similar configuration such as virtual disk, then just load the ISO file and restore the machine onto that VM.
Linux is very good at adapting hardware changes. So you should not have issue.
Also with IPMI and such you can convert your machine while it is powered off. So there are no worry of not converting exact replica and have data change on you while doing the cloning.