WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx, Thomas Richard <thomas9999@xxxxxxxxx>
Subject: Re: [Xen-users] Problem with grub2 and xen (Ubuntu 10.04)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1276705742; bh=M325QMuqIXs/Zei+4jdGlbOGDTWNLfTHoKx7abYykvw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=dIvCnt/AHo2/BgDecsF+/3xl7q9vaAqyvEttxpmuOD84vNsZpAOBD5I+myR5iyhb8i1MiIax2hxwgSbjdW/st4/cw26h5qg9+txER/XdFQKTKipgmEwXiO+1qaRwcMnGXSf4xdXk+xJnzK2eOkBgCEZhUyR/0sMaz1p2d6AyPzU=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTiljLMmDOLCFTI9S9l2cziNAT-kWe-DSyKjvBjLy@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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