[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [URGENT] How to boot DomU from customized kernel

  • To: xen-users@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Mon, 06 May 2013 11:53:09 -0500
  • Delivery-date: Mon, 06 May 2013 16:54:16 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>


El 30/04/13 16:16, Anand Mundada escribió:
I am using Xen hypervisor for my class project. I need to boot DomU from
my custom kernel. I have compiled the kernel code inside DomU and
created the initramfs. I can see its entry after update-grub. But when I
reboot, I am getting following error:
Error: Boot loader didn't return any data!

There are several possible causes of this issue.

The most common are:
- Incorrect order of element in "disk" array in the config. Not you case, I see only one disk. - Boot partition formatted as ext3 with wrong options or as ext4. It has to be ext3 and inode-size set to 128 bytes (mkfs.ext3 default is 256 , use -I option), otherwise pygrub will not be able to read it.
- Grub config file in Dom0 missing or with errors.

In order to get more details from pygrub, try to do a manual run:
/usr/lib/xen-default/bin/pygrub /dev/VG/ubuntu
(might need something extra on your system, like creating manually a temporal directory to put kernel and initrd)


Alexandre Kouznetsov

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.