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

Re: [Xen-users] Creating a custom kernel configuration?



On Thu, Jul 27, 2006 at 04:04:02AM +0200, Morten W. Petersen wrote:
> Hi,
> 
> I'm trying to build a Xen system using the latest xen-3.0-testing
> package, and to be able to boot the system some support for RAID devices
> and special network cards has to be configured.
> 
> The process I've used earlier is "make world; make install", however,
> that produces a kernel that exits with a panic as it cant find the root
> device.

You're probably missing the initrd required to mount the root
filesystem.   For example I have the following in my menu.lst file:
---
title Xen 3.0.2 / XenLinux 2.6.16
root (hd0,0)
kernel /xen.gz dom0_mem=131072 com1=9600,8n1
module /vmlinuz-2.6.16-xen root=/dev/hda3 ro console=ttyS0
module /initrd.img-2.6.16-xen
---

The correct way to make the initrd depends on your distributions but it
typically looks some thing like:
# mkinitrd -o /boot/initrd.img-2.6.16-xen 2.6.16-xen

Yours Tony

   linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!


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