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: Bruce Edge <bruce.edge@xxxxxxxxx>
Subject: Re: [Xen-users] pygrub lvm partition & grub.cfg question
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Sun, 11 Jul 2010 19:40:33 +0700
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 11 Jul 2010 05:41:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilW2iMP3YqLd2my_1S2U-WkXGVTFI1qEPdwrTwf@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>