[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: booting LVM



Thanks, I got it working with an initrd as you said. Mandriva supports initrd creation with "mkinitrd". I pointed it at the xen0 kernel, set the lvm2 and no-raid-modules options, and voila! It created a perfect initrd that did the job fine.

Thanks,
Michael

Matthew Palmer wrote:

On Sat, Jan 07, 2006 at 06:13:08AM -0500, Michael Hrivnak wrote:
I'm using Mandriva 2006 with the latest xen 3.0 binaries (not the Mandriva packages which gave me problems). I'm not sure how to get xen to see my logical volumes at boot, and I have / and /home both on logical volumes. There is a raid1 array as a physical device in a volume group, vg0. That group contains logical volumes "root" and "home". Creative names, I know.

I am thus far unsuccessful at getting this setup to boot. The challenge is getting xen to see the logical volumes before it tries to mount the root partition. How is this normally done? Does this function belong in an initrd?

It's an initrd thing.  You need to make an appropriate one with the Xen
kernel's modules, and then add it as an extra "module" line to your Grub
config.  No idea how to make an initrd on Mandriva, but I'm sure it'll be
documented somewhere.  There is the (remote) possibility that Mandriva
doesn't support LVM-on-root, but it's a trivial test -- if you can boot the
system using the Mandriva-supplied kernel/initrd, then you can do it with
Xen.

- Matt

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.