1 |
On Thursday, 23 August 2018 12:14:49 BST Adam Carter wrote: |
2 |
> [from Neil Bothwick:] |
3 |
> > The other question is why use GRUB on a modern system? UEFI boot |
4 |
> > managers are far simpler to work with than GRUBs monster configuration |
5 |
file and |
6 |
> > in that case it makes sense to combine /boot with the ESP and use VFAT |
7 |
for it. |
8 |
> |
9 |
> I couldn't grok the Gentoo UEFI setup instructions before loosing patience |
10 |
> with them. That's weak, so I will try again. |
11 |
|
12 |
I haven't been able to reconcile the Wiki with all the other docs out there, |
13 |
including other Gentoo docs. I finished up with this: |
14 |
|
15 |
# parted -l /dev/nvme0n1 |
16 |
Model: Unknown (unknown) |
17 |
Disk /dev/nvme0n1: 256GB |
18 |
Sector size (logical/physical): 512B/512B |
19 |
Partition Table: gpt |
20 |
Disk Flags: |
21 |
|
22 |
Number Start End Size File system Name Flags |
23 |
1 1049kB 3146kB 2097kB uefi bios_grub |
24 |
2 3146kB 2147MB 2144MB fat32 boot boot, esp |
25 |
3 2147MB 4295MB 2147MB linux-swap(v1) swap |
26 |
4 4295MB 19.3GB 15.0GB ext4 rescuesys |
27 |
5 19.3GB 36.5GB 17.2GB ext4 gentooroot |
28 |
--->8 |
29 |
|
30 |
> man mount shows that discard/TRIM is supported by linux vfat driver, as |
31 |
> vfat also supports all the fat mount options. |
32 |
|
33 |
I've found that fstrim only works on my VFAT /boot if it's been mounted |
34 |
during boot. If it's set to noauto in fstab, and then mounted with |
35 |
-odiscard, fstrim complains that "discard is not supported" |
36 |
|
37 |
-- |
38 |
Regards, |
39 |
Peter. |