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] Creating a custom kernel configuration?

To: "Morten W. Petersen" <morten@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Creating a custom kernel configuration?
From: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Jul 2006 14:16:22 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 26 Jul 2006 21:17:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44C81F12.6080707@xxxxxxxxxxxxxx>
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>
Mail-followup-to: "Morten W. Petersen" <morten@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
References: <44C81F12.6080707@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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

<Prev in Thread] Current Thread [Next in Thread>