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-devel

[Xen-devel] pvgrub and single partition VM

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] pvgrub and single partition VM
From: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Date: Tue, 20 Jan 2009 11:57:51 +0100
Delivery-date: Tue, 20 Jan 2009 02:58:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20081231)
Hello list.

I just tried pvgrub with a single-partition host:
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd0,0)/boot/grub/menu.lst"
root = "/dev/sda1 ro"
extra = "xencons=tty console=tty"
memory = 512
maxmem = 1024
name = "cendrillon"
uuid = "46b9ff12-7ceb-4139-bbff-47117e650f25"
disk = [ 'phy:/dev/iscsi/sn.101200926/lun9/part1,sda1,w' ]
vif = [ 'mac=00:16:3e:00:00:1a, bridge=hebergement' ]

However, it can't read menu.lst file. And any attempt to load it interactively fails:

grubdom> configfile (hd0,0)/boot/grub/menu.lst

Error 5: Partition table invalid or corrupt

The messages seems to imply pvgrub expect to read a partition table, meaning a whole disk has to be exported to the virtual host, and not a single partition ?

--
Guillaume Rousse
Service des Moyens Informatiques
INRIA Saclay - Ile de France
Tel: 01 69 35 69 62

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

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