Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] pygrub and LVM formatted

To: Matt Ayres <matta@xxxxxxxxxxxx>
Subject: Re: [Xen-users] pygrub and LVM formatted
From: Michael Paesold <mpaesold@xxxxxx>
Date: Thu, 30 Mar 2006 20:06:50 +0200
Cc: katzj@xxxxxxxxxx, xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 30 Mar 2006 18:08:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43A57E37.70206@xxxxxxxxxxxx>
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>
References: <43A57E37.70206@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Matt Ayres schrieb:
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...

Matt, did you find a solution? How do you reason that it found the grub.conf file? To me, the stack trace suggests that it fails to open the file system, no? It's that fstype.open_fs() call that fails... (inside the native library), isn't it?

Best Regards,
Michael Paesold

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] pygrub and LVM formatted, Michael Paesold <=