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] pvgrub doesn't read grub-config

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] pvgrub doesn't read grub-config
From: Tim Bordemann <t.bordemann@xxxxxx>
Date: Wed, 04 Aug 2010 15:07:07 +0200
Delivery-date: Wed, 04 Aug 2010 06:08:31 -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
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

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