On Saturday, 15 June 2024 12:01:26 BST Dale wrote: > Michael wrote: > > b) Using a bootloader: > > > > Mount your ESP under the /efi mountpoint. GRUB et al, will install their > > .efi image in the /efi/EFI/ directory. You can have your /boot as a > > directory on your / partition, or on its own separate partition with a > > more robust fs type than ESP's FAT and your kernel images will be > > installed in there. > > Hmmmm. If I have a separate /boot, then efi gets mounted under /boot? > Like this: > > /boot/efi/<some files>
"... Mounting the ESP to /boot/efi/, as was traditionally done, is not recommended." Please read: https://wiki.gentoo.org/wiki/EFI_System_Partition#Mount_point > I'd like to use Grub, it's what I'm used to mostly. That way I can > update grub with its command and I guess update the efi thingy too when > I add kernels. I'm not sure on that tho. I could be wrong. You can still use GRUB. Example: ================================= EFI Partition: /dev/nvme0n1p1 type ef00 Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system partition) Mountpoint: /efi Filesystem: FAT32 ================= Then you can have a separate boot partition, example: ===================================================== Boot Partition: /dev/nvme0n1p2, type 8300 Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) Mountpoint: /boot Filesystem: ext2/3/4/xfs/btrfs/etc. =================================== [snip...] > > ~ # du -s -h /var > > 17G /var > > Well, it is large but it should last me a long time. Who knows what > portage will do next. When the distfiles and such moved to /var, it's a > good thing I was on LVM. This time, I'm not using LVM so gotta plan > further ahead. You can use btrfs or zfs and have /root, /home, /var, /what-ever mounted in subvolumes. This way they will use/share the free space of the single top level partition/disk.
signature.asc
Description: This is a digitally signed message part.