-
Smithx10
@sommerfeld What did you need to do? I tried earlier and got the "windows 11 not supported on this machine"
-
sommerfeld
Smithx10: a bunch of things. First is to make sure you give the VM multiple threads and enough memory. The second one involved hitting a function key while the installer was running to pop up a windows shell, running regedit and adding a few registry keys to tell it to bypass the TPM check.
-
Smithx10
@sommerfeld ahhh ok, Maybe I have to do that for 2025 and 11
-
sommerfeld
andyf has a bhyve sync out for review that adds an emulated software TPM to bhyve.
-
sommerfeld
I ended up installing windows 10, then running the program that tells me *why* my machine can't run windows 11 to figure out the "need > 1 cpu" thing.
-
Smithx10
I think it also might need minimum storage too *
-
sommerfeld
-
sommerfeld
Boot that drive and once the Windows installer has started, press Shift+F10 to open a command prompt.
-
sommerfeld
Type regedit and create the relevant bypass registry keys (Navigate to HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\ and create new DWORD32 registry keys BypassTPMCheck and BypassSecureBootCheck, setting their value to 1).
-
Smithx10
-
sommerfeld
yeah, annoyingly the windows 11 installer doesn't tell you which requirement wasn't met!
-
Smithx10
Ive been digging into panther logs etc lol
-
sommerfeld
I went down this path because a nonprofit my wife volunteers at has a membership database which is based on microsoft access -- and it needs some work.
-
Smithx10
Those bypass checks worked for 11 in my unatttend awesome. I don't know if 2025 is the same issue or not*
-
gitomat
[illumos-gate] 17224 clean up mac_ether_offload_info() returns -- Patrick Mooney <pmooney⊙pc>
-
jbk
somewhat off topic, but thought someone might know -- is there any sort of project that'd provide a UEFI-like experience for legacy bios systems?
-
jbk
e.g. stick the machine into 64-bit mode, flat addressing, and maybe provide basic services for disks, etc.
-
tsoome
I can imagine how it could be created, but I haven't seen such implementation.
-
richlowe
I would imagine edk will do that
-
richlowe
it's also something u-boot will arrange for on ARM systems
-
richlowe
(via edk2)
-
tsoome
yep, exactly.
-
richlowe
I was interested to see apparently AMD have ditched VGA (I guess?) in their graphics stuff
-
tsoome
and it would not really want to dance in between long mode and 16-bit real mode to use BIOS functions, I would imagine;)
-
richlowe
or at least they "require" EFI now, and bios won't work
-
richlowe
I'm guessing the reason, I suppose
-
tsoome
yes, it is told times ago that one should not expect to have VGA
-
tsoome
VGA BIOS, that is.
-
richlowe
oh yes, but people listening and acting on it is kinda rare in the x86 world
-
richlowe
I still don't know whether to have hopes for the effort(s?) to nudge x86 toward just booting in long mode
-
sommerfeld
-
tsoome
yep.
-
tsoome
we too do the real mode switch dance from 64-bit kernel (in case of BIOS boot ofc).
-
Smithx10
While doing these image builds in parallel, I noticed that bhyve can exit and the VNC server may take few seconds to come up. Is this the intended behavior?
-
sommerfeld
Smithx10: what I noticed is that each "reboot" (and there are a bunch of them during a Windows install) causes the VNC connection to drop
-
sommerfeld
Didn't notice much in the way of a delay coming up but I had the bhyve fbuf "wait" option enabled (so it paused until a VNC client connected) and I wasn't necessarily quick in manually reconnecting.
-
Smithx10
ahh, that is something to explore
-
Smithx10
-
sommerfeld
tsoome: one annoying bit I recall was that you had to repeat the mode switch dance on every new core/thread!
-
tsoome
ouch
-
sommerfeld
(probably still do)
-
tsoome
yea, bios bootloader is lucky to run single threaded;)
-
sommerfeld
(see real_mode_start_cpu, usr/src/uts/i86pc/ml/mpcore.S )
-
richlowe
anything that says "real mode platter" near it, is scary
-
richlowe
-
sommerfeld
starts in 16-bit real mode, then have to crawl upwards layer by layer until you get to 64-bit protected mode. "ontogeny recapitulates phylogeny" for systems software.
-
jbk
richlowe: i thought with UEFI it's already in 64-bit mode.. it's just the older stuff still using BIOS
-
jbk
(it would be really nice in several ways if we could be started w/ UEFI boot services still running, and then terminate them ourselves a bit later in the boot)
-
jbk
but that assumes UEFI
-
tsoome
well, its basically an alternate binary as long as we need to keep bios support.
-
Smithx10
sommerfeld: thanks for that tip, I think it will help with the packer-bhyve-plugin