[xen-tools-discuss] Defining Partitions

Axel Beckert abe at deuxchevaux.org
Fri Oct 22 17:52:47 CEST 2010


Hi Tim,

On Fri, Oct 22, 2010 at 05:29:32PM +0200, Tim Bordemann wrote:
> Am Freitag, den 22.10.2010, 17:03 +0200 schrieb Axel Beckert:
> > On Fri, Oct 22, 2010 at 04:19:36PM +0200, Tim Bordemann wrote:
> > > I'm using XEN 4.0.1 and xen-tools 4.2 on one of my servers.
> > > I'd like to define several partitions, like root , /boot and swap, so I
> > > created a file in /etc/xen-tools/partitions.d/ and then created a new vm
> > > using the --partitions= and --pygrub options.
> > > Unfortunately the grub configuration was wrong - I had to remove all
> > > occurrences of "/boot" to get the vm booting:
> > 
> > "remove all occurrences" where? In the configuration for xen-tools or
> > later in the generated xen or grub configurations?
> 
> I had to edit the grub.cfg of the vm (by mounting the boot partition on
> the host machine).

Ok. Sounds unexpected and like a bug.

> > > title           Ubuntu 10.04 LTS
> > > root            (hd0,0)
> > > kernel          /boot/vmlinuz-2.6.32-25-server root=/dev/xvda2 ro
> > > initrd          /boot/initrd.img-2.6.32-25-server
> > 
> > Not sure if it's the same thing, but we had big troubles (read: we
> > didn't manage to succeed) on real hardware with Ubuntu 10.04 and
> > separate /boot partitions. Everything worked fine again if we didn't
> > insist on a seperate /boot.
> 
> I have the same problems when creating a lenny vm: I need to correct the
> grub.cfg.

Ok, then it's definitely a different problem. We will have a look into
it. Thanks for the detailed bug report so far.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe at deuxchevaux.org  (Mail)
 X   See http://www.asciiribbon.org/              | abe at noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)


More information about the xen-tools-discuss mailing list