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 setup

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] pygrub setup
From: jonr@xxxxxxxxxx
Date: Fri, 3 Oct 2008 16:36:17 -0800
Delivery-date: Fri, 03 Oct 2008 17:36: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
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)
Hello List,

I am now on to trying to figure out pygrub but am not finding much help from google. Whenever I try and boot it using pygrub I get this error:

Using config file "/etc/xen/newnev2".
Error: Boot loader didn't return any data!

Xen 3.2.2
DomU kernel = 2.6.25.13

this is what I think I need to do but is not working:

DomU:
1. Create a menu.lst in domU
2. Copy the vmlinuz and initramfs into the /boot of DomU
~unsure about the below~
3. Download the kernel.org 2.6.25.13 kernel into domU and build it.

Dom0:
1. In the domU config file remove the 'kernel' and 'ramdisk' stanzas and replace with the 'bootloader = /usr/bin/pygrub' stanza.


This is my /boot/grub/menu.lst in domU:

default         0
timeout         5

title           Xen 3.2.2 vmlinuz-2.6.25.13-xen
root            (hd0,0)
kernel          /boot/vmlinuz-domu root=/dev/xvda1 ro splash
initrd          /boot/initramfs-2.6.25.13-domu.cpio.gz
boot


And this is my DomU config file from Dom0:

#  -*- mode: python; -*-
#==========================================================================
kernel = "/boot/vmlinuz-domu"
memory = "512"
#bootloader = '/usr/bin/pygrub'
ramdisk = "/boot/initramfs-2.6.25.13-domu.cpio.gz"
name = "newnev"
disk = [ 'phy:rootvg/newnev,xvda1,w','phy:rootvg/newnevswap,hda2,w' ]
root = "/dev/xvda1 ro"
# Network
vif = [ 'mac=aa:00:00:00:00:14' ]
dhcp="on"
vcpus="2"
#extra = 'xencons=tty'
extra = 'console=hvc0'
#============================================================================


Thanks for any help,

Jon




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

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