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-devel

Re: [Xen-devel] Re: Bug in pygrub? Boot loader didn't return any data!

To: Christian Tramnitz <chris.ace@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Bug in pygrub? Boot loader didn't return any data!
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sat, 08 Aug 2009 18:21:18 +0100
Cc:
Delivery-date: Sat, 08 Aug 2009 10:21:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <h5k6rn$t65$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoYQAcV3UHncdq4RfCzkyZLtWHlJwADJzSs
Thread-topic: [Xen-devel] Re: Bug in pygrub? Boot loader didn't return any data!
User-agent: Microsoft-Entourage/12.20.0.090605
Can you try removing line 538:
       log.debug("PyGrub: Default selection is not valid, using first boot
configuration...")

...from /usr/bin/pygrub? I think its inclusion may be an error.

 -- Keir

On 08/08/2009 16:50, "Christian Tramnitz" <chris.ace@xxxxxxx> wrote:

> The problem seems to be related to the "-q" (quite) option, when invoked
> standalone I'm getting the following error:
> 
> 
> /usr/bin/pygrub -q /dev/vg00/test
> Traceback (most recent call last):
>    File "/usr/bin/pygrub", line 684, in <module>
>      chosencfg = run_grub(file, entry, fs, incfg["args"])
>    File "/usr/bin/pygrub", line 538, in run_grub
>      log.debug("PyGrub: Default selection is not valid, using first boot
> configuration...")
> NameError: global name 'log' is not defined
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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