[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Guest boot loader support
On 4/27/05, Hollis Blanchard <hollisb@xxxxxxxxxx> wrote: > Mark Williamson wrote: > >>ok, i see the point. > >> > >>other question: pygrub::get_config(fn) tries to read > >>"/boot/grub/grub.conf". Normally this should be "/boot/grub/menu.lst". > >>I wonder which distro are you working on? > > > > My FC3 box has menu.lst as a symlink to grub.conf. Grub seems to be happy > > with either of these names. Painful experience suggests that if both files > > are present, then "menu.lst" will "win". > > GRUB only looks for menu.lst; distros create symlinks because that's a > terrible name for a config file. In other words, no code should be > opening grub.conf... > ok, so here is a quick patch to fix the "/boot/grub/grub.conf" problem. Please apply this after applying the last Jeremy's patch. list of changes: - make a dummy file tools/pygrub/src/__init__.py - open and parse /boot/grub/menu.lst instead of /boot/grub/grub.conf $ diffstat xen-bootloader.aq.patch __init__.py | 1 + pygrub | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx> Attachment:
xen-bootloader.aq.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |