Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9051 - Error mounting non-existing BOOT partition when installing GRUB boot loader using install script "grub-0.90-r7"
Summary: Error mounting non-existing BOOT partition when installing GRUB boot loader u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-12 16:54 UTC by Thomas Rosted Jensen
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to mount-boot.eclass (mount-boot.diff,563 bytes, text/plain)
2002-10-12 17:40 UTC, Maurizio Disimino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Rosted Jensen 2002-10-12 16:54:15 UTC
Hi,

I'm a new user of the "Gentoo Linux" distrobution :-) I followed the "Gentoo
Linux 1.4 Installation Instructions", but got an error when running "emerge
system" at the point where the Grub bootloader was going to be installed:


   >>> emerge sys-apps/grub-0.90-r7 to /
   >>> md5 ;-) grub-0.90.tar.gz

    * Cannot mount automatically your boot partition.
    * Your boot partition has to be mounted on /boot before the installation
    * can continue. grub needs to install important files there.


   !!! ERROR: The ebuild did not complete successfully.
   !!! Function mount-boot_pkg_setup, Line -1331, Exitcode 0
   !!! Please mount your /boot partition.


I am not using a boot partition, and I have not modified the "/etc/fstab" file
before running "emerge system". However I made the installation continue by
re-runinng "emerge system" after removing the the following line from the
"/etc/fstab" file:

   /dev/BOOT         /boot      ext2       noauto,noatime     1 1

Preferably the dependency on the "/etc/fstab" should be removed from the grub
install script; or the installation instructions should be updated, so that the
modification to the "/etc/fstab" are carried out before running the "emerge
system" command :-)
Comment 1 SpanKY gentoo-dev 2002-10-12 17:13:31 UTC
the ebuild is functioning properly, the docs just have to be updated 
Comment 2 Maurizio Disimino 2002-10-12 17:40:23 UTC
Created attachment 4645 [details]
patch to mount-boot.eclass
Comment 3 Donny Davies (RETIRED) gentoo-dev 2002-10-12 21:34:44 UTC
fixed; thanks maurizio