I assume pygrub does have problems with fancy lvm layouts and/or exotic
filesystems INSIDE domU.
To avoid potential problems, I've done all of my domU disk layouts with a
separate (first and primary) partition for /boot which is always ext3.
Anyway, that has nothing to do with lvm outside domU, pygrub is really
fine with a (dom0's) LV a domU disk .
For your mentioned ubuntu domU, it's necessary to use the kernel / ramdisk
provided by linux-virtual. linux-generic is not xen capable.
you could e.g. install your ubuntu domU fully virtualized (hvm) with additional
linux-virtual and grub-legacy-ec2 packages. As of 12.04 some kernel modules
are placed into linux-image-extra-virtual (None of them are necessary for a
plain installation, but I recently found myself searching for "lost" modules).
Am Freitag, den 13.07.2012, 15:01 +0900 schrieb jaeyong yoo:
Thanks a lot Lan,
> The other thing to consider is the use of LVM for the guest /boot. IIRC
> this does not work with pygrub.
did you mean pygrub is working fine with LVM for the guest /boot?
jaeyong
On Fri, Jul 13, 2012 at 1:05 AM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
On Thu, 2012-07-12 at 05:36 -0400, jaeyong yoo wrote:
>
>
> 8) while installing, I set the filesystem ext3 in the guest OS.
>
> 9) everything looks normal. The console say the installation is
> completed.
>
> 10) After installing, I change the xen configuration
> file (/etc/xen/ubuntu.cfg) as follows.
>
> name = "ubuntu" memory = 512 disk =
> ['phy:/dev/vgubuntu/ubuntu,xvda,w'] vif = [' '] bootloader = "pygrub"
Did ubuntu install a Xen capable kernel and is grub within the guest
correctly pointing to it?
You can usually use kpartx to expose the partitions
of /dev/vgubuntu/ubuntu in dom0 and mount it to poke around.
I don't know which kernel flavour you need to have installed in Ubuntu
to get Xen support. Perhaps someone else chime in.
The other thing to consider is the use of LVM for the guest /boot. IIRC
this does not work with pygrub.
Ian.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users