- 論壇徽章:
- 0
|
各位兄弟:以下是出錯提示:kernel panic-not syncing: VFS:Unable to mount root fs on unknow-block(0,0),我按照網(wǎng)上找的幾個貼子,有幾個解決方法:
1. VFS:Cannot open root device “hdxy” or unknow-block(0,0)
Please append a correct “root=” boot option
kernel panic-not syncing: VFS:Unable to mount root fs on unknow-block(0,0)
解決方法:把
08.05.11、<*> RAM disk support
09.27.07、<*> Compressed ROM file system support (cramfs) 這兩項都要選上!!!!!!否則,呵呵!
2.# vi grub/grub.conf (ZhiQiao:此處應(yīng)該為/grub/grub.conf)
進(jìn)入grub.conf文件,找到如下信息:
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.1
root (hd0,0)
kernel /vmlinuz-2.6.18 ro root= LABEL=/
initrd /initrd-2.6.18.img
做兩處修改:
(1) 將default=1改為default=0(不改的話,重啟之后默認(rèn)進(jìn)入2.4內(nèi)核)
(2) 將kernel行的“LABEL=/”換成根目錄所在的分區(qū)(上一步查看的就是)
還是不能解決,現(xiàn)附上我的grub.conf:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.16)
root (hd0,0)
kernel /vmlinuz-2.6.16 ro root=/dev/sda2
initrd /initrd-2.6.16.img
title Red Hat Linux (2.4.20-
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
郁悶呀~~~,大家?guī)蛶兔ρ絶~~ |
|