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

[Xen-users] Re: XEN dom0 - mount: could not find filestystem '/dev/root'

To: "Arun Sharma" <arunain@xxxxxxxxx>
Subject: [Xen-users] Re: XEN dom0 - mount: could not find filestystem '/dev/root'.
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Thu, 1 Nov 2007 21:09:36 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Nov 2007 08:40:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=lfpmaf+41ox/Z/lGMW5g6iA9N9jeYniRt9pMLabowqI=; b=SL4LeqBRMNYBHPRlRzxW3cFmziX3rZijuj3e1XTA2MNn6S7sDUUtsnuXkOZUWKRMVQ9sqjGo6eXXHmGR6qVRTChH6AgDNL6XszNKPHCX9ZC6wsFGTAfy9vFS4vYQcY0ZmkatiqAG7Lg/PxJu+nxxtkcbEU8iC7l/8YopqhjcAoY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ClMglLzpWTU+J7aeovyosPpqfoPGLTt24lAKG9UD9thxnqQ7vzx5F/QhsejTJpnZUYl56drQ2mPKLig5be8lZWlGMNJ5XwtXG5CWP5mTC5JVCsWCTMxkvYdCnaDHCXKEoD7BUVgwtu1ZWaTHTBy8WKnLELn2wj9G1LNKRWqAuMI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5ce3e56d0711010703g6e066402gf6a1b2ed271cbb71@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>
References: <5ce3e56d0711010703g6e066402gf6a1b2ed271cbb71@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
After you compiled and installed xen, just do the below

depmod -a 2.6.18-xen

mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen

Move the initrd image to /boot and modify your grub.conf to load the new initrd in the xen kernel part.

See if this helps.

On 11/1/07, Arun Sharma <arunain@xxxxxxxxx > wrote:
Hi

Error i am getting :

mount: could not find filestystem '/dev/root'.
Setting up other filesystems
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init
unmounting old /dev/
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init


I have done a source build for Xen 3.1 and created initrd image after a successfull build for dom0.
But it is giving kernel panic when it buits dom0

I have created initrd image using below commands (MIND IT : I HAVE IDE HARD DISK) and tried with each one.. but no help.

mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen
mkinitrd -v -f --force-ide-probe --fstab=/etc/fstab initrd-2.6.18-xen.img 2.6.18-xen
mkinitrd -v -f --omit-scsi-modules initrd-2.6.18-xen.img 2.6.18-xen
mkinitrd -v -f --with=xennet --preload=xenblk initrd-2.6.18-xen.img 2.6.18-xen
 mkinitrd -v -f --force-ide-probe --fstab=/etc/fstab initrd-2.6.18-xen.img 2.6.18-xen

Something similar to these.
http://lists.xensource.com/archives/html/xen-users/2007-04/msg00182.html
--


Regards
Arun Sharma
0-934-829-3810



--
regards,

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