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

[Xen-users] pvgrub doesn't read grub-config



Hi,

I'm trying to use pvgrub with some existing guests. It seems to me that
pygrub doesn't read the guest's grub-config.
Here are my config files:

# /etc/xen/testmigration.cfg
############################
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd1)/boot/grub/menu.lst"
memory      = '256'
vcpus       = '1'
disk        = [   'phy:/dev/vg0/testmigration-disk,xvda2,w',
                  'phy:/dev/vg0/testmigration-swap,xvda1,w',
              ]
name        = 'testmigration'
dhcp        = 'dhcp'
vif         = [ 'mac=XX:XX:XX:XX:XX:XX' ]

# /boot/grub/menu.lst
#####################
default 0
timeout 5

title           Ubuntu 8.04.4 LTS, kernel 2.6.24-26-xen
root            (hd1)
kernel          /boot/vmlinuz-2.6.24-26-xen root=/dev/xvda2 ro
initrd          /boot/initrd.img-2.6.24-26-xen

After creating the VM I always get to the grubdom commandline. When I
type in "configfile (hd1)/boot/grub/menu.lst" (exactly the same as the
extra line in the VM's configfile), the machine starts to boot.
Am I missing anything?

Thanks,
Tim


_______________________________________________
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®.