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

Re: [Xen-users] XEN on evms root



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


 


Rackspace

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