Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo onto a Hyper-V 2019 Gen 2 Virtual Machine
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
godrick
n00b
n00b


Joined: 20 Oct 2019
Posts: 3

PostPosted: Sun Oct 20, 2019 1:01 pm    Post subject: Installing Gentoo onto a Hyper-V 2019 Gen 2 Virtual Machine Reply with quote

The default kernel doesn't boot in a Hyper-V 2019 Gen 2 Virtual Machine. (Something about the squashfs

Same symptoms as reported in 2017 at https://forums.gentoo.org/viewtopic-t-1056806-start-0.html

I got the system up by booting with an Ubuntu LiveCD and building a new kernel using the default kernel config augmented by the Hyper-V settings described at https://wiki.gentoo.org/wiki/Hyper-V.

There must be a reason for not including the Hyper-V drivers in the default kernel, but I can't think what it might be as the other common distributions seem to have no problem.

Ideally, I'd be able to use a 5.3 kernel and pick up the Microsoft Azure patches / settings, or use the ones that Intel offer in their Clear distribution, as I haven't been able to find them for Kernel 4.19. This should provide a slimmer kernel.

Suggestions?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2117
Location: Frankfurt, Germany

PostPosted: Sun Oct 20, 2019 1:49 pm    Post subject: Reply with quote

Hi godrick,

welcome to the Gentoo forums!

I can't tell you why Hyper-V drivers are not enabled in the default kernel.

You could create a bug at https://bugs.gentoo.org and ask for inclusion of Hyper-V drivers in the default kernel.

Mike
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Sun Oct 20, 2019 1:56 pm    Post subject: Reply with quote

godrick,

Welcome to Gentoo.

None of the code from the boot media goes into your install. The boot media is just a toolkit.
Boot your Ubuntu LiveCD, become root, if you can, do
Code:
mkdir /mnt/gentoo
and follow the handbook.

File a bug against genkernel, as thats the tool used to build the kernel on the Gentoo liveCD.

The current testing gentoo-sources is 5.3.7. By default you will have an all stable system.
If you want testing gentoo-sources, you need to tell portage about it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
godrick
n00b
n00b


Joined: 20 Oct 2019
Posts: 3

PostPosted: Sun Oct 20, 2019 5:28 pm    Post subject: Reply with quote

Thanks. Yes, that's how I did it, but there are various tools such as the mirror list that don't appear unless you install them, which requires an understanding of @world, one-shot, etc, that goes beyond the scope of getting things going.
Back to top
View user's profile Send private message
godrick
n00b
n00b


Joined: 20 Oct 2019
Posts: 3

PostPosted: Sat Oct 26, 2019 6:51 pm    Post subject: Reply with quote

For what it's worth, the initial install kernel doesn't use genkernel, but has it's own config version, so my bug reporting was a bit wide of the mark, initially.

Anyway, I have no idea whether they'll fix the issue or whether we'll just have to wait some indeterminate period for the fix to appear in a later installation kernel.
Back to top
View user's profile Send private message
Whissi
Developer
Developer


Joined: 12 Jan 2011
Posts: 78

PostPosted: Mon Oct 28, 2019 1:00 am    Post subject: Reply with quote

FYI: godrick's bug is https://bugs.gentoo.org/698140

NeddySeagoon wrote:
File a bug against genkernel, as thats the tool used to build the kernel on the Gentoo liveCD.
JFYI: genkernel as tool is used but used kernel config is coming from https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/kconfig.
_________________
Regards,
Whissi
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Mon Oct 28, 2019 11:27 am    Post subject: Reply with quote

Whissi,

Thank you.
Where do bugs against the kconfig go?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Whissi
Developer
Developer


Joined: 12 Jan 2011
Posts: 78

PostPosted: Mon Oct 28, 2019 11:45 am    Post subject: Reply with quote

I would recommend to file bugs against "Gentoo Release Media" product in bugs.gentoo.org.
_________________
Regards,
Whissi
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Mon Oct 28, 2019 12:09 pm    Post subject: Reply with quote

Whissi,

Thank you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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