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

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Pygrub Installation
From: "James Dingwall" <james.dingwall@xxxxxxxxxx>
Date: Thu, 13 Aug 2009 10:56:10 +0100
Delivery-date: Thu, 13 Aug 2009 02:56:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acob/EjkTjuVIjL8TzSsPidELtOLgg==
Thread-topic: Pygrub Installation
Hi,

I've tried to convert a PV domU from using static kernel, ramdisk lines
in the configuration to bootloader.  I have checked the pygrub page in
the Xen wiki and done some googling but have not yet managed to solve my
problems.  My disk section in the configuration looks like:

disk = [ 'phy:systemvg/domU_rootlv,xvda1,w' ,
         'phy:systemvg/domU_swaplv,xvda2,w' ,
         'phy:systemvg/domU_optlv,xvda5,w' ,
         'phy:systemvg/domU_usrlv,xvda6,w' ,
         'phy:systemvg/domU_varlv,xvda7,w' ,

         'phy:datavg/domU_datalv,xvdb1,w' ]

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?

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>