1 |
On Sat, 26 Dec 2020 14:37:14 -0500, Walter Dnes wrote: |
2 |
|
3 |
> On Sat, Dec 26, 2020 at 01:28:44AM -0500, Walter Dnes wrote |
4 |
> > This is my first UEFI install, so please pardon the questions. |
5 |
> |
6 |
> More questions about partitioning... |
7 |
> |
8 |
> * I need a sample /etc/fstab listing from someone who boots UEFI. I'm |
9 |
> mostly interested in how the /boot partition is set up. |
10 |
|
11 |
/dev/nvme0n1p1 /boot vfat defaults 1 2 |
12 |
/dev/nvme0n1p2 none swap sw 0 0 |
13 |
/dev/nvme0n1p1 / btrfs defaults 0 1 |
14 |
|
15 |
> * I need a screen capture of the output of the "print" command in |
16 |
> "parted" from someone who boots UEFI. |
17 |
|
18 |
Stick with gdisk, it's what you're familiar with: |
19 |
|
20 |
% gdisk -l /dev/nvme0n1 |
21 |
GPT fdisk (gdisk) version 1.0.5 |
22 |
|
23 |
Partition table scan: |
24 |
MBR: protective |
25 |
BSD: not present |
26 |
APM: not present |
27 |
GPT: present |
28 |
|
29 |
Found valid GPT with protective MBR; using GPT. |
30 |
Disk /dev/nvme0n1: 500118192 sectors, 238.5 GiB |
31 |
Model: WDC WDS256G1X0C-00ENX0 |
32 |
Sector size (logical/physical): 512/512 bytes |
33 |
Disk identifier (GUID): 0EB51C66-3333-494C-80F3-9ACB1D95325D |
34 |
Partition table holds up to 128 entries |
35 |
Main partition table begins at sector 2 and ends at sector 33 |
36 |
First usable sector is 34, last usable sector is 500118158 |
37 |
Partitions will be aligned on 2048-sector boundaries |
38 |
Total free space is 2014 sectors (1007.0 KiB) |
39 |
|
40 |
Number Start (sector) End (sector) Size Code Name |
41 |
1 2048 2099199 1024.0 MiB EF00 boot |
42 |
2 2099200 18876415 8.0 GiB 8200 swap |
43 |
3 18876416 458174463 209.5 GiB 8300 main |
44 |
4 458174464 500118158 20.0 GiB 8300 spare |
45 |
|
46 |
Note that I am using partition 1 as both the ESP and /boot. This is a |
47 |
popular approach and keeps things simpler. It needs to be a FAT |
48 |
filesystem on a partition of type EF00 to keep UEFI happy, but Linux |
49 |
doesn't care but any of that as long as it's a readable filesystem. |
50 |
|
51 |
Don't forget to build FAT filesystem support into your kernel. |
52 |
|
53 |
|
54 |
-- |
55 |
Neil Bothwick |
56 |
|
57 |
"Woody, I said TUCK the children in bed!" --Mia Farrow |