[xen-tools-discuss] Defining Partitions
Tim Bordemann
t.bordemann at web.de
Fri Oct 22 17:29:32 CEST 2010
Hi Axel,
Am Freitag, den 22.10.2010, 17:03 +0200 schrieb Axel Beckert:
> Hi Tim,
>
> 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).
> > 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.
Cheers
Tim
More information about the xen-tools-discuss
mailing list