[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] pygrub on a ext2 filesystem


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Robert Hendrickx <robert_hendrickx@xxxxxxxx>
  • Date: Thu, 30 Mar 2006 08:48:20 +0200 (CEST)
  • Delivery-date: Thu, 30 Mar 2006 06:50:05 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=R2DdbbOimk5w4cgRPVrTmSpQtpViXH8bukyJs4XZlutiO+10Cueiq17kkAT+R6IkV+msWqd1nhc/qwfKfgcyPppgFtyDY6weiZ8tCXMAAsDBn/TXVw87u24srv08s6F/qG5JgNvNx9mMopSlS4hury9Y7/RslODySyh15rZmtx8= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

--- Michael Paesold <mpaesold@xxxxxx> a écrit :

> Robert Hendrickx wrote:
> 
> > Hello,
> >
> > I installed a guest system directly on a LVM volume of my host.  I mean 
> > this volume does not
> > contain a partition table, but directly an ext3 fs.
> >
> > When I try to use pygrub on it, I receive :
> >
> > [...]
> >    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!
> >
> > I checked the values for fn (this is well my LVM volume device driver) and 
> > offset (0 as it must be
> > if I understand correctly).
> >
> > The volume can be mounted without problem by the host, and was formatted 
> > by the command "mke2fs -j
> > /dev/VolGroup/guest_root".
> >
> > Has someone an idea ?
> >
> 
> I receive the very same error for a partitioned image file. I have reported 
> this about one or two weeks ago to this mailing list and have not yet 
> received a single answer.
> 
> I don't have an idea, but I am also interested in a solution. Perhaps it 
> does not work with ext3, only ext2?
> 
> Best Regards,
> Michael Paesold 
> 
> 
> 

I was wondering if it was a problem with the fs size... (in my working disk 
image, there is a
100Mb /boot partition).
Same problem occurs when I try to use a 96Mb volume directly formatted in ext3 
or ext2...




-----------------------------------------------------------
Robert Hendrickx.

Please, use only my address "robert.hendrickx@xxxxxxxxxxx"


        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.