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

[Xen-users] Re: booting LVM

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: booting LVM
From: Matthew Palmer <mpalmer@xxxxxxxxxxx>
Date: Sun, 8 Jan 2006 07:29:17 +1100
Delivery-date: Sat, 07 Jan 2006 20:37:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43BFA244.2050407@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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

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