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] XEN on evms root

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XEN on evms root
From: Martin Andersson <martin@xxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 10:57:21 +0200
Delivery-date: Fri, 21 Oct 2005 08:54:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200510211046.12551.e.bachmann@xxxxxxxx>
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: <4358A790.9040608@xxxxxxxxxxxx> <200510211046.12551.e.bachmann@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050802)
Ernst Bachmann wrote:

On Friday 21 October 2005 10:32, Martin Andersson wrote:
I'm running a Gentoo system on evms-root and boot. I've made a kernel
and initrd with the genkernel-program before. But with xen I can't do
that. So my question is:

How can I run the evms-initrd before xen boots. One solution is of
cource to skip evms on my root / boot partition.. but where's the fun in
that.

Any help would be great! Thanks!


gentoo genkernel is just a script to compile + install a kernel with a predefined .config, no magic involved...

Look into that script, find out how it generates the initrd (most likely it just calls mkinitrd with the right params for the freshly installed kernel) and execute those steps yourself for your own xen kernel.

/Ernst
Yes , Okay. You are probably right. But do you have any idea how my grub.conf should look like?

Today it look like this to load evms-root-stuff ;)

title Gentoo
kernel /kernel-genkernel-x86-2.6.13-gentoo-r3 root=/dev/ram0 real_root=/dev/evms/root init=/linuxrc udev doevms2
initrd /initramfs-genkernel-x86-2.6.13-gentoo-r3

And THANKS , again.

 Martin Andersson



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

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