Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121001

Summary: The default grub-install line does not include or mention the --root-directory=/boot switch
Product: [OLD] Docs-user Reporter: glenn green <gg>
Component: HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10
Whiteboard:
Package list:
Runtime testing required: ---

Description glenn green 2006-01-30 19:11:22 UTC
The default partition setup is to use a /boot partition, but the default grub-install command line does not include (or mention) the --root-directory=/boot command line switch.  The result is an error at boot stating 'invalid device string' without an actual grub error number.

This is the case in the installation guide, x86 install handbook, amd64 install handbook and the installation docs on the 2005.1 universal install cd.

It only took a few minutes to locate the problem, and a manual grub install would not be affected but this probably throws newbies a real curve.
Comment 1 nm (RETIRED) gentoo-dev 2006-01-30 19:16:53 UTC
(In reply to comment #0)
> The default partition setup is to use a /boot partition, but the default
> grub-install command line does not include (or mention) the
> --root-directory=/boot command line switch.  The result is an error at boot
> stating 'invalid device string' without an actual grub error number.
> 
> This is the case in the installation guide, x86 install handbook, amd64 install
> handbook and the installation docs on the 2005.1 universal install cd.
> 
> It only took a few minutes to locate the problem, and a manual grub install
> would not be affected but this probably throws newbies a real curve.
> 

Correct, the manual install doesn't show any problems. Actually, neither that nor the other way have given me any problems, even on systems without a /boot partition (i.e. /boot is on the same partition as /).
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2006-02-01 04:02:34 UTC
(In reply to comment #1)

> Correct, the manual install doesn't show any problems. Actually, neither that
> nor the other way have given me any problems, even on systems without a /boot
> partition (i.e. /boot is on the same partition as /).

+1. Tried both with and without a /boot partition.