geroldM

Xen Error: Can't Find Hypervisor Information in Sysfs

| Comments

Got this error before when installing Xen 4 on Debian Squeeze:

1
2
  WARNING!  Can't find hypervisor information in sysfs!
  Error: Unable to connect to xend: No such file or directory. Is xend running?

This means that you’re still running a Xen-ready kernel, but not the Xen hypervisor itself and you won’t be able to boot your virtual machines. This is just a boot order issue with Grub. Most likely the xen hypervisor was assigned a 20_linux_xen but you also have 10_linux from your previous kernel. All you need to do is make grub boot from 20_linux_xen.

To change the oder to boot from xen hypervisor just move the first one in order (10_linux) to the end, like 50_linux

1
2
mv /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2

Update Warning: Based on feedbacks some people booted into memory test (memtestx86+). This happens when memtestx86+ is also on the grub list and has higher priority (lower number) than your linux_xen kernel. Before you reboot review the list first and make sure order is correct, that is having linux_xen load first before memtestx86+ or other kernels.

Example:

1
2
ls /etc/grub.d/
00_header  05_debian_theme  20_linux_xen  30_os-prober 40_custom  41_custom  50_linux README

When all is looking good you can proceed with reboot:

1
reboot

You should have the xen hypervisor loaded.

Comments