当前位置: 技术问答>linux和unix
安装2.4.31内核的问题
来源: 互联网 发布时间:2015-10-05
本文导语: 原来是rh9的2.4.20...在kernel.org下载了2.4.31..按照网上的步骤,没有出错.. 为什么启动时提示这样的错误? VFS:Cannot open root device "LABEL=/" or 00:00 Please append a correct "root=" boot option Kernel panic :VFS:Unable to mount root fs o...
原来是rh9的2.4.20...在kernel.org下载了2.4.31..按照网上的步骤,没有出错..
为什么启动时提示这样的错误?
VFS:Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic :VFS:Unable to mount root fs on 00:00
我的grub如下:
default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)//这个是老的可以用
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title New/////////////////////新的内核
root(hd0,5)
kernel /boot/vmlinuz ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.31.img
title DOS
rootnoverify (hd0,0)
chainloader +1
为什么启动时提示这样的错误?
VFS:Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic :VFS:Unable to mount root fs on 00:00
我的grub如下:
default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)//这个是老的可以用
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title New/////////////////////新的内核
root(hd0,5)
kernel /boot/vmlinuz ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.31.img
title DOS
rootnoverify (hd0,0)
chainloader +1
|
将你的主引导区设置为你所安装的主引导盘.
可以查看grub.conf文件中的注释,里面有你的所需要的东西^^!
如:我安装在目标分区/dev/hda10
title New/////////////////////新的内核
root(hd0,5)
kernel /boot/vmlinuz ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.31.img
修改:
tltle linux-2.4.30
root(hd0,5)
kernel /boot/vmlinuz ro root=/dev/hda10
initrd /boot/initrd-2.4.31.img
可以查看grub.conf文件中的注释,里面有你的所需要的东西^^!
如:我安装在目标分区/dev/hda10
title New/////////////////////新的内核
root(hd0,5)
kernel /boot/vmlinuz ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.31.img
修改:
tltle linux-2.4.30
root(hd0,5)
kernel /boot/vmlinuz ro root=/dev/hda10
initrd /boot/initrd-2.4.31.img
|
hda6