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] Re: Pygrub Installation

To: "Christian Tramnitz" <chris.ace@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Re: Pygrub Installation
From: "James Dingwall" <james.dingwall@xxxxxxxxxx>
Date: Thu, 13 Aug 2009 12:17:21 +0100
Cc:
Delivery-date: Thu, 13 Aug 2009 04:18:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <h60oci$mqt$1@xxxxxxxxxxxxx>
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> <h60oci$mqt$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acob/W5y4unHjpcqQT6WdyZqtLfEQQACakiA
Thread-topic: [Xen-users] Re: Pygrub Installation
>> 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...")

I have made a copy of pygrub with that line removed, running directly
against the rootlv gives

/tmp/pygrub /dev/systemvg/domU_rootlv
Traceback (most recent call last):
  File "/tmp/pygrub", line 675, in <module>
    fs = fsimage.open(file, get_fs_offset(file))
IOError: [Errno 95] Operation not supported

Thanks,
James

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

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

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