Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] x86 Minimal Installation CD doesn't boot in Hyper-V
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Thu Feb 08, 2024 11:52 pm    Post subject: [Solved] x86 Minimal Installation CD doesn't boot in Hyper-V Reply with quote

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
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 374

PostPosted: Fri Feb 09, 2024 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Sat Feb 10, 2024 6:16 am    Post subject: Reply with quote

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
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 374

PostPosted: Sun Feb 11, 2024 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Sun Feb 11, 2024 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 374

PostPosted: Sun Feb 11, 2024 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Tue Feb 13, 2024 3:58 am    Post subject: Reply with quote

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
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Fri Feb 23, 2024 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum