|
|
因为重新编译了内核,修改了grub的配置文件,
但无论如何都进不了系统。说什么root后面的路径找不到。
因为vmware的缘故,所以是装在sda1上,我用fdisk -l查过的
下面是我的配置文件,希望大家多多帮忙
/dev/sda1 /boot
/dev/sda2 /swap
/dev/sda3 /
# 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,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title Red Hat Linux (2.6.9)
root (hd0,0)
kernel /boot/vmlinux-2.6.9 ro root=/dev/sda3
initrd /boot/initrd-2.6.9 :help .img |
|