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
|