LinuxSir.cn,穿越时空的Linuxsir!

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

在虚拟机VW安装完成,重新启动后出现

[复制链接]
发表于 2009-2-5 09:41:44 | 显示全部楼层 |阅读模式
Booting 'Gentoo Linux 2.6.27-r8'
root(hd0,0)
Filesystem type is ext2fs,partition type 0x83
kernel /boot/kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/ram0 real_root=/dev/sda3
Error 15:file not found
Press any key to continue...
 楼主| 发表于 2009-2-5 09:43:04 | 显示全部楼层
回车之后 出现 选择 菜单,可是选择之后,还是出现一样的提示!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-5 09:49:41 | 显示全部楼层
选择命令行可以到:
grub>
提示...
回复 支持 反对

使用道具 举报

发表于 2009-2-5 10:02:53 | 显示全部楼层
root(hd0,0)
后面 real_root=/dev/sda3 ....
是 hd 还是 sd ?
回复 支持 反对

使用道具 举报

发表于 2009-2-5 10:25:42 | 显示全部楼层
Post by ydsg;1944046
Booting 'Gentoo Linux 2.6.27-r8'
root(hd0,0)
Filesystem type is ext2fs,partition type 0x83
kernel /boot/kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/ram0 real_root=/dev/sda3
Error 15:file not found
Press any key to continue...


明明都写着没有找到内核文件嘛..

你用的什么文件系统? 看看编没编进内核
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-6 09:09:45 | 显示全部楼层
重头装再来一次,安装到 # emerge grub 出现如下 信息提示:
请问是哪一步没有处理好?
* Messages for package sys-boot/grub-0.97-r9:

*
* To avoid automounting and autoinstalling with /boot,
* just export the DONT_MOUNT_BOOT variable.
*
*
* Cannot automatically mount your /boot partition.
* Your boot partition has to be mounted rw before the installation
* can continue. grub needs to install important files there.
*
*
* ERROR: sys-boot/grub-0.97-r9 failed.
* Call stack:
*               ebuild.sh, line   49:  Called pkg_preinst
*             environment, line 2719:  Called mount-boot_pkg_preinst
*             environment, line 2564:  Called mount-boot_mount_boot_partition
*             environment, line 2553:  Called die
* The specific snippet of code:
*                   die "lease mount your /boot partition manually!";
*  The die message:
*   Please mount your /boot partition manually!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-boot/grub-0.97-r9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-0.97-r9/temp/environment'.
回复 支持 反对

使用道具 举报

发表于 2009-3-6 13:00:57 | 显示全部楼层
q 我也出现6楼的情况,不知道如何解决.
回复 支持 反对

使用道具 举报

发表于 2009-3-6 13:02:01 | 显示全部楼层
是FSTAB里面设置错了吗? Q 我/BOOT挂载了的啊.
回复 支持 反对

使用道具 举报

发表于 2009-3-6 13:32:49 | 显示全部楼层
这个不是fstab的问题, 是grub.conf错误, 检查grub.conf里面 内核位置是否正确
提示是找不到 /boot/kernel-genkernel-x86-2.6.27-gentoo-r8 这个文件

如果你的 root (hd0,0) 就是 /boot的话 ,这里应该是  
/kernel-genkernel-x86-2.6.27-gentoo-r8  ,

首先 grub不通过fstab文件, 他是直接读取分区表 ,其次, root指定错误不影响最初的kernel加载 ,只是到加载rootfs的时候会报错 , 这个明显是找不到内核文件了

如果还不行, 手动编辑grub

grub系统选择界面下按C 进入命令行模式,
输入 root (hd0,0) 回车
输入 kernel /  然后按2下tab键 ,查看都有什么文件,选中合适的内核文件 后面加上root= 参数, 这个root是你的fstab里面挂载到/ 的设备名称   然后回车
输入 boot  回车  引导系统
回复 支持 反对

使用道具 举报

发表于 2009-3-6 13:34:29 | 显示全部楼层
FSTAB里设置的/boot分区可能错误,系统不能自动挂载,请检查fstab里的设置。
回复 支持 反对

使用道具 举报

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

本版积分规则

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