[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] pygrub setup



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.