Score:0

How to stop loading Xen 4.9-amd64 on boot

jp flag

I installed xen on ubuntu following this question. Now, when I boot ubuntu 18.04, it takes ages and it says in the beginning:

Loading Xen 4.9-amd64 ...
WARNING: no console will be available to OS
Loading Linux 4.15.0-144-generic ...
Loading initial ramdisk ...

How can I stop Xen from loading and delete it altogether. In short how do I get back my old OS or What did Xen destroy in my system settings?

When I installed Xen also messed with /etc/network/interfaces, which now looks like this:

# interfaces(5) file used by ifup(8) and ifdown(8)
# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
iface eth0 inet dhcp

Maybe that could be the cause?

Score:1
in flag

It should be possible to remove Xen and its related packages with a simple:

sudo apt purge xen*

As for the /etc/network/interfaces file, that looks to be pretty standard for a machine with one network connection and using DHCP. If you have configurations in your interfaces.d directory, then you may need to add this to the the top of the file:

source /etc/network/interfaces.d/*
jp flag
Thanks a lot @matigo. When booting ubuntu "Loading Xen 4.9-amd64 ..." is not displayed anymore. But it still takes ages (~5 min) compared to my pre-xen situation. So it seems that xen has nothing to do with the slow booting. I will accept your answer nevertheless, because it stopped the display of "Loading Xen ... ". However if you have some ideas what could have made my booting go so slow, let me know.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.