Article View: alt.os.linux.slackware
Article #40Re: HD partition oddity, vanilla Slack 15 64bit install
From: Mike Spencer
Date: Fri, 20 Nov 2026 07:38
Date: Fri, 20 Nov 2026 07:38
70 lines
3990 bytes
3990 bytes
Marco Moock <mm@dorfdsl.de> writes: > Am 19.11.26 um 06:09 schrieb Mike Spencer: > >> My son and grandson got me a good used computer and installed 64bit >> Slackware 15, more or less cook-booking by mostly following the >> default prompts of the install scripts. It boots and runs as >> expected. > > Is that an UEFI or BIOS machine? Guessing that it supports UEFI but don't know how to tell except by trial and error in install process. parted verifies that the current partition table is MSDOS, thus using BIOS or UEFI BIOS emulation. >> I'm about to re-do the installation because it appears easier than >> undoing numerous things piecemeal. But I'm stumped by the HD >> partitions they created. I don't know the history of the machine -- >> what was on the HD previously. >> >> Mainly, >> >> + I don't know what a partition of ID=5, Type=extended is, and >> >> + Why does lsblk(8) say it's 1K while cfdisk says it's 7.9G and >> suggests (using graphic chars) that it's related to the swap >> partition. > > MBR partition tables support "extended partitions", as the amount of > normal partitions is limited to 4. Such partitions have certain > restrictions depending on the OS you want to install. This stuff that I only do every four or five years slips from my memory. I knew about "extended partitions" back before Y2K when I was still using MS-DOS at home. Since I posted here, I finally located the list of "partition types" and IDs that I'd never been able to find before. For the record (and other bumbling octogenarians :-) https://en.wikipedia.org/wiki/Partition_type where ID 5 is listed as a container for "extended" partitions. So my son for unknown reasons created one extended partition for swap but no other partitions except /. > I recommend deleting the partition table. That is the current plan. I'll reply later to Lew and Jim who offered advice on that. > If you want to wipe the data on the disk, use dd or shred on > /dev/sda. Otherwise the data is still (partially) readable. No data on the disk except the (almost) vanilla Slackware 15 install. I assume that deleting all existing partitions, creating new ones and running mkfs.ext4 (and swapon?) would be sufficient. > Then you need to figure out if the machine supports UEFI. In that case I > recommend to do an UEFI install. 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. Tnx for your help, -- Mike Spencer Nova Scotia, Canada The command line is like language. The GUI is like shopping.
Technical Details
Message-ID:
<87qzggj6kw.fsf@enoch.nodomain.nowhere>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<87v75tjtk2.fsf@enoch.nodomain.nowhere> <11dmuuv$4d7s$1@solani.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Mike Spencer <mds@bogus.nodomain.nowhere> Newsgroups: alt.os.linux.slackware Subject: Re: HD partition oddity, vanilla Slack 15 64bit install Date: 20 Nov 2026 03:38:23 -0400 Organization: Bridgewater Institute for Advanced Study - Blacksmith Shop Lines: 70 Sender: mds@enoch.nodomain.nowhere Message-ID: <87qzggj6kw.fsf@enoch.nodomain.nowhere> References: <87v75tjtk2.fsf@enoch.nodomain.nowhere> <11dmuuv$4d7s$1@solani.org> Injection-Date: Fri, 20 Nov 2026 07:38:24 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3113908"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4NfRSS+8sfX2SzFRmLx2+htD8qHLLuVc="; posting-host="df9ea2e1ae6fe81e0a326ba86a4ba860" Cancel-Lock: sha1:vcMp+j/hWmzzJ0VDA3XyiBA3YiA= sha256:sYxdJ+vemM0p2XGRl9SY00L4vCOXFROtQP810mOO0Eo= sha1:pRbfwHzDtBAjRoDFalGW/sX2g00= sha256:QaPnOfpR+zvqu92fnSSsGu3XPLB6Fc+S9g2nQsYCKYk= X-Newsreader: Gnus v5.7/Emacs 20.7 X-Clacks-Overhead: 4GH GNU Terry Pratchett