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/
Home Products Support Community News


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

To: Thomas Richard <thomas9999@xxxxxxxxx>
Subject: Re: [Xen-users] Problem with grub2 and xen (Ubuntu 10.04)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=wavAxTc/O36SeYN0w9H7S65BVOntkp+cpbSsS4iDP48=; b=w6n1LYNOBFBf0DpXmTsam744rpL3P/5vKp3pafNFuAu96uZkbovI7b/DinxymUHFcd 01nCoLe4bcjvOU9Yez/Gi2OvjPi7DHmOKrvwUauULhm+z2cAu0ZJ4FGOG9ZAYzbZ0xVk E56Tbcw6TEigLOx6gwt0w1er71e0Qs5t13m+0=
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=
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>
References: <AANLkTiljLMmDOLCFTI9S9l2cziNAT-kWe-DSyKjvBjLy@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
( 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" {
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- 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.

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

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?

Thomas Richard

Xen-users mailing list

Xen-users mailing list