Siduction Forum

Siduction Forum => Software - Support => Topic started by: Lanzi on 2025/01/13, 19:29:15

Title: [gelöst]Virtualbox startet nicht - Virtualbox is not starting
Post by: Lanzi on 2025/01/13, 19:29:15
Dies kommt beim aktuellen Kernel:
Quote
VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).
Result Code:
NS_ERROR_FAILURE (0X80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

Ideen? Ideas?

Mit Kernel 6.11. kommt folgendes:

Quote
Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

Geändert von scholle1 2025-01-16: Betreff als gelöst markiert.
Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: towo on 2025/01/13, 20:14:26
kvm.enable_virt_at_load=0

Als Grub-Parameter einfügen, == update-grub ==> reboot ==> fertig.
Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: Lanzi on 2025/01/13, 22:15:10
Wow, du bist wie immer schnell und zielführend. Danke

Eine Frage noch:
Wo füge ich den Parameter ein?
/etc/default/grub.d/siduction?
oder neue Datei in /etc/default/grub.d/

oder in /boot/grub/grub


Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: towo on 2025/01/13, 22:48:07
In /etc/default/grub da es nur dort einen CMDLINE Eintrag gibt.
Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: Lanzi on 2025/01/13, 23:47:42
Da gibts jetzt drei Versionen. Habe ANgst, dass das System nicht startet:

Möglicvhkeit 1 & 2_

Also statt: GRUB_CMDLINE_LINUX=""

GRUB_CMDLINE_LINUX=kvm.enable_virt_at_load=0

oder
GRUB_CMDLINE_LINUX="kvm.enable_virt_at_load=0"

oder 3.
GRUB_CMDLINE_LINUX=""
kvm.enable_virt_at_load=0


Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: Lanzi on 2025/01/14, 17:42:59
Hilfe wäre nett, habe Angst , dass das System nicht startet.

Habe nie mit Grub 2 gearbeitet, bitte, wie füge ich diesen Parameter zu?
Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: ro_sid on 2025/01/14, 18:01:57
Variante 2, vorsichtshalber mit "...".
Es gibt auch noch GRUB_CMDLINE_LINUX_DEFAULT, falls es "überall" sein soll.

Vielleicht es erst einmal provisorisch ausprobieren:
Wenn das Grub-Menü erscheint mit den Cursortasten auf den gewünschten Eintrag gehen, dann "e" für Edit eingeben, in die Linux Kernelzeile gehen, dort kvm.enable_virt_at_load=0 "anhängen" und dann die so erzeugte Variante (nur einmalig, da nicht gespeichert) ausführen.
Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: scholle1 on 2025/01/14, 18:14:28
Wenn du vorsichtig bist, dann brauchst du keine Angst haben.
Zuerst
cp /etc/default/grub /etc/default/grub-bad

Dann die Datei ändern.
Wenn etwas schief läuft mit dem siduction ISO booten und dem chroot-Helfer die Datei zurück kopieren.
Title: Re: Virtualbox startet nicht - Virtualbox is not starting
Post by: Lanzi on 2025/01/14, 18:35:19
So, Variante zwei hat prima geklappt. Virtualbox startet wieder.
Dank Euch allen!

So nach und nach läuft Plasma 6 fast schon wieder wie Plasma 5. Sind noch ein paar Hakeligkeiten.
Danke bis hierhin.
Title: Re: [gelöst]Virtualbox startet nicht - Virtualbox is not starting
Post by: Rienniev on 2025/01/16, 17:00:45
If you're using KVM, try disabling it. You can do this by blacklisting the kvm module. Just add kvm to /etc/modprobe.d/blacklist.conf and reboot.
It seems like the VirtualBox kernel modules are not installed correctly. Try reinstalling VirtualBox and the virtualbox-dkms package. After reinstalling, load the modules manually. If you have Secure Boot enabled, you might need to sign the kernel modules. Check your Linux distro's documentation for how to do this.