Article View: alt.os.linux.slackware
Article #61Re: HD partition oddity, vanilla Slack 15 64bit install
From: jayjwa
Date: Wed, 25 Nov 2026 20:59
Date: Wed, 25 Nov 2026 20:59
85 lines
4613 bytes
4613 bytes
Mike Spencer <mds@bogus.nodomain.nowhere> writes:
>> Did you also reformat the EFI partition?
>
> No. How do I do that?
mkfs.vfat -F 32 on a partition of type EF. *Assuming* it's /dev/sda1,
then mkfs.vfat -F 32 /dev/sda1.
In your situation, I'd:
boot the install media (I'd use the Current snapshot ISO. There's a new
version of Slackware coming soon because people are talking about "16
Alpha" and it would be pointless to install something nearing end-of-life)
run fdisk /dev/sda (assuming it really is /dev/sda)
using fdisk, create a new GPT for /dev/sda (look at its help menu)
create /dev/sda1 as EF type partition
create /dev/sda2 as whatever Linux type for /
create /dev/sda3 as whatever Linux type for /home
create /dev/sda4 as Linux swap
write those changes and exit fdisk
run mkfs.vfat -F 32 /dev/sda1
run mkfs.ext4 /dev/sda2
run mkfs.ext4 /dev/sda3
run setup and install to /dev/sda2. It might ask were to put this,
it's "/". Same with /dev/sda3, it's "/home'.
finish full install
exit setup before installing any bootloader
run 'mkbindmounts' or whatever it's called (it's in /sbin)
chroot /mnt
grub-install /dev/sda
check /etc/default/grub
edit variable GRUB_CMDLINE_LINUX if needed
grub-mkconfig -o /boot/grub/grub.cfg
reboot & remove install media
hope for the best
I'm writing the above from memory, but you get the idea.
> Slackware 15 install dialog refers to "formatting" partitions, offers
> to so same for partitions of type 0x83 (Linux filesystem) with a
> choice of ext2, ext3, ext4 and other fs types. I'm guessing that
> "format" in the install dialog refers to running (in my case)
> mkfs.ext4.
Let's stick with ext4. There's no reason to consider others in your
case.
> The dialog does not offer to "format" the partition of type "EFI
> System" (alleged to be 0xEF but that value doesn't appear anywhere in
> the partitioning tools). That partition is reported by cfdisk and
> mount(8) as having "Filesystem: vfat" and "type vfat" respectively.
Don't confuse "partition type" with "filesystem type". The filesystem
lays on the partition. So, for the first partition, which will likely be
the EFI partition, that would be partition type EF and filesystem type
FAT32.
> fsck.fat -n -v finds several things it doesn't like but doesn't report
> explicitly on mismatch between partition size and fs size, exits 1
> (recoverable errors).
There's no reason to run fsck now. It's not needed during install unless
you suspect a broken filesystem - but there wouldn't be any filesystems
because you're making them now anew.
>>> I'm tempted to dd /dev/zero to /dev/sda with bignum count but that's
>>> probably wrong if not calamitous.
>>
>> That will overwrite your partition table as well as file systems.
There's no reason to do this and it helps nothing.
> So I assumed, including the "protective MBR". Does it overwrite
> secret/magic/unknown-to-me HD bytes/numbers/data-objects that would
> interfere with or completely prevent reconstructing the partition
> table with the usual tools?
The MBR does have magic bytes to indicate that it's bootable:
0x55AA. But this doesn't matter to us because we are using GPT. Avail
yourself of 21st century progress and forget MBR unless you're working
on hobbyist/legacy systems.
--
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:
<878q2g6314.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-mailReferences:
<87v75tjtk2.fsf@enoch.nodomain.nowhere> <slrn11fu7q1.mf6.zsd@x360.localdomain> <87ik1qkc3w.fsf@enoch.nodomain.nowhere> <875wxoje93.fsf@enoch.nodomain.nowhere> <11e0tk1$1mfkf$1@dont-email.me> <87qzga4qvm.fsf@enoch.nodomain.nowhere> <11e4le2$32jgn$1@dont-email.me> <87ik1l51tj.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: Wed, 25 Nov 2026 15:59:19 -0500 Organization: Atr2 RG 2026 Message-ID: <878q2g6314.fsf@atr2.ath.cx> References: <87v75tjtk2.fsf@enoch.nodomain.nowhere> <slrn11fu7q1.mf6.zsd@x360.localdomain> <87ik1qkc3w.fsf@enoch.nodomain.nowhere> <875wxoje93.fsf@enoch.nodomain.nowhere> <11e0tk1$1mfkf$1@dont-email.me> <87qzga4qvm.fsf@enoch.nodomain.nowhere> <11e4le2$32jgn$1@dont-email.me> <87ik1l51tj.fsf@enoch.nodomain.nowhere> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: solani.org; logging-data="543714"; mail-complaints-to="abuse@news.solani.org" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:W9H4mzbOmzLP1HcKdHEYoLpHDEM= sha1:48Gw2MlJgMWKkYCHZYqKq/rRf8U= X-User-ID: eJwFwYEBACAEBMCVkH+MI9X+I3SHReWEE3Q8PLPkBbyC3OnSVme1aU0bMqxv69GtvkaEUx/+hBA2