LinuxSir.cn,穿越时空的Linuxsir!

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

安装到 emerge grub 的时候 信息提示,是啥原因引起的?

[复制链接]
发表于 2009-2-6 09:12:25 | 显示全部楼层 |阅读模式
执行到 # 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-2-6 09:14:48 | 显示全部楼层
可是: 执行# mount /dev/sda1 /mnt/getoo/boot
提示:
mount: mount point /mnt/getoo/boot does not exist
回复 支持 反对

使用道具 举报

发表于 2009-2-6 09:23:50 | 显示全部楼层
你现在应该已经chroot到新的系统里了吧,mount /dev/sda1 /boot,如果没有就mkdir /boot
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-6 09:32:00 | 显示全部楼层
# mount /dev/sda1 /boot
mount: /dev/sda1 already mounted or /boot busy
回复 支持 反对

使用道具 举报

发表于 2009-2-6 09:37:19 | 显示全部楼层
cat /etc/mtab
回复 支持 反对

使用道具 举报

发表于 2009-2-6 09:41:40 | 显示全部楼层
看一下你的/etc/fstab有没有写错。这个/dev/sda1要按你的实际情况修改,不要人家写什么你就抄什么。如果你没有为/boot单独分一个区的话,就不要在fstab里写有关/boot的东西了.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-6 10:18:39 | 显示全部楼层
Post by Hosanna;1944376
看一下你的/etc/fstab有没有写错。这个要按你的实际情况修改,不要人家写什么你就抄什么。如果你没有为单独分一个区的话,就不要在fstab里写有关/boot的东西了.



我设定的/dev/sda1 是启动分区,
这个/boot 和启动分区有区别吗?

刚接触,如果问题太白痴,别笑!
回复 支持 反对

使用道具 举报

发表于 2009-2-6 10:49:48 | 显示全部楼层
你fstab里怎么写的

还有帖一下 fdisk -l
回复 支持 反对

使用道具 举报

发表于 2009-2-6 11:42:19 | 显示全部楼层
/boot是挂载启动分区的地方。

按楼上说的给出足够的信息别人才能帮得到你,还有cat /etc/mtab的信息
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-6 11:46:59 | 显示全部楼层
可以看图片
,附件里

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

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

本版积分规则

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