Yang Xin
2009-Apr-08 06:44 UTC
[Fedora-xen] Problem: mount: could not find,filesystem ''/dev/root''
Hi, All: I got a problem (mount: could not find,filesystem ''/dev/root'') in booting a fedora7-xen kernel which was downloaded at http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/kernel-i686. Also I had tried fedora8-xen kernel, same problem. Here is my "grub.conf": title Fedora (2.6.21-7.fc7xen) root (hd0,0) kernel /xen.gz-2.6.21-7.fc7 module /vmlinuz-2.6.21-7.fc7xen ro /dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.21-7.fc7xen.img title Fedora (2.6.27.21-170.2.56.fc10.i686.PAE) root (hd0,0) kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686.PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.27.21-170.2.56.fc10.i686.PAE.img title Fedora (2.6.27.21-170.2.56.fc10.i686) root (hd0,0) kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.27.21-170.2.56.fc10.i686.img The "ro /dev/VolGroup00/LogVol00 rhgb quiet" part was the same in all the three ones, but "Fedora (2.6.27.21-170.2.56.fc10.i686.PAE)" and "Fedora (2.6.27.21-170.2.56.fc10.i686)" could boot normally (this showed the path should be right). The difference between the first and the latter two was "module", but the tries: title Fedora (2.6.21-7.fc7xen) root (hd0,0) kernel /xen.gz-2.6.21-7.fc7 ro /dev/VolGroup00/LogVol00 rhgb quiet module /vmlinuz-2.6.21-7.fc7xen module /initrd-2.6.21-7.fc7xen.img and title Fedora (2.6.21-7.fc7xen) root (hd0,0) kernel /xen.gz-2.6.21-7.fc7 ro /dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.21-7.fc7xen.img neither worked. My os was Fedora 10, and xen was install by "yum install xen". What should I do for this problem?? By the way, it seemed that "yum install kernel-xen" installed "2.6.27.21-170.2.56.fc10.i686.PAE", which did not worked. Since when I booted with this fedora-xen kernel, "xend start" command (or xm command) brought "ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)" error, which I''ve no idea either. (From google, someone told that it was caused by wrong kernel...) Any helps will be very appreciated! Best Regards! Xin
Dale Bewley
2009-Apr-09 23:47 UTC
Re: [Fedora-xen] Problem: mount: could not find,filesystem ''/dev/root''
On Wed, 2009-04-08 at 01:44 -0500, Yang Xin wrote:> By the way, it seemed that "yum install kernel-xen" installed > "2.6.27.21-170.2.56.fc10.i686.PAE", which did not worked. Since when I > booted with this fedora-xen kernel, "xend start" command (or xm > command) brought "ERROR Internal error: Could not obtain handle on > privileged command interface (2 = No such file or directory)" error, > which I''ve no idea either. (From google, someone told that it was > caused by wrong kernel...)Since an update to Fedora 9, the kernel-xen package has been obsoleted by the kernel package * http://fedoraproject.org/wiki/FWN/Issue137#kernel-xen_is_Dead * http://docs.fedoraproject.org/release-notes/f10/en_US/What_Do_System_Adminstrators_Care_About.html#sn-Unified_kernel_image The current kernels in F9 and F10 only function as a domU (xen guest). Fedora 10 does not function as a dom0 (xen host). It sounds like your initrd does not have sufficient intelligence to read your root device (hint mkinitrd). I don''t even know if you could force a F7 or F8 kernel into F10, but I would not try it. If you need a Xen dom0 then use CentOS, RHEL, or F8 for your server. But F8 is end of life and not receiving any updates, so that is not the safest or recommended route. There are some highly experimental dom0 kernels for F10, but don''t expect to use them for anything more than testing. * http://fedoraproject.org/wiki/FWN/Issue170#Experimental_Dom0_Kernel_Update -- Dale Bewley - Unix Administrator - Shields Library - UC Davis GPG: 0xB098A0F3 0D5A 9AEB 43F4 F84C 7EFD 1753 064D 2583 B098 A0F3