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!
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.
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
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.
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.
@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
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
This solution is helpful if you have an Intel CPU of the 11th generation or newer installed in your computer.
If you encounter error messages when you enter the following command.
journalctl -k --grep=ENDBR
An adjustment of the kernel parameters in the GRUB settings can be helpful.
The grub settings can be found here: /etc/default/grub
After adjusting the settings do not forget to update grub with the following command:
sudo update-grub
You can also adjust the kernel parameters at boot time. Then they are only valid for the current boot process.
Simply press the E key in the GRUB OS selection.
Thank you! It took me all day to find this little piece of information.
Recently I upgraded to the linux61 kernel and my virtualbox just stopped working.
Adding your suggestion fixed my problem. Life saver!