LinuxSir.cn,穿越时空的Linuxsir!

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

LFS基本上装完了,就差启动了还有点问题

[复制链接]
发表于 2003-12-4 17:38:15 | 显示全部楼层 |阅读模式
我是在VMware下装的,建了两个虚拟硬盘,第一块中装的是RH9,在第二块中装的LFS
是按照SCSI模式挂载的硬盘,我的/boot/grub.menu.lst文件如下:

# Begin /boot/grub/menu.lst

# By default boot the first menu entry.
default 0

# Allow 10 seconds before booting the default
timeout 10

# Use prettier colors.
color green/black hight-green/black

# The first entry is for LFS.
title LFS 5.0
        root(hd1, 0)
        kernel /boot/lfskernel root=/dev/sdb1 ro

title Red Hat Linux
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/sda1
        initrd /boot/initrd-2.4.20-8.img

启动FLS的时候提示找不到/dev/sdb1设备,有什么办法解决啊?
 楼主| 发表于 2003-12-4 17:48:46 | 显示全部楼层
启动时出错信息如下:
kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
VFS: Cannot open root device "sdb1" or 08:11
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:11
发表于 2003-12-4 22:13:59 | 显示全部楼层
buslogic
编译内核的时候要加上这个.在scsi 驱动里面
 楼主| 发表于 2003-12-5 08:44:26 | 显示全部楼层
具体如何做呢?以前没有编译过内核!
发表于 2003-12-5 09:05:42 | 显示全部楼层
lfs book里面不是有么?
 楼主| 发表于 2003-12-5 11:42:01 | 显示全部楼层
已经搞定,谢谢版猪大人
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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