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] Install Ubuntu Server 10 as PV Guest

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Install Ubuntu Server 10 as PV Guest
From: KC LO <kclo2000@xxxxxxxxx>
Date: Tue, 22 Jun 2010 17:59:37 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Jun 2010 03:01:52 -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=9ZbzW0qe9NzA6znuHGnxWf5h1CbWAknjw4Qi6knKVoM=; b=EfSE1hW62A60Z2AR+MaM12qIpUBfynlt+ka9BLRlC/d2m/y0lIMvjFLwLbLAvyHs3c t38Wxv3Az7Ub+nBSIhmaE9Smw2OweyZtO27mWk4DW0QiqBcrdji8s8UMmJgiGGqHHRdA iHxJZdyvrJoxaTmAQkcJKoQpSeTNuuWFpMfGg=
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=p++yGW8RH6NrxM58pWRmkkBOVK69OkDyzQltiivx0DPkrRXMP8eAKU4sQmQ1c+SRfh QcsWY/yBldIHrFLZOvRjgkrI7Hs5pTYtOprmYiws/ufHlbaRoo8b2duaooeGp47JQBuo S2jnME09cfGXX8D+scrMNieAQcpTOfMl1S4bw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik1v5nCoJC7BK-t2mTEQVAOgW7YZLIK5ivyGS2I@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: <AANLkTikKH3RquyPLGQ3E7c2RJB7UaKrImP8bjfMo-LWs@xxxxxxxxxxxxxx> <AANLkTikCL9I-JjIxOCpgJ7IKcWFHnUbQKZclJfgeU4v8@xxxxxxxxxxxxxx> <AANLkTinuC7C4oIh_w7E_7eZHAGuzSxQC7hBod1cLCe9F@xxxxxxxxxxxxxx> <AANLkTimj2v-6E9DfIOmT1MsPPBiNuVXSPm5cQbIWdlRM@xxxxxxxxxxxxxx> <AANLkTikojAk1sOuqVrHkBQiwuzU6lqLGMF_Wv1TX8jmO@xxxxxxxxxxxxxx> <AANLkTimElHSRLHX7P7ClSHOUvzTe32Dzvwzk2dhz0t2h@xxxxxxxxxxxxxx> <AANLkTilPhwY8Nqe234SYBL2MeukKxEpWTgS44wGYV4Q5@xxxxxxxxxxxxxx> <AANLkTik1v5nCoJC7BK-t2mTEQVAOgW7YZLIK5ivyGS2I@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,
Thanks for your advice.  I follow procedure from Ubuntu website on removing grub2 and intsall grub.  I can use pygrub to boot the ubuntu.  One more things that I have changed is that the /boot/grub/menu.lst is using uuid to refer hard drive of ubuntu.  I need to remove all uuid keywords in the file and use /dev/xvda instead.  Otherwise, pygrub can't understand uuid

On 22 June 2010 08:57, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Mon, Jun 21, 2010 at 10:19 AM, KC LO <kclo2000@xxxxxxxxx> wrote:
> I have copied kernel and ramdisk to the DOMU and it worked fine even the
> /boot is under partition of ext4.

You mean copy to dom0, right?

> However, the pygrub still fails for partition of ext3 with same error.

You mean you reinstall domU's so it's ext3 now?

> Below is my DOMU config
> name = "test"
> memory = "2048"
> bootloader="/usr/bin/pygrub"
> extra = "(hd0,0)/grub/menu.lst"

pygrub does not need "extra" line. pv-grub does.
Also, if /boot is not its own partition, the "extra" line for pv-grub becomes

extra = "(hd0,0)/boot/grub/menu.lst"

> When I replace with kernel and ramdisk, ubuntu can boot successfully.  Any
> ideas?

So it's down to pygrub problem now.
Not really sure what the problem is. It might be a problem with pygrub
parsing grub2's config file, but I'm not really sure. Perhaps you can
try uninstalling grub-pc on domU (which is grub2, the default for
Lucid), and use grub (the legacy grub) instead. Afterwards, make sure
there's a /boot/grub/menu.lst with the correct entries (you might need
to run update-grub first)


Xen-users mailing list