On Mon, 18 Jan 2016 20:13:25 +1100, Adam Carter wrote:

> First attempt at a GPT/UEFI install. Instructions in the Handbook say
> that for a UEFI system, prepare the disk as;
> Partition     Filesystem     Size     Description
> /dev/sda1     (bootloader)     2M     BIOS boot partition
> /dev/sda2     ext2 (or vfat)     128M     Boot partition
> <snip>

The BIOS boot partition is needed when using GPT *without* UEFI. For EFI,
the first partition should be the ESP, formatted using FAT. You can also
use this as /boot, and have to if you aren't using GRUB. For example,
this laptop has

% sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 500118192 sectors, 238.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 26850F58-B4C1-48A7-BE0A-715BB53DDD0B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 500118158
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         2099199   1024.0 MiB  EF00  EFI System
   2         2099200       483340287   229.5 GiB   8300  Linux filesystem
   3       483340288       500118158   8.0 GiB     8200  Linux swap


-- 
Neil Bothwick

Help a man when he is in trouble and he will remember you when he is in
trouble again

Attachment: pgp1lGZ_k1g_t.pgp
Description: OpenPGP digital signature

Reply via email to