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

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


  • To: "Arun Sharma" <arunain@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.