Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84354 - Possible documentation bug, grub-install root-directory should be /, not "/boot"
Summary: Possible documentation bug, grub-install root-directory should be /, not "/boot"
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Alternative Installation Guide (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-06 16:37 UTC by lansalot
Modified: 2005-03-25 06:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lansalot 2005-03-06 16:37:34 UTC
At above URL, issuing the command as per the docs:

grub-install --root-directory=/boot /dev/hda

Will result in grub being installed in /boot/boot/grub.

Reproducible: Always
Steps to Reproduce:
1. Change the amd64 documentation, --root-directory=/boot should be --root-directory=/

Actual Results:  
It worked.

Expected Results:  
Install grub into /boot, not /boot.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2005-03-10 02:16:54 UTC
/boot/boot should be a symlink to /boot, so /boot/boot/grub = /boot/grub.  grub cannot determine mount points, so the --root-directory=/boot is necessary for people who have /boot on a seperate partition - otherwise grub would look on the wrong partition for the image files.  the symlink keeps things simple.

http://www.gnu.org/software/grub/grub-legacy-faq.en.html#q11
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2005-03-25 06:36:40 UTC
The command is correct
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2005-03-25 06:38:48 UTC
Didn't mean to just put "works" :)

The command doesn't hurt as per Ryan's comment. For people with separate boot partitions it is vital, but for others it's just redundant.