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] pygrub lvm partition & grub.cfg question

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] pygrub lvm partition & grub.cfg question
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Sun, 11 Jul 2010 12:53:16 -0700
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 11 Jul 2010 12:54:35 -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=4J77FAPtSzQqG5Lh66meKhMSW68CZ92Nm80blu+hA7E=; b=b8kf6bAxXG0ceE+6PDfOiopICpkR1IV56HPoBXEOFq0xWXR7sg4zVv9T44UwdV5wiN AMITUxDEFUFEKaf2VMPs8Hz8ce060540r8VMe4e3e4qxwqO9q6e/cFoYWEZFV45QAmVl imTVBKFw2cpcq8jiD8Jj6DNu1a1CXA8ZKeaYM=
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=IvUFWh34RHOMhgNvvXPfaSHMepqPyBPXen/iI9yelR0/+QpHAoKgbk13j3DdQUXzhH qhGy38PgjjHUGzLL2TAliKjZPR9njT/z1Uz6NCF+P6x3uuW5115Xhgv+6vdHvdZUeXRb 9IvgyfWdySH2BQ85q1kgMzzSXItx2kBxTDne0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin4ScfGxBcsvISatU6j7Y10QTQ0oy2gfuUehi3T@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: <AANLkTilW2iMP3YqLd2my_1S2U-WkXGVTFI1qEPdwrTwf@xxxxxxxxxxxxxx> <AANLkTin4ScfGxBcsvISatU6j7Y10QTQ0oy2gfuUehi3T@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Jul 11, 2010 at 5:40 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Sun, Jul 11, 2010 at 6:41 AM, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
> pygrub /dev/mapper/dpm_0:
>
>     pyGRUB  version 0.6
>  ┌────────────────────────
>  │ dpm-domu , with Linux 2.6.32.16
> The 2nd boot entry is missing - why is it not seeing the embedded partition?
> But if I run
> pygrub /dev/mapper/dpm_0p1, I see the new boot entry::
>     pyGRUB  version 0.6
>  ┌────────────────────────
>  │ dpm-domu , with Linux 2.6.32.16
>  │ dpm-domu , with Linux 2.6.32
> Shouldn't pygrub see the 2nd boot entry when pointed at the lvm partition
> /dev/mapper/system-dpm_0
> as opposed to the embedded partition pygrub /dev/mapper/dpm_0p1 ?
> Where is the second copy of the grub.cfg?
> I thought there was no boot sector grub.cfg anymore.
> Is that not the case?

Short summary, there might be some caching issue involved there. Try
something like

echo 3 > /proc/sys/vm/drop_caches

Then test again with pygrub

 
That was it. Thanks! 

I would have thought that 'sync' would do the same thing, but it doesn't. 

-Bruce
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>