Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] Handbook instructions for UEFI
Date: Mon, 18 Jan 2016 09:13:37
Message-Id: CAC=wYCHnz599SLzExhYwHimHsF+DD7_cXUBK-Np1=AjD9dAofg@mail.gmail.com
1 First attempt at a GPT/UEFI install. Instructions in the Handbook say that
2 for a UEFI system, prepare the disk as;
3 Partition Filesystem Size Description
4 /dev/sda1 (bootloader) 2M BIOS boot partition
5 /dev/sda2 ext2 (or vfat) 128M Boot partition
6 <snip>
7
8 to end up with;
9 (parted)print
10
11 Model: Virtio Block Device (virtblk)
12 Disk /dev/sda: 20480MiB
13 Sector size (logical/physical): 512B/512B
14 Partition Table: gpt
15
16 Number Start End Size File system Name Flags
17 1 1.00MiB 3.00MiB 2.00MiB grub bios_grub
18 2 3.00MiB 131MiB 128MiB boot boot
19 <snip>
20
21 And later in the bootloader instructions is says;
22 # grub2-install --target=x86_64-efi --efi-directory=/boot
23 then;
24 Note: Modify the efi-directory setting to the root of the vfat EFI System
25 Partition. This necessary if the /boot partition was not formatting [sic]
26 as vfat.
27
28 Does it look like they intend that /dev/sda1 is the EFI system partition?
29 If so, should /dev/sda1 be mounted at /boot/efi, and the --efi-directory
30 set to /boot/efi...

Replies

Subject Author
Re: [gentoo-user] Handbook instructions for UEFI Neil Bothwick <neil@××××××××××.uk>