How to import the ADHD VM in Proxmox
1. Download the ADHD zip file.
2. Extract the zip file.
3. Go to the extracted folder and open a terminal there.
4. Next upload the WINADHD-disk1.vmdk file in proxmox. Use the below
command.
Open the extracted folder in terminal and do the below command.
scp WINADHD-disk1.vmdk root@<pve-ip-add>:/var/lib/vz/images/vm-<vm-
id>-disk-0.vmdk
Ex- scp WINADHD-disk1.vmdk root@192.168.1.2:/var/lib/vz/images/vm-
1001-disk-0.vmdk
**** Here my vm-id is 1001 and pve IP addres is 192.168.1.2
5. Create an Empty VM with the same VMID in the proxmox.
a.
b. In the OS tab select `Do not use any media`
Type: `Microsoft Windows`
Version: `10/2016/2019`
c. In the System Tab change the below settings
Machine: `q35`
BIOS: `OVMF (UEFI)`
EFI Storage: `local-lvm`
d. In the Disks tab leave everything to `Default` and select next
e. In the CPU tab give the below and do next
Cores: `4`
Type: `host`
f. Memory tab give at least `8192` Mib or higher
g. In the VLAN tab you can leave the default
**** If you have not separated the Management and VM traffic
then you know what VLAN tag you need to provide. Else ignore.
h. In the Confirm page select Finish option
6. Now run the below command
qm importdisk <vm-id> /var/lib/vz/images/vm-<vmid>-disk-0.vmdk
<storage-name> --format qcow2
Example ->
qm importdisk 1001 /var/lib/vz/images/vm-1001-disk-0.vmdk local-lvm
--format qcow2
**** Here my vmid is 1001 and storage-name is local-lvm
**** Wait till 100% and do not start the vm now.
7. Now let’s edit a file in pve.
nano /etc/pve/qemu-server/<vmid>.conf
For me -> nano /etc/pve/qemu-server/1001.conf
And add the below in the top of the file
And then press `Ctrl + x` and then Press `Y` and `Enter`
8. Now go back to the proxmox web portal and select the vm.
a. Go to `Hardware` tab and delete the `CD/DVD Drive`
b. Detach the `Hard Disk (scsi 0)`
c. Now select the `Unused Disk 0` and Select `Edit`
d. In the `Bus/Device` select the `IDE`
and it will look something like this below and then select the
ADD
9. Now go to the `Options` and edit the `Boot Order`
a. Now you will see like this pop-up
b. Enable the `ide0` #2
c. Then drag the #2 to top so that it became #1 and press `OK`
10. Now Go to Console and `Start` the VM.
11. In case your Network is not working like me then, power off
the VM.
12. Go to Hardware section and delete the Network Device(Net0)
13. Then again add `Network Device` and Select the Model `Intel
E1000`
14. Now start the VM, network will be up.
**** You should take an initial snapshot of your VM.
**** Disable the Windows Update by following this below script.
https://github.com/TarikSeyceri/Windows-10-Update-
Disabler/blob/master/Windows%2010%20Update%20Disabler.bat