🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.slackware
Article #42

Re: HD partition oddity, vanilla Slack 15 64bit install

#42
From: jayjwa
Date: Fri, 20 Nov 2026 16:39
65 lines
4057 bytes
Mike Spencer <mds@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.

Yes, go with UEFI and GPT unless it's an ancient machine that only
support MBR. 

> How do I determine that?  efibootmgr -v says "EFI variable are not
> supported on this system" but I don't know if that's hardware,
> firmware or the current kernel config running on top of an MBR HD
> partition.

Hardware:
When the machine starts, enter into the BIOS/firmware setup screens and
look around. "CSM" is the older MBR boot. If it mentions EFI you're
good. If the machine was from 15 years ago or more recent then almost
certainly it's EFI.

You need kernel support for EFI:
zgrep EFI /proc/config.gz

And the filesystems it uses (CONFIG_EFIVAR_FS=y) to be mounted, both the
actual filesystem and the efivars pseudo filesystem:

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. 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. 512m is probably more than enough. Use grub with
EFI. elilo has issues, depending on how new things are. It worked for me
years ago then stopped around kernel version 6.1.x . You might as well
learn grub because I think it's going to be the default in the next
versioned Slackware. 

-- 
PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE
       "The Internet should always be the Wild West!"
Technical Details
Message-ID: <878q2n1mp4.fsf@atr2.ath.cx>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
References: <87v75tjtk2.fsf@enoch.nodomain.nowhere> <11dmuuv$4d7s$1@solani.org> <87qzggj6kw.fsf@enoch.nodomain.nowhere>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: jayjwa <jayjwa@atr2.ath.cx.invalid>
Newsgroups: alt.os.linux.slackware
Subject: Re: HD partition oddity, vanilla Slack 15 64bit install
Date: Fri, 20 Nov 2026 11:39:51 -0500
Organization: Atr2 RG 2026
Message-ID: <878q2n1mp4.fsf@atr2.ath.cx>
References: <87v75tjtk2.fsf@enoch.nodomain.nowhere>
	<11dmuuv$4d7s$1@solani.org> <87qzggj6kw.fsf@enoch.nodomain.nowhere>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: solani.org;
	logging-data="216116"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:aI/cTLFDX1rWd7LjH61N148vcDM= sha1:60nwG6iKsChqmnfVnfOxCcHBLF4=
X-User-ID: eJwNy8ERACEIA8CWZEjiUY4I9F/C+dvP0mW6G6LA4ZgKFsWcyJow0Ppb6BsPbr0OEB47dTJf+gEZKxDb