Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] UEFI booting
Date: Fri, 26 Aug 2016 11:45:15
Message-Id: 20160826124458.57f6dead@digimed.co.uk
In Reply to: Re: [gentoo-user] UEFI booting by Mick
1 On Fri, 26 Aug 2016 12:33:47 +0100, Mick wrote:
2
3 > You don't have to do something about it, if you want to retain the
4 > ability to use Grub. If you will no longer use grub then you probably
5 > do not need the first grub-specific partition.
6
7 You don't need to anyway. You only need that partition when using GPT on
8 a non-UEFI system. GRUB will boot from the UEFI ESP quite happily,
9 although not on Peter's system for some reason.
10
11 This is how I have partitioned my NVMe drive for UEFI booting (using
12 bootctl, which is the same as systemd-boot)
13
14 GPT fdisk (gdisk) version
15 1.0.1
16
17 Partition table scan:
18 MBR: protective
19 BSD: not present
20 APM: not present
21 GPT: present
22
23 Found valid GPT with protective MBR; using GPT.
24 Disk /dev/nvme0n1: 250069680 sectors, 119.2 GiB
25 Logical sector size: 512 bytes
26 Disk identifier (GUID): 0EB51C66-3333-494C-80F3-9ACB1D95325D
27 Partition table holds up to 128 entries
28 First usable sector is 34, last usable sector is 250069646
29 Partitions will be aligned on 2048-sector boundaries
30 Total free space is 2014 sectors (1007.0 KiB)
31
32 Number Start (sector) End (sector) Size Code Name
33 1 2048 2099199 1024.0 MiB EF00 boot
34 2 2099200 18876415 8.0 GiB 8200 swap
35 3 18876416 250069646 110.2 GiB 8300 root
36
37
38 --
39 Neil Bothwick
40
41 Never ask a geek why, just nod your head and slowly back away