LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 667|回复: 1

请教一下在vmware下面升级linux内核的问题

[复制链接]
发表于 2005-1-18 10:57:07 | 显示全部楼层 |阅读模式
因为重新编译了内核,修改了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
发表于 2005-1-18 11:07:53 | 显示全部楼层
你的是SD怎么grub.conf里面写的都是(hd0,0)
这个的问题吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表