[xen-tools-discuss] Defining Partitions

Dmitry Nedospasov dmitry at nedos.net
Mon Nov 1 21:36:28 CET 2010


So guys, clearly this is a thread that shoul be addressed at the guilty
party (me, well kind of).

On Mon, Nov 01, 2010 at 10:47:34AM +0100, Stéphane Jourdois wrote:
> Axel did manage to reproduce, and we then just understood that the
> problem sits with pygrub, which we both do not know very well.

Ah, my doings :) However partitions are not my doings :P

>  - we have to guess in xen-create-image which partition will be used to
> boot ("boot" partition if it does exist, "root" else) and give that
> information to hooks (particularly 80-install-kernel but perhaps
> somewhere else).

Yes the issue is that currently 80-install-kernel (which creates a
menu.lst for the domU) does not account for the domU running
"non-standard" partitions. I'm not sure this is that easy to fix,
especially since menu.lst doesn't use /dev/xvda etc. I mean the sh code
will look very ugly to say the least.

It might just be better to remind users to edit their domU's menu.lst, I
mean i really just don't see that easy of a fix for this, unfortunately.
I mean whenever I want to run multiple partitions I end up doing
everything by hand...

On another note, I might have missed this in the discussion, but just
keep in mind that PYGRUB DOES NOT SUPPORT XFS ;) (I saw xfs mentioned
somewhere).

Regards,

D.
-- 
Dmitry Nedospasov <dmitry at nedos.net> -- Twitter: @nedos
Web: http://nedos.net -- Github: http://github.com/nedos


More information about the xen-tools-discuss mailing list