Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Gentoo guest in VirtualBox no longer boots
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 918

PostPosted: Mon Feb 07, 2022 10:14 pm    Post subject: [Solved] Gentoo guest in VirtualBox no longer boots Reply with quote

I have a Gentoo guest VM running in VirtualBox under W10. It has worked fine ever since I installed it over a year ago, but more recently, the two latest stable kernels will not boot. The boot process stops after printing "Loading initramfs", so technically it looks like an initramfs rather than a kernel issue.

5.15.11-gentoo - boots.
5.15.16-gentoo - does not boot.
5.15.19-gentoo - does not boot.

I'm using dracut to generate the initramfs and verified that the current dracut version was installed before the 5.15.11 kernel, or during the same world upgrade.

Any ideas how to debug this? I *think* I tried rd.debug a while back but got no additional output at all. Recovery mode also suffers the same fate.


Last edited by Princess Nell on Wed Mar 09, 2022 6:41 pm; edited 2 times in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3882

PostPosted: Tue Feb 08, 2022 7:43 pm    Post subject: Reply with quote

Quote:

5.15.16-gentoo - does not boot.
5.15.19-gentoo - does not boot.

Are their modules maybe compressed?
Code:

grep CONFIG_MODULE_COMPRESS .config

_________________
:)
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 918

PostPosted: Thu Feb 10, 2022 9:52 am    Post subject: Reply with quote

They are not - CONFIG_MODULE_COMPRESS_NONE=y for all kernels involved.
Back to top
View user's profile Send private message
qsmodo
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2021
Posts: 82

PostPosted: Fri Feb 11, 2022 10:24 pm    Post subject: Reply with quote

"Gentoo guest in Virtual Box won't boot" looks like a better title to me.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 918

PostPosted: Wed Mar 09, 2022 6:49 pm    Post subject: Reply with quote

Solved it, thanks to Neddy, who put me on the right track 8)
https://forums.gentoo.org/viewtopic-t-1140839-start-0.html

Review of this discussion led me to the Gentoo wiki, of all places,
https://wiki.gentoo.org/wiki/VirtualBox, the Gentoo guest kernel config section. I was indeed missing the Generic Framebuffer for kernel 5.15 and later option.

The old kernel config continued to work up to 5.15.11, so I didn't suspect kernel version 5.15 config as the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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