🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#39
From: Jim Diamond
Date: Thu, 19 Nov 2026 16:09
85 lines
4380 bytes
<various bits irrelevant to my answer snipped out>

On 2026-11-19 at 01:09 AST, Mike Spencer <mds@bogus.nodomain.nowhere> wrote:

>                                 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
>
As Lew explained, the partitioning your kids/grandkids created uses the old
DOS (aka MBR) partition table, which only allows 4 "primary" partitions,
except one of those can have an "extended" partition, which is a "container"
for as many other partitions as you want (up to how many can fit on your
disk, of course).

Lew suggested one way of partitioning, but in case you haven't done it yet,
let me suggest another.

If the computer is at all recent, it should support the more modern GPT
partition table.  This doesn't have the "limited to 4 primary partitions"
constraint that the DOS partition table has.  So, in most (all?) respects,
it is less confusing.

Second, I see you have a "1 TB" disk, so you have lots of space (although
you might also have lots of files!).  If you have enough free space, I
heartily recommend that you create two "root" partitions, another one for
/home, one for swap, and, if you have lots of files in /usr/local, one for
that as well.

-> sda1: / (root partition for S64-15.0)
-> sda2: /other-os (partition for S64-current (or S64-16.0 when that day comes))
-> sda3: swap
-> sda4: /home
-> sda5: /usr/local     (if desired)

If it is an SSD, as opposed to a spinning disk, the order really isn't too
important.  On spinning disks I like to keep swap somewhere other than the
slow end of the disk, but on SSDs it doesn't matter.

Of course, the problem here is that you have to think about how much space
to allocate to each of these, and that gets back to your particular
situation.

I have 50 GB for each of my "root" partitions, but sometimes I wish it was
60.  And maybe when I eventually use Slackware 16.0, I might wish it was 80. 

I have 300 GB for /usr/local, but that may be way, way, way more than some
people use.

I have 32 GB for swap; that could be bigger, because I have too many
firefox tabs open, and firefox eats RAM and swap space for breakfast.

And the rest could be for /home.

As you probably know, you can later shrink partitions and slide others into
available space or expand them, but that is a bit painful.  (And there are
other techniques that let you change partition sizes easily, but those open
their own cans of worms.)

Cheers.
                                Jim
Technical Details
Message-ID: <slrn11fu7q1.mf6.zsd@x360.localdomain>
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
References: <87v75tjtk2.fsf@enoch.nodomain.nowhere>

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: Jim Diamond <zsd@jdvb.ca>
Newsgroups: alt.os.linux.slackware
Subject: Re: HD partition oddity, vanilla Slack 15 64bit install
Date: Thu, 19 Nov 2026 12:09:37 -0400
Organization: A noiseless patient Spider
Lines: 85
Message-ID: <slrn11fu7q1.mf6.zsd@x360.localdomain>
References: <87v75tjtk2.fsf@enoch.nodomain.nowhere>
Injection-Date: Thu, 19 Nov 2026 16:09:38 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2514327"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18TnEynRkNlcEAGwP1lVROy"; posting-host="818e161323a86028d4d3fff5705f1547"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:XIYh40UHNwYgb6kfI38c/ClcEbI= sha256:lWctPaE0coohaVJC7AaVkbuvreA5nTLZjCSOg8sTRdc=
	sha1:X3myztb7ASFvIEavZg7mzLyCFGw= sha256:LOARmxc+ky9qk0QULmBw/+1Y+q7CavFP5FM6Ai2ZORo=