🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#36
From: Marco Moock
Date: Thu, 19 Nov 2026 13:52
78 lines
3706 bytes
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?

> 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.
> 
> Details are appended below.
> 
> 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.
> 
> I can see (from the cfdisk "start" and "end" data) that sda5 overlaps
> sda2 by two 512-byte sectors representing a difference of 1K but it
> doesn't make any sense to me.
> 
> Can anyone explain what is happening here?
> 
> My current plan is to delete all partitions and start over but not
> understanding this weirdness makes me worry that there is something
> about that ID=5 partition that I don't understand.
> 
> 
> Regards,
> -Mike
> 
> --- Begin HD partition details ---
> 
> lsblk  says:
> ------------
> 
> sda      1000204886016 931.5 G
> |-sda1    991757860064 929.6 G
> |-sda2            1024   1   K
> |-sda5      8444182528   7.9 G
> 
> cfdisk says:
> ------------
> 
> /dev/sda   1000204886016 931 GiB  1953525168 sect [512 b/sect]
> 
>            Start            End        Sectors    Size	 ID	  Type
>            -----            ---        -------    ----    --   ----
> 
> /dev/sda1          2048      1937029119  1937027072   923.6 G  83   Linux
> /dev/sda2    1937031166      1953523711    16492546     7.9 G   5   Extended
> `-/dev/sda5  1937031168      1953523711    16492544     7.9 G  82   Linux Swap
> 
> ^^---- is 0x2514 0x2500 suggesting a tree-like relation to the above line.

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.

I recommend deleting the partition table. If you want to wipe the data 
on the disk, use dd or shred on /dev/sda. Otherwise the data is still 
(partially) readable.

Then you need to figure out if the machine supports UEFI. In that case I 
recommend to do an UEFI install.


-- 
Gruß
Marco

Spam bitte an abfalleimer2001@stinkedores.dorfdsl.de
Technical Details
Message-ID: <11dmuuv$4d7s$1@solani.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: Marco Moock <mm@dorfdsl.de>
Newsgroups: alt.os.linux.slackware
Subject: Re: HD partition oddity, vanilla Slack 15 64bit install
Date: Thu, 19 Nov 2026 14:52:30 +0100
Organization: keine vorhanden, alles chaotisch
Message-ID: <11dmuuv$4d7s$1@solani.org>
References: <87v75tjtk2.fsf@enoch.nodomain.nowhere>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 19 Nov 2026 13:52:31 -0000 (UTC)
Injection-Info: solani.org;
	logging-data="144636"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:bTqKMLBL0G8ZWRQGYQcXLOHLlOo=
In-Reply-To: <87v75tjtk2.fsf@enoch.nodomain.nowhere>
X-User-ID: eJwFwYEBACAIArCbKkHfCY3/T2jD4WJnEAwYNlH9VHcXNKOQVRoieYQnYzqXg1x3as8HPTkSLw==
Content-Language: en-US, de-DE