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

Re: [Xen-users] grub2 issues



On Sat, Mar 12, 2011 at 1:50 AM, John McMonagle <johnm@xxxxxxxxxxx> wrote:
> There are these xen entries in boot.
>
> xen-4.0.1.gz
> xen-4.0.gz
> xen-4.gz
> xen.gz
> xen-syms-4.0.1
>
> It creates menu entries for all 5 of these as being a Xen hypervisor.
> 3 are links and at least work but xen-syms-4.0.1 is not a  Xen hypervisor.
>
> I'm ok with putting in a bug report but what is a good solution?
> Is this a generic grub2 setup or is it particular to debian?

Upstream grub-1.99~rc1 has this

xen_list=`for i in /boot/xen*; do
        if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi

so it should be generic, and filing an upstream bug report will be more useful

> Is it safe to say hypervisor ends with .gz? If so at least changing xen* to
> xen*.gz would get rid of syms.

RHEL5 uses /boot/xen.gz-4.0.1 naming convention. Granted RHEL5 doesn't
use grub2, but IMHO if you want to generalize better just:
- use /boot/xen*gz*
- only use files that are NOT symlink

-- 
Fajar

_______________________________________________
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®.