Oracle VM - Stuck at 20%

Hour 7 or 8, I don’t exactly remember when I started.
This is my 5th attempt in trying to start VBox. I did a complete uninstall and went thru and deleted everything left behind, including the kernel module - which I reinstalled each time. This is the last time I try this application in Linux - never had any problems in Windows - it always started in minutes not hours!
Is it me or is this just a piece of feces application?
Here is the log:

00:00:01.335344 VirtualBox VM 7.0.2 r154219 linux.amd64 (Nov 1 2022 23:07:43) release log

00:00:01.335348 Log opened 2022-11-29T02:23:56.400840000Z

00:00:01.335349 Build Type: release

00:00:01.335352 OS Product: Linux

00:00:01.335353 OS Release: 6.0.8-1-MANJARO

00:00:01.335354 OS Version: #1 SMP PREEMPT_DYNAMIC Thu Nov 10 20:52:34 UTC 2022

00:00:01.335392 DMI Product Name: Inspiron 16 5620

00:00:01.335403 DMI Product Version:

00:00:01.335410 Firmware type: UEFI

00:00:01.336193 Secure Boot: Disabled

00:00:01.336256 Host RAM: 23725MB (23.1GB) total, 21570MB (21.0GB) available

00:00:01.336261 Executable: /usr/lib/virtualbox/VirtualBoxVM

00:00:01.336262 Process ID: 8709

00:00:01.336263 Package type: LINUX_64BITS_GENERIC (OSE)

00:00:01.343103 Installed Extension Packs:

00:00:01.343151 VNC (Version: 7.0.2 r154219; VRDE Module: VBoxVNC; Crypto Module: )

00:00:01.345242 Console: Machine state changed to 'Starting'

00:00:01.345676 Qt version: 5.15.7

00:00:01.345686 X11 Window Manager code: 6

00:00:01.371358 SUP: seg #0: R 0x00000000 LB 0x00060000

00:00:01.371424 SUP: seg #1: R X 0x00060000 LB 0x0018f000

00:00:01.371434 SUP: seg #2: R 0x001ef000 LB 0x0006b000

00:00:01.371439 SUP: seg #3: RW 0x0025a000 LB 0x0002eae8

00:00:01.423791 GUI: UIMediumEnumerator: Medium-enumeration finished!

00:00:01.426623 X Server details: vendor: The X.Org Foundation, release: 12101004, protocol version: 11.0, display string: :0

00:00:01.426673 Using XKB for keycode to scan code conversion

00:00:01.459906 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 0x0 x 1680x1013

00:00:01.470807 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 1 work area is actually resized to: 0x0 x 1680x1013

00:00:01.543024 GUI: UIMediumEnumerator: Medium-enumeration finished!

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

There’s nothing wrong with VirtualBox generally. Are you per chance on Intel 11th Gen? – VirtualBox - ArchWiki

