On Thursday, 23 August 2018 12:14:49 BST Adam Carter wrote:
> [from Neil Bothwick:]
> > The other question is why use GRUB on a modern system? UEFI boot
> > managers are far simpler to work with than GRUBs monster configuration 
file and
> > in that case it makes sense to combine /boot with the ESP and use VFAT 
for it.
> 
> I couldn't grok the Gentoo UEFI setup instructions before loosing patience
> with them. That's weak, so I will try again.

I haven't been able to reconcile the Wiki with all the other docs out there,
including other Gentoo docs. I finished up with this:

# parted -l /dev/nvme0n1
Model: Unknown (unknown)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name        Flags
 1      1049kB  3146kB  2097kB                  uefi        bios_grub
 2      3146kB  2147MB  2144MB  fat32           boot        boot, esp
 3      2147MB  4295MB  2147MB  linux-swap(v1)  swap
 4      4295MB  19.3GB  15.0GB  ext4            rescuesys
 5      19.3GB  36.5GB  17.2GB  ext4            gentooroot
--->8

> man mount shows that discard/TRIM is supported by linux vfat driver, as
> vfat also supports all the fat mount options.

I've found that fstrim only works on my VFAT /boot if it's been mounted 
during boot. If it's set to noauto in fstab, and then mounted with
-odiscard, fstrim complains that "discard is not supported"

-- 
Regards,
Peter.




Reply via email to