+ -
当前位置:首页 → 问答吧 → 安装到 emerge grub 的时候 信息提示,是啥原因引起的?

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

时间:2009-02-06

来源:互联网

执行到 # 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 "Please 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'.

作者: ydsg   发布时间: 2009-02-06

可是: 执行# mount /dev/sda1 /mnt/getoo/boot
提示:
mount: mount point /mnt/getoo/boot does not exist

作者: ydsg   发布时间: 2009-02-06

你现在应该已经chroot到新的系统里了吧,mount /dev/sda1 /boot,如果没有就mkdir /boot

作者: harttmann   发布时间: 2009-02-06

# mount /dev/sda1 /boot
mount: /dev/sda1 already mounted or /boot busy

作者: ydsg   发布时间: 2009-02-06

cat /etc/mtab

作者: harttmann   发布时间: 2009-02-06

看一下你的/etc/fstab有没有写错。这个/dev/sda1要按你的实际情况修改,不要人家写什么你就抄什么。如果你没有为/boot单独分一个区的话,就不要在fstab里写有关/boot的东西了.

作者: Hosanna   发布时间: 2009-02-06

引用:
作者: Hosanna
看一下你的/etc/fstab有没有写错。这个要按你的实际情况修改,不要人家写什么你就抄什么。如果你没有为单独分一个区的话,就不要在fstab里写有关/boot的东西了.

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

刚接触,如果问题太白痴,别笑!

作者: ydsg   发布时间: 2009-02-06

你fstab里怎么写的

还有帖一下 fdisk -l

作者: kimux   发布时间: 2009-02-06

/boot是挂载启动分区的地方。

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

作者: Hosanna   发布时间: 2009-02-06

可以看图片
,附件里
上传的图像
pic1.jpg (59.7 KB, 37 次查看)

作者: ydsg   发布时间: 2009-02-06

引用:
作者: ydsg
可是: 执行# mount /dev/sda1 /mnt/getoo/boot
提示:
mount: mount point /mnt/getoo/boot does not exist
这里分明就拼错了,getoo应该是gentoo,那这样当然挂载不上

作者: cheeselee   发布时间: 2009-02-06

似乎挂载成功了,chroot后再装一下吧

作者: cheeselee   发布时间: 2009-02-06

拼错~~~~囧!!!

作者: Hosanna   发布时间: 2009-02-06

哈哈哈哈哈哈

作者: gogonkt   发布时间: 2009-02-06