VM stuck on starting (20%)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
gnx
Posts: 1
Joined: 18. Mar 2023, 05:17

VM stuck on starting (20%)

Post by gnx »

My host is latest Arch Linux, I install everything using standard or default option, everything works fine except VirtualBox, VM stuck on starting no matter what guest OS is (I tried win10, debian, arch).

I follow Arch Wiki instruction to install VirtualBox, specifically, did the following steps:
1) sudo pacman -S virtualbox (chose virtualbox-host-modules-arch)
2) sudo pacman --noconfirm -S virtualbox-guest-iso
3) reboot
and I also tried manually install virtualbox-host-modules-arch package, same result.

I attached log file below, am I missing something?
Thanks!
VBox.log
Log file
(2.19 KiB) Downloaded 26 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VM stuck on starting (20%)

Post by mpack »

I see pauses of 20 and 30+ minutes in that log. That just doesn't happen AFAIK. If I was you I'd run memory and disk checks on the host.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VM stuck on starting (20%)

Post by scottgus1 »

The VM never seems to get off the ground, it doesn't set up the most basic hardware settings.

I think the installation of Virtualbox is really borked. Try a complete uninstall/purge of all Virtualbox (how you'd do that in your Linux distro is beyond me), then reinstall from www.virtualbox.org, after running the prerequisites https://www.virtualbox.org/manual/ch02. ... nux-prereq
marmel
Posts: 75
Joined: 1. Nov 2013, 03:44

Re: VM stuck on starting (20%)

Post by marmel »

Looks like classic example of lack of IBT support by Virtualbox. Ongoing issue for a year now.

It's the default config in kernel 6.2+.

See VB Issue:
https://www.virtualbox.org/ticket/21435

See VB Forum Thread:
viewtopic.php?f=7&t=108948&p=533703#p533703

See Arch Wiki (Section 5.25):
https://wiki.archlinux.org/title/Virtua ... _and_later
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VM stuck on starting (20%)

Post by scottgus1 »

As a possible workaround, Marmel's link to the Arch wiki says:
you can try adding ibt=off as a kernel parameter.
marmel
Posts: 75
Joined: 1. Nov 2013, 03:44

Re: VM stuck on starting (20%)

Post by marmel »

scottgus1 wrote:As a possible workaround, Marmel's link to the Arch wiki says:
you can try adding ibt=off as a kernel parameter.
Hence why I linked the workaround. We encourage users to read the Wiki! This is a year-old issue since kernel 5.18.
Post Reply