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

Re: [Xen-users] Problem with grub2 and xen (Ubuntu 10.04)


  • To: Thomas Richard <thomas9999@xxxxxxxxx>
  • From: Bruce Edge <bruce.edge@xxxxxxxxx>
  • Date: Wed, 16 Jun 2010 09:28:29 -0700
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 16 Jun 2010 09:29:48 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=n0mHCZzdyCWeab9cTmDCCeG4j/BYEmWTQEskCesvI8FPZo6iSx1fMAb7Dv+/NAWcPz 4r/pk9ji2/j7pL9FdxC0/Zliir7qSjIjoA6eBAc3+ujkFa8z0ZckzZ8pjH5ETGbh/KJH sudHkTdC6fq6o6xY66/60e/PnqEJdG19NanxY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Jun 16, 2010 at 9:12 AM, Thomas Richard <thomas9999@xxxxxxxxx> wrote:
Hey all,

I tried to install xen 4.0.1-rc3pre on my ubuntu installation. The
installation seemed to work. I also compiled my own dom0 kernel
(2.6.32.15). The kernel works perfect when i boot it without xen.
However, when i want to start the xen hypervisor i get the following
error from grub: "Error: couldn't open file", followed by some lines
that say that the multiboot kernel should be loaded first.

This is my menu entry:
menuentry "Xen 4 / Ubuntu 10.04 kernel 2.6.32.15" {
insmod ext2
set root='(hd2,2)'

Drop the quotes from the above?
 
multiboot (hd2,2)/boot/xen.gz /boot/xen.gz
module (hd2,2)/boot/vmlinuz-2.6.32.15-xenpci dummy=dummy nopat
root=/dev/sdc2 ro console=tty0 ro console=tty0

I had some problems with different xen / dom0 combinations not being able to handle all forms of root fs designations,.
Try the "root=UUID= ... " format on the kernel command line.
 
-Bruce

module (hd2,2)/boot/initrd.img-2.6.32.15-xenpci
}

I'm pretty sure that hd2,2 is correct as booting the linux kernel with
that drive as root works. I also tried without the /boot but that
didn't help. Does anyone have an idea what causes this problem?

Thanks
Thomas Richard

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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