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>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Creating a custom kernel configuration?
From: "Morten W. Petersen" <morten@xxxxxxxxxxxxxx>
Date: Thu, 27 Jul 2006 15:23:39 +0200
Delivery-date: Thu, 27 Jul 2006 06:25:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060727041622.GU27551@xxxxxxxxxxxxxxxxxx>
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: <44C81F12.6080707@xxxxxxxxxxxxxx> <20060727041622.GU27551@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060516)
Hi Tony,

> 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

OK, I've setup the following grub configuration

title           Debian GNU/Linux, kernel 2.6.16-xen
root            (hd0,0)
kernel          /boot/xen-3.gz
module          /boot/vmlinuz-2.6.16-xen root=/dev/sda1 ro console=ttyS0
module          /boot/initrd.img-2.6.16-xen
savedefault
boot

where the kernel is created directly from 'make world; make install' and
the initrd image as you describe above.

However, I get an error message (screendump attached).  Got any ideas of
what's going on there?  It doesn't know the filesystem type devfs..

-Morten

JPEG image

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>