web-dev-qa-db-fra.com

L'exécution de VirtualBox dans un environnement Xen échoue

Ainsi, virtualbox ne s'entend pas avec xen. Comment puis-je tuer/désinstaller/supprimer xen du terminal afin que le processus DKMS aboutisse?

aborns@nautilus:~$ Sudo apt-get remove xen-hypervisor-4.5-AMD64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cpu-checker grub-xen-bin grub-xen-Host ipxe-qemu libboost-thread1.58.0
  libfdt1 librados2 librbd1 libspice-server1 libusbredirparser1 libxen-4.5
  libxenstore3.0 msr-tools qemu-block-extra qemu-system-common qemu-system-x86
  qemu-utils seabios xen-utils-4.5 xen-utils-common xenstore-utils
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  xen-hypervisor-4.5-AMD64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,890 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 208723 files and directories currently installed.)
Removing xen-hypervisor-4.5-AMD64 (4.5.1-0ubuntu1.3) ...
Including Xen overrides from /etc/default/grub.d/xen.cfg
WARNING: GRUB_DEFAULT changed to boot into Xen by default!
         Edit /etc/default/grub.d/xen.cfg to avoid this warning.
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.2.0-34-generic
Found initrd image: /boot/initrd.img-4.2.0-34-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
aborns@nautilus:~$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.2.0-34-generic) or it failed to
         load. Please recompile the kernel module and install it by

           Sudo /sbin/rcvboxdrv setup

         You will not be able to start VMs until this problem is fixed.
aborns@nautilus:~$ Sudo /sbin/rcvboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...failed!
  (Running VirtualBox in a Xen environment is not supported)
aborns@nautilus:~$ 

Merci!

2
Stan

Vous devez purge tous les xen-hypervisor paquets liés:

Sudo apt-get purge 'xen-hypervisor*'

Supprimez maintenant les packages installés en tant que dépendances, mais dont vous n'avez plus besoin après l'action de suppression ci-dessus:

Sudo apt-get autoremove

En une fois:

Sudo apt-get purge 'xen-hypervisor*' && Sudo apt-get autoremove
2
heemayl