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] grub2 issues

To: John McMonagle <johnm@xxxxxxxxxxx>
Subject: Re: [Xen-users] grub2 issues
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Sun, 13 Mar 2011 08:43:02 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 12 Mar 2011 17:44:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201103111250.52920.johnm@xxxxxxxxxxx>
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: <201103111250.52920.johnm@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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