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 with dom0 requiring initrd

To: Derek <xen@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen with dom0 requiring initrd
From: Goswin von Brederlow <brederlo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Jan 2007 09:42:29 +0100
Cc: xen ml <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 24 Jan 2007 00:43:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <13033e750701230743h322b10a2w92c2ee865d439247@xxxxxxxxxxxxxx> (Derek's message of "Tue, 23 Jan 2007 08:43:40 -0700")
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: <13033e750701230743h322b10a2w92c2ee865d439247@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
Derek <xen@xxxxxxxxxxxxxxxx> writes:

> Hi folks,
> Just wondering if anybody else is using Xen with a Dom0 linux kernel that
> relies on intird to boot up?
> I am, because I retrofitted Xen onto a system that was already using LVM root
> directories.  So, I need to conifgure my Dom0 to use initrd to load and
> configure lvm.
> I successfully built the kernel and initrd twice (once for x86 and once for
> amd64 -- my system dual-boots these two, with x86 for everyday work, and amd64
> just to try it out).  In both cases it took a lot of fiddling, and I guess I
> didn't keep good enough notes, because I don't recall exactly how I built it,
> and don't seem to be able to re-create it!  I've "lost the recipe".
>  Now, I'd like to upgrade to xen==3.0.4 with domU==[[2.6.16.33]], but I don't
> seem to remember how.  I'm pretty sure I used Gentoo's "genkernel" program to
> build the initrrd file, but couldn't use it to build the kernel and modules,
> so I built them manually using the makefiles.  But beyond that level of
> detail, I don't recall.
> Well, my question:  Is anyone else using initrd in this way, and if so, can
> you share any guidelines and best practices, suggested reading, etc.?
> Thanks,
> Derek.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Best practice:

apt-get install xen-linux-system-2.6.18-3-xen-amd64

That uinstalls the hypervisor, the userspace tools, the kernel, builds
the initrd (the kernel does that on install) and adds the boot entry
to grub. All automatic.

If you build you own kernel then "make-kpkg --initrd ..." will do all
the work too.

Isn't Debian great? :)


I guess you have to fix Gentoos genkernel programm to work with xen
kernels.

MfG
        Goswin

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