On Sat, 26 Dec 2020 14:37:14 -0500, Walter Dnes wrote:

> On Sat, Dec 26, 2020 at 01:28:44AM -0500, Walter Dnes wrote
> >   This is my first UEFI install, so please pardon the questions.  
> 
>   More questions about partitioning...
> 
>   * I need a sample /etc/fstab listing from someone who boots UEFI.  I'm
>     mostly interested in how the /boot partition is set up.

/dev/nvme0n1p1  /boot  vfat  defaults  1 2 
/dev/nvme0n1p2  none   swap  sw        0 0
/dev/nvme0n1p1  /      btrfs defaults  0 1

>   * I need a screen capture of the output of the "print" command in
>     "parted" from someone who boots UEFI.

Stick with gdisk, it's what you're familiar with:

% gdisk -l /dev/nvme0n1
GPT fdisk (gdisk) version 1.0.5

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

Found valid GPT with protective MBR; using GPT.
Disk /dev/nvme0n1: 500118192 sectors, 238.5 GiB
Model: WDC WDS256G1X0C-00ENX0
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 0EB51C66-3333-494C-80F3-9ACB1D95325D
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
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  boot
   2         2099200        18876415   8.0 GiB     8200  swap
   3        18876416       458174463   209.5 GiB   8300  main
   4       458174464       500118158   20.0 GiB    8300  spare

Note that I am using partition 1 as both the ESP and /boot. This is a
popular approach and keeps things simpler. It needs to be a FAT
filesystem on a partition of type EF00 to keep UEFI happy, but Linux
doesn't care but any of that as long as it's a readable filesystem.

Don't forget to build FAT filesystem support into your kernel.


-- 
Neil Bothwick

"Woody, I said TUCK the children in bed!" --Mia Farrow

Attachment: pgp5QgIckaNjy.pgp
Description: OpenPGP digital signature

Reply via email to