Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343151 - Document installation on GPT partitioned media
Summary: Document installation on GPT partitioned media
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on: 343147
Blocks:
  Show dependency tree
 
Reported: 2010-10-28 21:01 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2011-08-23 17:42 UTC (History)
2 users (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 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-28 21:01:25 UTC
The Gentoo handbook presently only describes how to install on MBR partitioned media[1]. With the advent of hard drives larger than 2 TiB[2] where MBR limitations prevent using all of the disk space, a different method of managing the partitioning needs to be used.

I propose to add to the handbook part 1 chapter 4 a section about using sys-apps/gdisk for partitioning using GPT, and a note on filesystem choice. To chapter 10 of the amd64 and x86 handbook, configuration instructions for the extlinux boot loader would be added. The instructions would be similar to [3].

If the documentation team agrees, I will start working on an update of the handbook and put it up for review.

[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4
[2] http://www.wdc.com/en/products/products.asp?driveid=866
[3] http://chithanh.blogspot.com/2010/08/booting-from-btrfs-filesystem-in-gpt.html
Comment 1 nm (RETIRED) gentoo-dev 2010-11-04 16:51:26 UTC
Yeah, this is something that should be added, since GPT drives are probably the way of the future.

As long as the required packages are stable (and will likely need to be part of the base-system set, so they work out-of-the-box on autobuilt media), and if you can do the documentation in a suitably cross-platform style, then by all means, let's get some GPT lovin' into the handbook. I assume that x86/amx64 aren't the only arches capable of using GPT drives?
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-11-12 23:57:51 UTC
The partitioning part needs sys-apps/gdisk which is planned to go stable on amd64/x86 in a few weeks.

The boot loader for amd64/x86 is extlinux, which is also stable.
For ppc, yaboot supports GPT iirc.
Comment 3 nm (RETIRED) gentoo-dev 2011-03-02 08:36:44 UTC
(In reply to comment #2)
> The partitioning part needs sys-apps/gdisk which is planned to go stable on
> amd64/x86 in a few weeks.
> 
> The boot loader for amd64/x86 is extlinux, which is also stable.
> For ppc, yaboot supports GPT iirc.

Any word on this? GPT is definitely something I'd like to add to the handbooks, as long as the tools are stable and distributed with the installation media.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-03-02 09:09:28 UTC
sys-apps/gdisk is not shipped with the installation media, unfortunately.

sys-block/parted is on the InstallCD, but the code to mark partitions legacy BIOS bootable was recently added to upstream vcs, and is not in any release yet.
Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2011-03-02 11:13:45 UTC
(In reply to comment #2)
> The boot loader for amd64/x86 is extlinux, which is also stable.
> For ppc, yaboot supports GPT iirc.

sys-boot/grub-0.97-r10 boots my amd64 box from a GPT disk just fine with no fancy settings.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-05-25 22:11:33 UTC
@jkt booting from hybrid GPT/MBR is possible with GRUB legacy, however the boot partition needs to be contained in the first 2 TB of the disk.

sys-block/parted-2.4 with support for marking partitions legacy BIOS bootable has been added to portage recently. After it is marked stable and finds its way into the install media, the documentation can be updated.

I will write a handbook update proposal in the next days.
Comment 7 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-23 17:42:09 UTC
Handbook is updated with instructions on using parted (since that is the tool available in the livecds) as well as a note to the users that fdisk is no option if a partition >2TB is going to be used.

Only updated it for amd64/x86 though.