[xen-tools-discuss] Defining Partitions

Tim Bordemann t.bordemann at web.de
Fri Oct 22 16:19:36 CEST 2010


Hi,

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:

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

My partitions.d/xfs looks like this:

[boot]
size=200M
type=ext3
mountpoint=/boot
options=defaults

[root]
size=300G
type=xfs
mountpoint=/
options=defaults

[swap]
size=4G
type=swap

Is this a bug or did I forget anything?

Thanks,
Tim



More information about the xen-tools-discuss mailing list