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

[Xen-users] Re: 3.0.2x as a debian package?



On Sat, May 06, 2006 at 08:13:29PM +0200, Morten Christensen wrote:
> Matt Palmer skrev den 06-05-2006 04:00:
> >On Fri, May 05, 2006 at 09:06:30PM +0200, Torsten Werner wrote:
> >  
> >>On 5/5/06, Matthew Palmer <mpalmer@xxxxxxxxxxx> wrote:
> >>    
> >>>Hopefully never.  3.0.2 (+some extras from hg mainline) is now in Debian
> >>>unstable, and appropriately patched kernels are now available as well.
> >>>      
> >Sorry, I *was* a bit vague on the "appropriately patched kernels are
> >available" bit, wasn't I?
> >
> >Xen kernels are now built along with the myriad of other flavours of kernel
> >in the standard Debian kernel package.  Thus, you can just (for instance)
> >run
> >
> >apt-get install linux-image-2.6-xen-amd64-k8 linux-modules-2.6-xen-amd64-k8
> >
> >(as I did several times over the course of yesterday) and have your
> >up-to-date Xen kernel installed.  You use that kernel for both your dom0 
> >and
> >domU (never done it before, but it worked fine).
> >  
> I have tried to install the xen-k7-kernel on Debian unstable, but I 
> cannot boot it. It panics with an error about unable to mount root fs.
> My setup is as simple as possible with 1 partition, ext3 and no LVM.

Debian kernels all need an initrd to boot.  For some reason, the Xen kernels
don't have the necessary bling in their install scripts to automatically
build the initrd at package install time (one of the niggles I'm going to
have a look at next week at work).  So, you need to run

mkinitramfs -o /boot/initrd.img-2.6.16-1-xen-k7 2.6.16-1-xen-k7

And then add that initrd.img to your grub config:

> /boot/grub/menu.lst is
> title      Xen
> root     (hd0,0)
> kernel   /boot/xen-3.0-i386.gz  dom0_men=256M
                                       ^^^ oops?
> module /boot/vmlinuz-2.6.16-1-xen-k7 root=/dev/hda1 ro
module /boot/initrd.img-2.6.16-1-xen-k7

- Matt

_______________________________________________
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®.