WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: booting LVM

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: booting LVM
From: Michael Hrivnak <mjhns@xxxxxxxxxxx>
Date: Sun, 08 Jan 2006 04:19:19 -0500
Delivery-date: Sun, 08 Jan 2006 09:25:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060107202917.GD27201@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <43BFA244.2050407@xxxxxxxxxxx> <20060107202917.GD27201@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
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

<Prev in Thread] Current Thread [Next in Thread>