Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Handbook instructions for UEFI
Date: Mon, 18 Jan 2016 09:20:33
Message-Id: 20160118092018.3d324645@digimed.co.uk
In Reply to: [gentoo-user] Handbook instructions for UEFI by Adam Carter
1 On Mon, 18 Jan 2016 20:13:25 +1100, Adam Carter wrote:
2
3 > First attempt at a GPT/UEFI install. Instructions in the Handbook say
4 > that for a UEFI system, prepare the disk as;
5 > Partition Filesystem Size Description
6 > /dev/sda1 (bootloader) 2M BIOS boot partition
7 > /dev/sda2 ext2 (or vfat) 128M Boot partition
8 > <snip>
9
10 The BIOS boot partition is needed when using GPT *without* UEFI. For EFI,
11 the first partition should be the ESP, formatted using FAT. You can also
12 use this as /boot, and have to if you aren't using GRUB. For example,
13 this laptop has
14
15 % sudo gdisk -l /dev/sda
16 GPT fdisk (gdisk) version 1.0.1
17
18 Partition table scan:
19 MBR: protective
20 BSD: not present
21 APM: not present
22 GPT: present
23
24 Found valid GPT with protective MBR; using GPT.
25 Disk /dev/sda: 500118192 sectors, 238.5 GiB
26 Logical sector size: 512 bytes
27 Disk identifier (GUID): 26850F58-B4C1-48A7-BE0A-715BB53DDD0B
28 Partition table holds up to 128 entries
29 First usable sector is 34, last usable sector is 500118158
30 Partitions will be aligned on 2048-sector boundaries
31 Total free space is 2014 sectors (1007.0 KiB)
32
33 Number Start (sector) End (sector) Size Code Name
34 1 2048 2099199 1024.0 MiB EF00 EFI System
35 2 2099200 483340287 229.5 GiB 8300 Linux filesystem
36 3 483340288 500118158 8.0 GiB 8200 Linux swap
37
38
39 --
40 Neil Bothwick
41
42 Help a man when he is in trouble and he will remember you when he is in
43 trouble again