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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Thomas Richard <thomas9999@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Wed, 16 Jun 2010 09:29:02 -0700 (PDT)
  • Cc:
  • Delivery-date: Wed, 16 Jun 2010 09:32:25 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=SI0Fy7/Q5hngCquullXtEkcN58pPL/CXbvp/zVjcRKcF6jPAqw71P9shH4P4Y1m5GKXQFDf8zNMB5Rb+A+ouujgZ/3+d2/+kHWp6Fo+6KQxOWgur25QamIODkCQmOyPtBR5i3gEUAOesLVcTzWILYjycQmPlJLKwhudPRgfv/5U=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

This one should work:-

menuentry "Xen 4 / Ubuntu 10.04 kernel 2.6.32.15" {
insmod ext2
set root='(hd2,2)'
multiboot (hd2,2)/boot/xen.gz dummy=dummy
module (hd2,2)/boot/vmlinuz-2.6.32.15-xenpci dummy=dummy nopat root=/dev/sdc2 ro console=tty0
module (hd2,2)/boot/initrd.img-2.6.32.15-xenpci
}

My current env :-
menuentry "Xen 4.0 / Ubuntu 10.04 kernel 2.6.32.15" {
insmod ext2
set root='(hd0,9)'
multiboot (hd0,9)/boot/xen.gz dummy=dummy
module (hd0,9)/boot/vmlinuz-2.6.32.15 dummy=dummy nopat root=/dev/sda9 ro console=tty0
module (hd0,9)/boot/initrd.img-2.6.32.15
}


Boris.

--- On Wed, 6/16/10, Thomas Richard <thomas9999@xxxxxxxxx> wrote:

From: Thomas Richard <thomas9999@xxxxxxxxx>
Subject: [Xen-users] Problem with grub2 and xen (Ubuntu 10.04)
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, June 16, 2010, 12:12 PM

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)'
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
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®.