Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84257 - GRUB chainloader (hd0,0)+1 is safer than chainloader +1
Summary: GRUB chainloader (hd0,0)+1 is safer than chainloader +1
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 18:27 UTC by Adam
Modified: 2005-03-26 18:07 UTC (History)
0 users

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 Adam 2005-03-05 18:27:03 UTC
This is an enhancement request, not a bug.

If your GRUB is installed on a different hard disk than Windows, the chainloader +1 command will fail _very_ mysteriously.  Google'ing the error returns pages and pages of irrelevant data.  You can save people like me hours of pain by simply changing the recommended line from:

chainloader +1

to:

chainloader (hd0,0)+1

and it doesn't break things for anyone else.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2005-03-06 04:09:30 UTC
Does this mean that (hd0,0) in your example is the one containing the Windows (or other OS) installation?
Comment 2 Adam 2005-03-06 10:23:25 UTC
Yes, that is correct.  It would be helpful to note that in the instructions if it doesn't complicate things too much.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2005-03-25 02:13:45 UTC
The chainloader directive shouldn't contain a (hdX) or (hdX,Y) setting (confirmed by grub developers). Was your root/rootnoverify setup correctly? 

There is additional GRUB information for DOS/Windows users as well, see http://www.gnu.org/software/grub/manual/html_node/DOS-Windows.html#DOS%2fWindows
Comment 4 Adam 2005-03-26 18:07:26 UTC
Mea culpa.
I had:

rootnoverify(hd0,0)

Changing it to:

rootnoverify (hd0,0)

fixed the problem.
Maybe a comment that the space is required would help.
Sorry.