Port-xen archive

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

Re: vnd and pygrub



On 26 June 2014 18:10, John Hayward <john.hayward%wheaton.edu@localhost> wrote:
> Dear Xen People,
>
> I have a Ubuntu file system set up on a vnd with netbsd dom0.
>
> When pygrub is run to start this system it parses /boot/grub.cfg on the ext
> file system.
>
>
> I modified /usr/pkg/lib/python2.7/site-packages/grub/Grubconf.py to display
> the lines as it is doing the parsing.
>
>
> After starting the ubuntu domu I then make changes to /boot/grub.cfg and
> then
>
> on NetBSD domo run pygrub -n /Xen/fs/johnhubuntu.fs it seems to see a cached
> version of the /boot/grub.cfg
>
>
> If I sync both domu and dom0 pygrub still seems to see the cached version.
>
> Even after 50 minutes it still is seeing the cashed version.
>
> If I wait over night then I see the updated version.
>
>
> If I shutdown the ubuntu domu then pygrub sees the updated grub.cfg
>
>
> Is this an issue with vnd (and is there a way to flush any pending changes
> to vnd) or is this an issue with ubuntu sync not doing what I would expect
> it to do.
>
> Is there a way I can make changes on a ubuntu domu and see the results in
> pygrub on NetBSD dom0 - other than shutting down domu or waiting overnight?

If /boot is a separate filesystem in the DOMU could you try umounting
it then remounting it after making the change?


Home | Main Index | Thread Index | Old Index