JX1 One Click Server Import From VMWARE to PROXMOX

JX1 One Click Tutorial
Part 1: Convert VMWare Disk To Proxmox Disk

In my case, I download the 1Click JX Server From:

So I got the VMWare Disk File

I uploaded the VMWARE Disk to my Proxmox, in this case, I put it in /root/

After that, I log to my Proxmox using SSH. Remember that, if you are trying to create a VM in Promox with ID 111, you’ll use this number in all this tutorial. In my case, it’s 111. Secondly, I’m using zfs, so my storage is local-zfs. You may check your storage by using cmd pvesm status

1
2
3
4
cd /var/lib/vz/images/
mkdir 111
cd 111
qm importdisk 111 /root/1ClickJXv2-cl3.vmdk local-zfs

I’ll got this result like:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
root@lenovo:/var/lib/vz/images/111# qm importdisk 111 /root/1ClickJXv2-cl3.vmdk local-zfs
importing disk '/root/1ClickJXv2-cl3.vmdk' to VM 111 ...
transferred 0.0 B of 500.0 GiB (0.00%)
transferred 5.0 GiB of 500.0 GiB (1.00%)
transferred 10.0 GiB of 500.0 GiB (2.00%)
transferred 15.0 GiB of 500.0 GiB (3.00%)
transferred 20.0 GiB of 500.0 GiB (4.00%)
transferred 25.0 GiB of 500.0 GiB (5.00%)
transferred 30.0 GiB of 500.0 GiB (6.00%)
transferred 35.0 GiB of 500.0 GiB (7.00%)
transferred 40.0 GiB of 500.0 GiB (8.00%)
transferred 45.0 GiB of 500.0 GiB (9.00%)
transferred 50.0 GiB of 500.0 GiB (10.00%)
...
Part 2: Create VM

Now I’m going to create a VM in Promox, set the VMID is 111. Do not add Disk while creating.

Back to ssh and run:

1
2
qm set 111 --scsihw virtio-scsi-pci --scsi0 local-zfs:vm-111-disk-0
qm set 111 --boot order=scsi0
Part 3: Fake VM Machine

Some part of server doesnot support running under virtual machine. So you need to make the machine looks like a real machine.

1
2
3
4
5
qm set 111 --args "-cpu host,-hypervisor -device isa-debug-exit,iobase=0xf4,iosize=0x04"
qm set 111 --vga virtio
qm set 111 --net0 virtio=00:16:3E:12:34:56,bridge=vmbr0
qm set 111 --smbios1 manufacturer=HP,product=EliteBook
qm set 111 --machine pc

Check QM Config by cmd qm config 111. Results should be:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
root@lenovo:/var/lib/vz/images/111# qm config 111
agent: 1
args: -cpu host,-hypervisor -device isa-debug-exit,iobase=0xf4,iosize=0x04
bios: seabios
boot: order=scsi0
cores: 4
cpu: host,hidden=1
machine: pc
memory: 8192
meta: creation-qemu=9.2.0,ctime=1750130769
name: VLTK-1Click
net0: virtio=00:16:3E:12:34:56,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-zfs:vm-111-disk-0,size=500G
scsihw: virtio-scsi-pci
smbios1: manufacturer=HP,product=EliteBook
sockets: 1
vga: std
vmgenid: 1ad4b2be-0e68-48aa-b7ee-bc7509ab45d9

Now we can start the machine and enjoy the time: qm start 111

Option:

In some time, we may need to check the VM that it’s real machine or not.

For Linux:

lscpu | grep Hypervisor if found something, it’s bad

grep -i hypervisor /proc/cpuinfo if got a flag like hypervisor, it’s bad

Check more

1
2
sudo dmidecode -s system-product-name
sudo dmidecode -s system-manufacturer

For Windows ( not tested ): using Powershell

1
2
systeminfo | findstr /i "hypervisor"
Get-WmiObject Win32_ComputerSystem