View previous topic :: View next topic |
Author |
Message |
lucatrv n00b
Joined: 10 Mar 2019 Posts: 13
|
Posted: Wed May 22, 2024 10:02 am Post subject: Unable to boot as VirtualBox guest |
|
|
I've freshly installed Gentoo with systemd, following all instructions of the handbook and systemd / vmware / virtualbox wiki pages. The system boots successfully as a VMware Player guest, but I am unable to boot as a VirtualBox guest. I tried both with manual kernel configuration, and with the binary distribution kernel, which I thought would have been a safe bet.
Neither one boots under VirtualBox, the system freezes with blinking Caps Lock key and following message:
Code: | Kernel panic - not syncing: Attempted to kill init! exit code=0x00007f00 |
I tried with the Gentoo Minimal Installation CD, and it boots correctly both under VMware Player and VirtualBox.
After several unsuccessful attempts, I hope that someone can help me out here... |
|
Back to top |
|
|
tckosvic Tux's lil' helper
Joined: 18 Apr 2023 Posts: 136
|
Posted: Fri May 24, 2024 4:44 pm Post subject: |
|
|
gentoo works fine as a qemu/libvirt guest with openSUSE host starting with a desktop profile.
not much help solving problems but might be an easy alternative.
tom kosvic |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sat May 25, 2024 10:27 am Post subject: |
|
|
lucatrv,
Explain your VBox settings.
Is VBox setting up the guest space of EFI or BIOS.
Where is the emulated guest HDD attached?
SCSI is probably the wrong choice as that needs the Fusion drivers which are not built by default.
AHCI should work.
Any other settings that affect the guest environment
Code: | Kernel panic - not syncing: Attempted to kill init! | usually means that the init script ran of the end, so process ID 1 terminated.
That's not allowed as its in change of userspace. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lucatrv n00b
Joined: 10 Mar 2019 Posts: 13
|
Posted: Sat Jun 08, 2024 9:41 pm Post subject: |
|
|
NeddySeagoon wrote: | lucatrv,
Explain your VBox settings.
Is VBox setting up the guest space of EFI or BIOS.
Where is the emulated guest HDD attached?
SCSI is probably the wrong choice as that needs the Fusion drivers which are not built by default.
AHCI should work.
Any other settings that affect the guest environment
|
I'm using BIOS, HDD was attached through virtio-scsi, now I changed it to AHCI but I'm getting the same issue, therefore I'm trying to move to QEMU... |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Sun Jun 09, 2024 2:07 am Post subject: Re: Unable to boot as VirtualBox guest |
|
|
lucatrv wrote: | I've freshly installed Gentoo with systemd, following all instructions of the handbook and systemd / vmware / virtualbox wiki pages. The system boots successfully as a VMware Player guest, but I am unable to boot as a VirtualBox guest. I tried both with manual kernel configuration, and with the binary distribution kernel, which I thought would have been a safe bet.
Neither one boots under VirtualBox, the system freezes with blinking Caps Lock key and following message:
Code: | Kernel panic - not syncing: Attempted to kill init! exit code=0x00007f00 |
I tried with the Gentoo Minimal Installation CD, and it boots correctly both under VMware Player and VirtualBox.
After several unsuccessful attempts, I hope that someone can help me out here... |
If you are running Virtualbox on Windows, try disabling Hyper-V in Windows features, following is the tutorial on Virtualbox forums.
Leaving Hyper-V enabled may also cause the kernel panic inside Gentoo guest.
https://forums.virtualbox.org/viewtopic.php?f=25&t=99390 |
|
Back to top |
|
|
lucatrv n00b
Joined: 10 Mar 2019 Posts: 13
|
Posted: Sun Jun 09, 2024 7:03 am Post subject: Re: Unable to boot as VirtualBox guest |
|
|
kimchi_sg wrote: | If you are running Virtualbox on Windows, try disabling Hyper-V in Windows features, following is the tutorial on Virtualbox forums.
Leaving Hyper-V enabled may also cause the kernel panic inside Gentoo guest.
https://forums.virtualbox.org/viewtopic.php?f=25&t=99390 |
I also tried that, at first Hyper-V was not enabled, then I tried to enable and disable it, the issue is still present. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Sun Jun 09, 2024 3:37 pm Post subject: Re: Unable to boot as VirtualBox guest |
|
|
lucatrv wrote: | kimchi_sg wrote: | If you are running Virtualbox on Windows, try disabling Hyper-V in Windows features, following is the tutorial on Virtualbox forums.
Leaving Hyper-V enabled may also cause the kernel panic inside Gentoo guest.
https://forums.virtualbox.org/viewtopic.php?f=25&t=99390 |
I also tried that, at first Hyper-V was not enabled, then I tried to enable and disable it, the issue is still present. |
You may also want to boot with kernel option init=/bin/bash for debugging, then see what is the output of Code: | ls -l /usr/sbin/init |
It should be a symlink to systemd executable. |
|
Back to top |
|
|
|