kvm.hdd.gz

josg21

New Member
Mar 23, 2012
12
0
1
Hi, I am sure this has been covered. But how do I take a kvm.hdd.gz file, put it on my server, and run it?
 
Just create a new VM, assign hardware according to the requirements and use local storage for the virtual disk.

do not start. analyse the VMID.conf file and your local storage to locate the virtual disk image and replace it with the kvm.hdd.gz file (you need to unpack the file, also rename it).
then check the boot order via GUI (the disk should be the first place) and then start.
 
Thanks, sry to keep asking questions. But how do I analyse the file? And how do i get the hdd.gz file on the server?
 
if you create a VM a config file is created. see /etc/pve/qemu-server/VMID.conf

if you use local storage, the disk image file is stored under /var/lib/vz/images/VMID/ - copy the file to this location, e.g. with scp. if you are no windows, use winscp. as soon as it on the right place, unpack with "gunzip hdd.gz" and rename it.