Why can't I boot into xen?
Solution 1
Someone suggested to set my BIOS to do legacy booting, so I put my BIOS in Legacy+UEFI mode. It didn't work, so I thought maybe Ubuntu had to be installed without the extra UEFI boot files, but I never got a chance to. Before I left for the weekend, I booted into Windows to do some work. I randomly decided to run my motherboard's updating program (Windows only - luckily I just bought Windows) which was taking hours, so I just left it running. Came back after the weekend, and it just worked! Specifically, I updated my BIOS from version 1.00 to 1.60.
For whoever is unlucky enough to have the same exact problem: link to BIOS upgrade tool.
Solution 2
If you want to check the error logs, mount the LVM and check if there's some in /var/log/.
BTW, Xen server works fine in my VMware VirtualMachine.And the same with VirtualBox VM.
http://blogs.citrix.com/2011/01/23/xenserver-in-virtualbox/
Solution 3
Fixed by legacy booting
I was just having the same problem on my Intel NUC. The system was installed to boot as EFI and legacy booting was completely disabled in BIOS.
After installing xen-hypervisor, I ran into the same reboot loop.
What fixed the problem for me was enabling legacy booting again, although the system is still booting via EFI and not even capable of booting to legacy.
Related videos on Youtube
ubomb
Updated on September 18, 2022Comments
-
ubomb over 1 year
I started out with a fresh install of
Ubuntu 14.04
server set up on a 10GBLVM
partition. The only other thing I did was to then install thexen-hypervisor
:sudo apt-get install xen-hypervisor-amd64
I double checked that my hardware could support it (MSI Z87I motherboard and Intel i5-4570S cpu) and that I had virtualization set in the
BIOS
. I also double checked thatGRUB
defaults to boot intoxen
and that thexen
toolchain is set toxl
(not that that would likely cause my problem).However, my system enters an endless cycle of booting up and rebooting until I tell
GRUB
to boot into regularUbuntu
. Here are the only things that show up whenever it tries booting intoxen
:Loading Xen 4.4-amd64 ... WARNING: no console will be available to the OS Loading Linux 3.13.0-24-generic ... Loading initial ramdisk ...
And then it reboots the system. Is there any error logs to check or any other boot parameters to try (the parameters are still set to the default)? Is it related to the above
WARNING
?Edit: I gave up since there was nothing to go on and ended up dual-booting
Windows
andUbuntu
. I'd be willing to re-install on another partition if anyone has any ideas however.-
jobin about 10 yearsWhich tutorial have you followed to install xen? Here is a helpful one, see if this helps.
-
ubomb about 10 yearsThat's the one I used. It's outdated, but it basically does exactly what I said. It runs
apt-get install
and then changes thegrub
file and thexen
toolchain; those two changes seem to be part of the actual install now, but I double checked to be safe as described in my post. -
ubomb about 10 yearsThe problem is right after that when it tells you to
reboot
. It simply won't boot intoxen
and endlessly reboots. -
CatMan almost 6 yearsYou have a chance to see the error causing this when adding in /etc/default/grub file the line GRUB_CMDLINE_XEN="noreboot". In my case it showed my errors I did not see before. I could not solve it, but at least it is a lot more informative than "Loading initial ramdisk..."
-
-
ubomb almost 10 yearsK - I'll try checking the logs after I get off work.
-
KikiYu almost 5 yearsAmazing! It solves my problem, too.