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

[Xen-users] Re: Pygrub Installation

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Pygrub Installation
From: Christian Tramnitz <chris.ace@xxxxxxx>
Date: Thu, 13 Aug 2009 12:02:55 +0200
Delivery-date: Thu, 13 Aug 2009 03:03:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <683099EDC3E36D40942EBF636EB88BF006F889FD@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <683099EDC3E36D40942EBF636EB88BF006F889FD@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)
James Dingwall wrote:
[..]
The domU is a 64-bit Gentoo install. So far I have installed grub-static
(0.97-r9) into the domU, copied my existing kernel and ramdisk to /boot
and setup the the grub.conf / menu.lst file. If I try now with the boot
loader then I get "Error: Boot loader didn't return any data".  The wiki
page isn't entirely clear on this point but I think I need to do grub
root(hd0,0), setup(hd0,0)?  However, I'm unable to complete this step
since grub does not detect the virtual disks as BIOS devices, even after
adding entries to device.map.  Any hints on how to get this working?

This is a bug in pygrub, the solution is to delete line 538 in pygrub:
log.debug("PyGrub: Default selection is not valid, using first boot configuration...")


For further details have a look here:
http://permalink.gmane.org/gmane.comp.emulators.xen.devel/69803


Best regards,
   Christian


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

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