Hyper-V Gen 2 VM Issues/Workarounds (Supported in Build 18.1/FreeBSD 11.1)

Started by DanMc85, February 02, 2018, 12:02:52 AM

Previous topic - Next topic
Figured it would be good to have a thread for those specifically running build 18.1 in a Hyper-V Virtual Machine. In this case using the new Gen 2 support which is included in build 18.1 due to the upgrade to FreeBSD 11.1 as the core.

The first issue I noticed is on a clean install.

The installer launches, allows for selecting Keyboard and Display Type/Font
Hit Enter
Freezes on screen where the Guided Install selection is.

However, it is not actually frozen... CTRL+ALT+Delete will still command a shutdown/reboot.

I noticed a weird workaround... change the font/display selection to a really large font (first or section option if I remember correctly)... then go back and change it to the smaller Thin font option.  It will mess up the wallpaper shown on the screen, but the menu options actually work and will install successfully.

-  Feel Free to add to this or other issues, fixes, or workarounds for Hyper-V Gen 2 related discoveries. -

I noticed this too. But after removing the VM, and creating it the exact same, it went fine.
With the r1 release I had a full crash (meaning I could not Alft-F1 to a different vt) right after the installer would copy the files.

I plan on creating a new VM, since the current one is a test VM (18.1_r1 to r2 to final), and will see how that works out.
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

Just done my first fresh install on hyper-v and had no issues - Just as a comment :)

Quote from: michaelsage on February 03, 2018, 02:00:07 PM
Just done my first fresh install on hyper-v and had no issues - Just as a comment :)

Did you use a Generation 2 VM when you created yours? or was it a Generation 1?

Hi All.
Same problem here, but additionally the workaround does not work for me. Installer GUI freezes while switching back font.
Cheers,
BlaCKJaCK


Will the problem described in this thread be resolved in the next release?

If somebody is willing to test I can send over an URL with a 19.1-BETA image (DVD?). We're still assembling bits and pieces so there's no public test yet.


Quote from: franco on October 22, 2018, 12:02:03 PM
If somebody is willing to test I can send over an URL with a 19.1-BETA image (DVD?). We're still assembling bits and pieces so there's no public test yet.


Already tested this, still an issue. If I use guided installation and let it do it's own thing the installer appears to freeze at the formatting/partition stage. If I do a manual installation, I can format, that appears OK, I can skip partition and then to boot blocks, seems OK, in fact I can then apparently complete the install, but on reboot the disk will not boot.
OPNsense 25.7a - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Quote from: marjohn56 on October 23, 2018, 09:59:58 AM
Quote from: franco on October 22, 2018, 12:02:03 PM
If somebody is willing to test I can send over an URL with a 19.1-BETA image (DVD?). We're still assembling bits and pieces so there's no public test yet.


Already tested this, still an issue. If I use guided installation and let it do it's own thing the installer appears to freeze at the formatting/partition stage. If I do a manual installation, I can format, that appears OK, I can skip partition and then to boot blocks, seems OK, in fact I can then apparently complete the install, but on reboot the disk will not boot.

If you're testing on windows 10 hyper-v, it's similar to windows server 2016 hyper-v. I have a windows server 2012R2 server and I will be happy to test on it if that would be of help.

Can somebody try this on normally crashing Hyper-V install prior to bootup please?

1. Escape to loader prompt (3)
2. Type: set hw.vga.textmode="0"
3. Type: boot


Thanks,
Franco

There's a problem there. You cannot install at all if you leave it to do it's own thing, it just appears to freeze, if you manually install then you can skip the partition bit, if you don't it freezes. So skip partition and write the boot blocks, says it's OK and carries on and installs.


I'll check it now with that option.
OPNsense 25.7a - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

The question is if it still hangs with the graphics mode forced due to enabling it prior to installation. If it still hangs it's a command not returning from the disk. There is a log at /tmp/installer.log detailing the dispatched backend commands.


Thanks,
Franco

/tmp where?
OPNsense 25.7a - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member