Bug 745183 - please add --root-directory to usage of grub2-install
Summary: please add --root-directory to usage of grub2-install
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-11 15:08 UTC by Mike Khusid
Modified: 2013-04-02 23:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-11 19:14:11 UTC
Type: ---


Attachments (Terms of Use)

Description Mike Khusid 2011-10-11 15:08:54 UTC
Description of problem:
grub2-install --help doesn't list --root-directory as a valid usage. It looks like the code does allow for this option.

This option is very valuable when recovering grub2 after another OS install, e.g. described here: http://ulyssesonline.com/2010/09/20/recover-grub2-after-windows-install/

Version-Release number of selected component (if applicable):
grub2-1.99-7.fc16

Comment 1 Mads Kiilerich 2011-11-11 19:14:11 UTC
--root-directory=/mnt/ is accepted for compatibility but is undocumented and not recommended.

Instead --boot-directory=/mnt/boot should be used. Documenting this feature would just add confusion.


Note You need to log in before you can comment on or make changes to this bug.