I am trying to install Gentoo in Virtualbox. My host is Arch.
My CPU is Ryzen 3600
Gentoo live cd loads just fine and I can compile software.
I am using genkernel to compile the kernel and grub2 as a bootloader.
After I install grub and reboot VM, I see a message that says grub is loading.
And then, Virtualbox crashes.
I have no idea why ((. Could somebody help me? Here are logs attached
[Solved] Virtualbox 6.1 crashes. Host Arch 5.11.11. Guest Gentoo 5.11.27.
[Solved] Virtualbox 6.1 crashes. Host Arch 5.11.11. Guest Gentoo 5.11.27.
- Attachments
-
- VBoxlog.zip
- (63.57 KiB) Downloaded 8 times
Last edited by poxu on 11. Apr 2021, 14:51, edited 1 time in total.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Virtualbox 6.1 crashes. Host Arch 5.11.11. Guest Gentoo 5.11.27.
Crashes less than a hundredth of a second after touching the hard disk. Triple Fault means the instructions tried something so odd that Virtualbox said Oh no you don't! I can't figure out why, though.00:00:08.027821 VMMDev: Guest Log: BIOS: Booting from Hard Disk...
00:00:08.031698 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:08.033148 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:00:08.033166 Console: Machine state changed to 'GuruMeditation'
00:00:08.033438 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:00:08.033438 !!
00:00:08.033438 !! VCPU0: Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)
Maybe something here didn't compile correctly.poxu wrote:Gentoo live cd loads just fine and I can compile software.
I am using genkernel to compile the kernel and grub2 as a bootloader.
Try an Ubuntu VM to see if a regular OS will run OK. If it does, either there's an incompatibility or a setting off.
Re: Virtualbox 6.1 crashes. Host Arch 5.11.11. Guest Gentoo 5.11.27.
Thank you so much!Crashes less than a hundredth of a second after touching the hard disk. Triple Fault means the instructions tried something so odd that Virtualbox said Oh no you don't! I can't figure out why, though.
I looked through what I have done with Gentoo and it appears I messed up grub installation.
I have partitioned my drive as GPT , but I'm using BIOS. And grub wants an empty partition marked as bios_boot (not the one mounter to /boot) if you want to load your system from GPT drive with BIOS. After I created it, everything went just fine.
That thing you mentioned should be somewhere in FAQ or among troubleshooting instructions. I didn't look thorough enough? Or I can make a proposal for that somewhere? You have told me, that the issue wasn't with Virtualbox and that helped me a lot.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: [Solved] Virtualbox 6.1 crashes. Host Arch 5.11.11. Guest Gentoo 5.11.27.
Great! Glad you found the problem!
The things that can go wrong with a VM often change over time, and the manual would get bigger and bigger. And often the forum gurus (not me, I just read a lot) are able to figure out what the codes mean. What can help to understand a log message or error is to web-search the error (especially if it is in CAPITALIZED_UNDERSCORE_SPACED_WORDS) along with 'site:forums.virtualbox.org'. I do that web-search myself when an unfamiliar error message shows itself.
The things that can go wrong with a VM often change over time, and the manual would get bigger and bigger. And often the forum gurus (not me, I just read a lot) are able to figure out what the codes mean. What can help to understand a log message or error is to web-search the error (especially if it is in CAPITALIZED_UNDERSCORE_SPACED_WORDS) along with 'site:forums.virtualbox.org'. I do that web-search myself when an unfamiliar error message shows itself.