Installing Mail Gateway on HyperV recommendations

cw1972

New Member
Jan 21, 2025
5
0
1
I checked the installation tutorials sticky thread but that is way out of date and no mention on HyperV.

Does PMG on HV suupport Gen2 VMs?


I already realised I has to disable secure boot.

My first attempt has given my Fatal Server Error: (EE) no screens found (EE).

I am now going to try a more simple Gen1 HV VM.

I would like to hear peoples recommendations / advise on installing PMG on HV though.

Thank you :)
 
That error above was on tty2, I just noticed on tty1 it failed on trying to detect country... "unable to detect country - timed out1"
 
Choosing the console installation option allowed me to start installation, but it has been stuck on 26% for about half an hour now, I will leave it and see if it proceeds.
 
still not passed 26%

in that time I have installed Debian 12 and failed to install PMG, installed Debian 11 twice and I now finally have PMG up and running

haha, this is sending me loony :D
 
finally got PMG 8.1.6 up and running on Debian 12 Bookworm, using a mix and match of instructions from:

https://docs.vultr.com/how-to-install-proxmox-mail-gateway-on-debian-11

and

https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_package_repositories

the missing part of the puzzle was:
wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

which I had to manually craft from:
wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg

all up and running now, taken me all day (I am not a native Linux user)

now to figure out how to use the software :D
 
Great effort in getting PMG running! Can you share if there were any specific challenges with Hyper-V's Gen2 VMs, or would you recommend sticking to Gen1 for smoother installation?