Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496558 - Wrong grub partition name
Summary: Wrong grub partition name
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-31 05:43 UTC by Vladimir Romanov (RETIRED)
Modified: 2013-12-31 20:29 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 Vladimir Romanov (RETIRED) gentoo-dev 2013-12-31 05:43:08 UTC
In hb-install-x86+amd64-bootloader.xml:

For instance, if you want GRUB installed in
<path>/dev/sda4</path>, then the command becomes <c>setup (hd0,4)</c>.
Few users however want to do this.

/dev/sda4 will be (hd0,5), not (hd0,4)!

Second, in lilo.conf part of document, all root= changed from sda3 to sda4, but in grub.conf (GRUB Legacy) part, root=/dev/sda3 remains. Is it error, or it is right?


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2013-12-31 20:27:37 UTC
On the GRUB matter, I think (hd0,4) is wrong, but not that it should be (hd0,5) but (hd0,3):

/dev/sda1 is (hd0,0)
/dev/sda2 is (hd0,1)
/dev/sda3 is (hd0,2)
/dev/sda4 is (hd0,3)

I'll correct that in the document.

The use of /dev/sda3 in the GRUB Legacy part is actually not "wrong", but confusing. /dev/sda4 in the example would most likely be the extended partition (as there is a /dev/sda6 mentioned further down for Windows). However, it could very well be that /dev/sda3 is the extended and that /dev/sda6 is Windows and /dev/sda7 swap.

I'l add in a <note> to point this out, and switch the example root= to /dev/sda4 to be consistent across the line elsewhere.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2013-12-31 20:29:32 UTC
Fixed in CVS, thanks!