On 2026-11-20 at 12:39 AST, jayjwa <jayj…@atr2.ath.cx.invalid> wrote:
> Mike Spencer <m…@bogus.nodomain.nowhere> writes:
>>> Then you need to figure out if the machine supports UEFI. In that case I >>> recommend to do an UEFI install.
<snip>
> grep efi /etc/fstab > /dev/nvme0n1p1 /boot/efi vfat defaults 1 0 > efivarfs /sys/firmware/efi/efivars efivarfs noauto 0 0
> The EFI filesystem is just a FAT32 fs on top of the partition, type > "EF".
> If you're setting up a new system, use modern methods. There's no reason > to hold on to baggage from the past when a better method exists.
Mike: I agree with the above. Assuming your machine is "recent" and supports GPT-partitioned disks, improve your life and remove all recollections of MBR from your head. ;-)
> Here's how I setup my systems. You might leave off /srv if you're not > serving files.
> lsblk -o NAME,FSTYPE,PARTTYPENAME,LABEL,FSAVAIL,FSUSE%,MOUNTPOINTS > NAME FSTYPE PARTTYPENAME LABEL FSAVAIL FSUSE% MOUNTPOINTS > zram0 swap [SWAP] > nvme0n1 > ├─nvme0n1p1 vfat EFI System 932.6M 4% /boot/efi > ├─nvme0n1p2 swap Linux swap lxswap [SWAP] > ├─nvme0n1p3 ext4 Linux root (x86-64) 177.2G 59% / > ├─nvme0n1p4 xfs Linux server data 40G 20% /srv > └─nvme0n1p5 xfs Linux home 285.6G 18% /home
> New Slackware Current installs should handle the explicit PARTTYPENAME > partition types. Older installs only took type 83. I mentioned this on > LQ during my last install. You can still use the older type name if you > want. 'fdisk' is my favorite tool for partitions because it seems to "do > the right thing" most of the time and has a helpful menu if you forget > the commands. It automatically figures how where the next partition goes > when you're adding them; you don't have to do math with the sectors.
> Lastly, my EFI partition is a little big but that's what the machine > came with so I left it.
(Mainly for Mike, but just in case others in his situation read this...) FWIW, I have 256 MB for my EFI partition, and even with 10 different OS boot choices (and 3 versions of memtest) I am only using 90 MB of that. While it is best not to make your EFI partition so small that you will regret it later, you don't need to go wild either. Of that 90MB, roughly 50MB is the diagnostics tools that came on my laptop, 20MB is the Windoze that came on the machine, 2.5 MB is refind, and a few other odds and sods occupy the rest. (As mentioned) I use refind as my boot manager. I boot the OS "directly" from the disk partition, and the only thing I ever update in the EFI partition is refind's conf file. I poked around with elilo, but I didn't get it working to my satisfaction. That may well have been a "me" issue, but since refind does what I want, I stopped futzing around and took the path of least resistance. Jim