A execução do VirtualBox em um ambiente Xen falha

2

Portanto, o virtualbox não se dá bem com xen . Como faço para matar / desinstalar / remover xen do terminal para que o processo DKMS seja bem-sucedido?

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:~$ 

Obrigado!

    
por Aaron Borns 22.03.2016 / 01:44

1 resposta

2

Você precisa de purge all xen-hypervisor pacotes relacionados:

sudo apt-get purge 'xen-hypervisor*'

Agora, remova os pacotes que foram instalados como dependências, mas que não são mais necessários após a ação de remoção acima:

sudo apt-get autoremove

De uma só vez:

sudo apt-get purge 'xen-hypervisor*' && sudo apt-get autoremove
    
por heemayl 22.03.2016 / 04:23