installation de VirtualBox debian 12

Partagez ici vos Trucs et vos Astuces.
Répondre
Avatar de l’utilisateur
Grhim
Membre très actif
Membre très actif
Messages : 1385
Inscription : 30 mai 2016, 01:00
Localisation : kekparr'par'là
Status : Hors-ligne

allé, un reminder à nourrir au cas par cas

pour version Stable Debbie 12

la méthode Gebi (sympa car l'installateur te dit si un package manque ou pose problème ou si tout est ok & te désinstalle si besoin le .deb aussi) pour les flemmards ou les anxieux

Code : Tout sélectionner

sudo apt install gdebi
on telecharge le .deb virtualbox debian 12 : https://www.virtualbox.org/wiki/Linux_Downloads

après install tu sera notifié possiblement d'un :


There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may 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.


et si tu lance tout de même une install virtuel tu aura (car virtualbox te dis ou ça ne va pas :lol: ) :

Code : Tout sélectionner

# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
    linux-headers-amd64 linux-headers-6.1.0-13-amd64
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
    linux-headers-amd64 linux-headers-6.1.0-13-amd64

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may 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.

donc en console :

Code : Tout sélectionner

sudo apt install linux-headers-amd64 linux-headers-6.1.0-13-amd64
puis le sbin/vboxconfig

Code : Tout sélectionner

# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.

et c'est tout bon pour la stable

pour Debian Testing, voir ce super sujet avec rétroportage inclus : viewtopic.php?t=2995

:006:
Debian Stable + Testing -.- Kali Exegol -.- Raspberry IPFire
Avatar de l’utilisateur
dezix
Membre hyper actif
Membre hyper actif
Messages : 3546
Inscription : 04 juin 2016, 14:50
Status : Hors-ligne

Salut!

:good: C'est Cool et Court... plus d'excuses pour ne pas réinstaller Vbox :rolleyes:

Merci
:drinks:
**Simple Utilisateur** -- Debian stable - XFCE
Avatar de l’utilisateur
Grhim
Membre très actif
Membre très actif
Messages : 1385
Inscription : 30 mai 2016, 01:00
Localisation : kekparr'par'là
Status : Hors-ligne

Et ne pas oublier d’activer le virtuel dans le bios , pour amd c'est AMD-V sinon ça ne se lancera pas !
Debian Stable + Testing -.- Kali Exegol -.- Raspberry IPFire
Répondre