If not already helped please output of inxi -Fxz (in between ``` markers preferably) for anyone to have a chance to answer usefully.

Note that the installed module needs to be loaded, otherwise it will stuck forever. Normally it should print an error. Anyway… I use virt-manager or gnome-boxes, no extra module (driver) needed here.

My fault, yes I loaded the installed module each time.

@tnaser4

Ok i don’t use virtualbox, but just out of curiosity I tried it myself. Here is the terminal output:

[user@manjaro ~]$ LANG=C pamac install virtualbox
Preparing...

Choose optional dependencies for virtualbox:
1:  virtualbox-guest-iso: Guest Additions CD image
2:  virtualbox-ext-vnc: VNC server support
3:  virtualbox-sdk: Developer kit

Enter a selection (default=none): 1,2

Choose a provider for VIRTUALBOX-HOST-MODULES:
1:  linux419-virtualbox-host-modules     7.0.4-3    extra
2:  linux510-virtualbox-host-modules     7.0.4-2    extra
3:  linux515-virtualbox-host-modules     7.0.4-2    extra
4:  linux519-virtualbox-host-modules     7.0.4-1    extra
5:  linux54-virtualbox-host-modules      7.0.4-2    extra
6:  linux60-virtualbox-host-modules      7.0.4-2    extra
7:  linux61-virtualbox-host-modules      7.0.4-0.3  extra
8:  linux515-rt-virtualbox-host-modules  7.0.4-2    community
9:  linux60-rt-virtualbox-host-modules   7.0.4-1    community
10:  virtualbox-host-dkms                 7.0.4-1    community

Enter a number (default=1): 10

Resolving dependencies...
Checking inter-conflicts...

To install (7):
 virtualbox-guest-iso  7.0.4-1                             community  38.4 MB
 liblzf                3.6-3    (Required By: virtualbox)  community  17.0 kB
 libtpms               0.9.5-2  (Required By: virtualbox)  community  428.5 kB
 dkms                  3.0.8-1  (Required By: virtualbox)  extra      37.6 kB
 virtualbox-host-dkms  7.0.4-1  (Required By: virtualbox)  community  779.9 kB
 virtualbox            7.0.4-1                             community  44.4 MB
 virtualbox-ext-vnc    7.0.4-1                             community  89.4 kB

Total download size: 84.1 MB
Total installed size: 254.8 MB

Apply transaction ? [y/N] y
Download of virtualbox-host-dkms (7.0.4-1) started
Download of dkms (3.0.8-1) started
Download of dkms (3.0.8-1) finished
Download of liblzf (3.6-3) started
Download of liblzf (3.6-3) finished
Download of virtualbox-guest-iso (7.0.4-1) started
Download of virtualbox-host-dkms (7.0.4-1) finished
Download of libtpms (0.9.5-2) started
Download of libtpms (0.9.5-2) finished
Download of virtualbox (7.0.4-1) started
Download of virtualbox (7.0.4-1) finished
Download of virtualbox-ext-vnc (7.0.4-1) started
Download of virtualbox-ext-vnc (7.0.4-1) finished
Download of virtualbox-guest-iso (7.0.4-1) finished
Checking keyring...                                                                                                                                                                                             [7/7]
Checking integrity...                                                                                                                                                                                           [7/7]
Loading packages files...                                                                                                                                                                                       [7/7]
Checking file conflicts...                                                                                                                                                                                      [7/7]
Checking available disk space...                                                                                                                                                                                [7/7]
Installing dkms (3.0.8-1)...                                                                                                                                                                                    [1/7]
Installing virtualbox-host-dkms (7.0.4-1)...                                                                                                                                                                    [2/7]
Installing liblzf (3.6-3)...                                                                                                                                                                                    [3/7]
Installing virtualbox-guest-iso (7.0.4-1)...                                                                                                                                                                    [4/7]

===> virtualbox-guest-iso post install message:
===>
===> Redistribution of VBoxGuestAdditions.iso from the binary packages
===> on www.virtualbox.org with Arch Linux has been granted by
===> InnoTek Systemberatung GmbH.
===>
===> By using this package you accept
===> the VirtualBox Personal Use and Evaluation License (PUEL)
===> which can be found here: http://virtualbox.org/wiki/VirtualBox_PUEL
===>
===> If you do not accept this license, you must remove the package immediately.
===>

Installing libtpms (0.9.5-2)...                                                                                                                                                                                 [5/7]
Installing virtualbox (7.0.4-1)...                                                                                                                                                                              [6/7]
Installing virtualbox-ext-vnc (7.0.4-1)...                                                                                                                                                                      [7/7]
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Running post-transaction hooks...
Creating system user accounts...                                                                                                                                                                                [1/8]
Reloading system manager configuration...                                                                                                                                                                       [2/8]
Reloading device manager configuration...                                                                                                                                                                       [3/8]
Arming ConditionNeedsUpdate...                                                                                                                                                                                  [4/8]
Updating the MIME type database...                                                                                                                                                                              [5/8]
Install DKMS modules                                                                                                                                                                                            [6/8]
==> dkms install --no-depmod vboxhost/7.0.4_OSE -k 5.15.79-1-MANJARO
==> dkms install --no-depmod vboxhost/7.0.4_OSE -k 6.0.9-1-MANJARO
==> depmod 5.15.79-1-MANJARO
==> depmod 6.0.9-1-MANJARO
Updating icon theme caches...                                                                                                                                                                                   [7/8]
Updating the desktop file MIME type cache...                                                                                                                                                                    [8/8]
Transaction successfully finished.
[user@manjaro ~]$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
        available for the current kernel (6.0.9-1-MANJARO) or it failed to
        load. Please recompile the kernel module and install it by

          sudo /sbin/vboxconfig

        You will not be able to start VMs until this problem is fixed.
[user@manjaro ~]$ sudo /sbin/vboxconfig
sudo: /sbin/vboxconfig: Befehl nicht gefunden
[user@manjaro ~]$ sudo /bin/vboxconfig
sudo: /bin/vboxconfig: Befehl nicht gefunden
[user@manjaro ~]$ sudo modprobe -v vboxdrv
insmod /lib/modules/6.0.9-1-MANJARO/updates/dkms/vboxdrv.ko.zst
[user@manjaro ~]$ virtualbox

and you see it just works:

If you have an existing image imported, there could be a difference that the oracle extensions is not installed…

Found the solution in a 3 year old thread somewhere, I added a 5 or 6 letter command in BIOS, which was mentioned in no other source of information that I searched.

and the command was?

Don’t mark such statements as a solution. After 23 days you write this and mark your own thing as a solution? Removed.

Huh?

My apologies, just plainly wasn’t thinking

The solution was adding

ibt=off” to /etc/default/grub on the end of the line beginning with GRUB_CMDLINE_LINUX_DEFAULT= inside the end quotation mark.

Why it works, I have no clue as I haven’t had the time to research it, but it does work.

Does anyone know how you do this on BTRFS?

I’m banging my head against a wall with Virtualbox but I don’ have /etc/default/grub, I’ve got /etc/default/grub-btrfs instead. In there I just have a file called config and no setting of the above name at all.

Really? It’s part of grub package.
Are you using another bootloader then?

Check if grub is installed:

$ pacman -Qs grub

if yes, then re-install to get /etc/default/grub back:

$ sudo pacman -S grub

I’d caution to be careful with that advise.
(@tiefling)

I know next to nothing about BTRFS but I know that there is this package:

Arch Linux - grub-btrfs 4.12-2 (any)

which is likely also in Manjaro repos
and which seems to be specially suited for BTRFS based installations

(just cautioning to not mess up the setup by installing a bootloader not intended for the kind of system)

… look at the Package Contents → view the file list …
there is: /etc/default/grub-btrfs/
with the config inside

Nope - Definitely using Grub, but it’s slightly different on a BTRFS filesystem.

THe issue I have is that etc/default/grub-btrfs/config doesn’t have the GRUB_CMDLINE_LINUX_DEFAULT variable setting.

In /etc/grub.d/30_os-prober I have the following…

      for LINUX in ${LINUXPROBED} ; do
        LROOT="`echo ${LINUX} | cut -d ':' -f 1`"
        LBOOT="`echo ${LINUX} | cut -d ':' -f 2`"
        LLABEL="`echo ${LINUX} | cut -d ':' -f 3 | tr '^' ' '`"
        LKERNEL="`echo ${LINUX} | cut -d ':' -f 4`"
        LINITRD="`echo ${LINUX} | cut -d ':' -f 5 | tr '^' ' '`"
        LPARAMS="`echo ${LINUX} | cut -d ':' -f 6- | tr '^' ' '`"

LPARAMS seems to be the bit that has the kernel parameters in it.

@tiefling as well:
sorry for my post! - I just realized that “grub-btrfs” has “grub” as a dependency
so:
grub should also be installed
which should give you the directory and config file you don’t seem to have
(/etc/default/grub)
with the

line in there

I don’t have this at all - Can I just create it?

I could also try adding this to the grub-btrfs/config file…

GRUB_CMDLINE_LINUX_DEFAULT=“ibt=off”

OK - I can now see /etc/default/grub - Quite why I couldn’t earlier I do not know - Very odd.

(Possibly a case of “/me is a blind idiot…”)

I honestly don’t know - but that file:
/etc/default/grub
with that config option in it
is part of grub
which is a dependency of grub-btrfs - therefore it should be present

ps:
oh - I see it actually is there indeed … :sunglasses:

Yup - Definitely putting this one down to one of those classic bugs that exists between the screen and the keyboard! :man_facepalming: