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

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

To: Tim Bordemann <t.bordemann@xxxxxx>
Subject: Re: [Xen-users] pvgrub doesn't read grub-config
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 4 Aug 2010 21:29:34 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 Aug 2010 07:31:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1280927227.2081.10.camel@tim-laptop>
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>
References: <1280927227.2081.10.camel@tim-laptop>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Aug 4, 2010 at 8:07 PM, Tim Bordemann <t.bordemann@xxxxxx> wrote:
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd1)/boot/grub/menu.lst"
disk        = [   'phy:/dev/vg0/testmigration-disk,xvda2,w',
                 'phy:/dev/vg0/testmigration-swap,xvda1,w',
             ]
 
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?


I have a suspicion that somehow your hd0 and hd1 got mixed up. What happens if you change the disk order? something like

disk        =  [ 
   'phy:/dev/vg0/testmigration-swap,xvda1,w',
   'phy:/dev/vg0/testmigration-disk,xvda2,w', 
   ]

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