[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] pygrub lvm partition & grub.cfg question


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.