|
今天由于windows出了个问题,我重装了window系统,这回可好,原来引导的grub不见了,开机直接进linux。没办法只好用安装盘引导进入linux,用grub下的root命令生成了一个grub,开机可以见到grub界面,可以选择进入window,但是进linux就报错,报错信息如下:
root(hd0,0)
file system typeunknown,partition type 0*82
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
error 17:cannot mount selected partition
我得配置文件grub。conf如下:
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
#boot=/dev/hda1
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-
root (hd0,0)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,2)
chainloader +1
大侠们,帮帮我,先谢谢了! |
|