JREN JREN - 11 months ago 55
Linux Question

How do I remove Xen from Ubuntu?

I was trying to install VM software on my Ubuntu system. Since I'm not very familiar with linux I followed a guide on the official Ubuntu site. Now I am running Ubuntu in a Xen environment, but I don't want to use Xen to make my virtual machines.

I installed Virtualbox in order to create my VM's, but Virtualbox doesn't run in a Xen environment.

I have tried googling for a way to remove Xen from my system, but I am unable to do it. This is what I've tried so far:

  • Editing
    set default="Xen 4.1-amd64"
    to set
    which was recommended by a tutorial. It made my laptop start up in recovery mode and I had to generate a new grub config file which put the default back to xen.

  • Editing
    but I don't have any files called that on my system

user@BEL-8WF4XW1:~$ sudo find / -name menu.lst


  • Looking through software center, but I couldn't find anything about Xen

  • The command
    make uninstall
    but I didn't use the source code.

  • I also tried to install
    and do
    sudo yum install kernel
    followed by
    sudo yum remove xen kernel-xen libvirt
    but that also didn't work.

I'm quite lost to be honest. Can anyone help me to get my Ubuntu back to how it was before I tried to follow that guide?

Answer Source

You can just try

sudo apt-get remove xen-hypervisor-amd64


dpkg -i xen-hypervisor-amd64

to see which xen files have been installed in your machine