Arun Sharma
2007-Nov-01 14:03 UTC
[Xen-users] XEN dom0 - mount: could not find filestystem ''/dev/root''.
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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anand Gupta
2007-Nov-01 15:39 UTC
[Xen-users] Re: XEN dom0 - mount: could not find filestystem ''/dev/root''.
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@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users