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] pygrub and LVM formatted

To: xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] pygrub and LVM formatted
From: Matt Ayres <matta@xxxxxxxxxxxx>
Date: Sun, 18 Dec 2005 10:20:23 -0500
Cc: katzj@xxxxxxxxxx
Delivery-date: Sun, 18 Dec 2005 15:23:47 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: TekTonic
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.4 (Windows/20050908)
It seems pygrub only supports disk images that are partitioned, aka not a single formatted / for the entire image. Is this correct? I have it configured using LVM as specified and I receive:

xen-3.0-testing.hg]# xm create test -c
Using config file "/etc/xen/test".
Traceback (most recent call last):
  File "/usr/bin/pygrub", line 246, in ?
    cf = get_config(file)
  File "/usr/bin/pygrub", line 112, in get_config
    fs = fstype.open_fs(fn, offset)
  File "/usr/lib/python/grub/fsys/ext2/__init__.py", line 35, in open_fs
    return Ext2Fs(fn, offset = offset)
ValueError: unable to open file
Error: Boot loader didn't return any data!

so it is finding the grub.conf file...

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] pygrub and LVM formatted, Matt Ayres <=