国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
xen配置問題--SCIS硬盤驅(qū)動沒有編譯

Xen domainU fails to boot with a "Xen Guest OS Fails to Boot with Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)" error message

From Virtuatopia

Jump to: navigation, search

The most common cause of this problem is that the guest operating system requires a RAM Disk as part of the initial phases boot process and one has not been defined in the Xen configuration file.

A typical Xen configuration file which causes this problem to occur might appear as follows:

kernel = "/boot/vmlinuz-2.6.18-53.1.14.el5xen"memory = 512name = "centos.5-1"vif = [ '' ]dhcp = "dhcp"disk = ['tap:aio:/home/nas/xen/byhand/centos.img,xvda1,w', 'tap:aio:/home/nas/xen/byhand/centos.swap,xvda2,w']root = "/dev/xvda1 ro"

The key line missing from the above configuration file is the "ramdisk = " directive.

There are couple of options to address this issue. One option is to use the RAM Disk already installed on the system (assuming compatibility between the host and guest operating systems). This is located in the /boot directory of the root filesystem of the host operating system. It is important to use the version of the RAM Disk file that matches the kernel specified in the Xen guest configuration file. The current kernel release can be obtained using the uname command:

uname -r2.6.18-53.1.14.elxen

In order to find the kernel and RAM Disk files associated with the release of the kernel we can execute the following command:

ls /boot/*$(uname -r)*/boot/config-2.6.18-53.1.14.el5xen      /boot/System.map-2.6.18-53.1.14.el5xen/boot/initrd-2.6.18-53.1.14.el5xen.img  /boot/vmlinuz-2.6.18-53.1.14.el5xen/boot/symvers-2.6.18-53.1.14.el5xen.gz

In the above output we can see that the kernel file is named vmlinuz-2.6.18-53.1.14.el5xen, while the corresponding RAM Disk is called initrd-2.6.18-53.1.14.el5xen.img. To specify this file in our Xen configuration file we need to add the a ramdisk line as follows:

kernel = "/boot/vmlinuz-2.6.18-53.1.14.el5xen"ramdisk = "/boot/initrd-2.6.18-53.1.14.el5xen.img"memory = 512name = "centos.5-1"vif = [ '' ]dhcp = "dhcp"disk = ['tap:aio:/home/nas/xen/byhand/centos.img,xvda1,w', 'tap:aio:/home/nas/xen/byhand/centos.swap,xvda2,w']root = "/dev/xvda1 ro"

Unfortunately, using the system supplied RAM Disk can sometimes lead to boot problems associated with conflicts with SCSI drivers. Another, and better option is to create a new RAM Disk file that does not contain SCSI modules and then reference this file in the Xen configuration file:

mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk initrd-$(uname -r).img $(uname -r)
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
xen 虛擬機安裝創(chuàng)建
CentOS下xen虛擬機的安裝與配置
CentOS 7.0安裝Nvidia驅(qū)動
CentOS中禁用nouveau驅(qū)動
centos5.6下virtualbox安裝手記
將LINUX的控制臺定向到串口終端
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服