View previous topic :: View next topic |
Author |
Message |
solamour l33t
Joined: 21 Dec 2004 Posts: 703 Location: San Diego, CA
|
Posted: Thu Feb 08, 2024 11:52 pm Post subject: [Solved] x86 Minimal Installation CD doesn't boot in Hyper-V |
|
|
When I boot the x86 version of Minimal Installation CD (2024-01-29) in Gen1 Hyper-V (Windows 11 host), the booting process stops almost immediately.
https://ibb.co/t3nkC7c
If I try the same with Gen2 Hyper-V, I see the penguin logo, but then it stops.
https://ibb.co/McBTmXg
amd64 works in both Gen1 and Gen2. Considering that x86 does boot correctly in VirtualBox, I'd say it's a Hyper-V problem, but I'm not sure how to proceed from here. I'd appreciate any suggestions.
__
sol
Last edited by solamour on Fri Feb 23, 2024 12:49 am; edited 1 time in total |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 378
|
Posted: Fri Feb 09, 2024 3:30 pm Post subject: |
|
|
Hyper-V Generation 2 is using EFI booting (and you would need to disable Secure Boot in the security settings of the vm) and that is unlikely to work with 32-bit images (but probably not impossible).
Did you verify the checksum of the downloaded ISO? |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 703 Location: San Diego, CA
|
Posted: Sat Feb 10, 2024 6:16 am Post subject: |
|
|
Turned off "Secure Boot" and "Trusted Platform Module". Verified the checksum. Still doesn't boot in Hyper-V Gen1/Gen2, but it does work perfectly in VirtualBox (both 32-bit and 64-bit guest). Perhaps Hyper-V doesn't support 32-bit OS.
__
sol |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 378
|
Posted: Sun Feb 11, 2024 10:44 am Post subject: |
|
|
I installed Hyper-V on a Windows 11 Pro.
Booting a Gen1 vm gives me the same result. But booting a Gen2 without "Secure Boot" (under the Security settings) boots fine. |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 703 Location: San Diego, CA
|
Posted: Sun Feb 11, 2024 5:36 pm Post subject: |
|
|
Gentoo x86 in Hyper-V (Win11) Gen2 without "Secure Boot" still doesn't boot in my case. I'm starting to suspect that maybe Hyper-V doesn't play well with an AMD CPU.
__
sol |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 378
|
Posted: Sun Feb 11, 2024 6:09 pm Post subject: |
|
|
I did another test. I enabled the flag under the processor > compatiblity settings. And the generation 2 vm failed. Disabling the flag and the vm boots again. I have an Intel CPU. |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 703 Location: San Diego, CA
|
Posted: Tue Feb 13, 2024 3:58 am Post subject: |
|
|
Just to see what happens, I tried "Processor compatibility" on and off in a freshly installed Windows 11. Same kernel panic. But then again, it was another AMD setup, so at least that part is consistent. I don't have an Intel setup, so the experiment ends there. Curious to know how it works for others, either AMD or Intel.
Also, I'm not able to boot other x86 distros (e.g. Arch, Debian, Ubuntu) with Hyper-V Gen1/Gen2, even though they all work fine with VirtualBox.
__
sol |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 703 Location: San Diego, CA
|
Posted: Fri Feb 23, 2024 12:48 am Post subject: |
|
|
I borrowed an Intel laptop and verified that x86 Gentoo Minimal Installation CD does boot in Gen2 with Secure Boot off. Arch x86 works as well. I'm going to chalk it off as an incompatibility in AMD/Hyper-V combination. Thanks everyone for sharing your thoughts and suggestions.
__
sol |
|
Back to top |
|
|
|