今天由于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
# grub.conf generated by anaconda
#
# 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,5)
# kernel /boot/vmlinuz-version ro root=/dev/hda6
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Red Hat Linux(Can Internet) (2.4.20-
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title Windows Me(Can't Internet!)
rootnoverify (hd0,0)
chainloader +1
我的grub.conf
c:winme
d:data
e:linux
你的grub和我的不一样,因为你的是#boot=/dev/hda1,我的是#boot=/dev/hda,还有许多的我还没有看,那提示的英文是说没有办法识别你的文件系统,用些工具检查一下自己的文件系统吧!