Thread View: alt.os.linux.slackware
26 messages
26 total messages
Started by Mike Spencer
Thu, 19 Nov 2026 05:09
HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Thu, 19 Nov 2026 05:09
Date: Thu, 19 Nov 2026 05:09
65 lines
3085 bytes
3085 bytes
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.
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.
--- End HD partition details ---
--
Mike Spencer Nova Scotia, Canada
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Marco Moock
Date: Thu, 19 Nov 2026 13:52
Date: Thu, 19 Nov 2026 13:52
78 lines
3706 bytes
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
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Lew Pitcher
Date: Thu, 19 Nov 2026 14:13
Date: Thu, 19 Nov 2026 14:13
130 lines
6007 bytes
6007 bytes
Hi, Mike I've re-arranged your post a bit, in order to make my answer a bit more clear On Thu, 19 Nov 2026 01:09:49 -0400, Mike Spencer wrote: > 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. > > 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. [hd details moved from end of post to here] > --- 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. > > --- End HD partition details --- > > Mainly, > > + I don't know what a partition of ID=5, Type=extended is, and The "Extended" partition is, in effect, a directory of additional partitions. It appears that your HD is partitioned in the "DOS MBR" format. This format originally supported only 4 partitions, as the MBR partition table was restricted to that size. However, bright people found a way to add more partitions by a) marking one of those 4 base partitions as an "extended" partition (partition type 0x05), and then b) storing /another/ partition table at the start of that "extended" partition. This second partition table breaks up the space reserved in this "extended" partition into a table of contents (the 2nd partition table), and a number of additional partitions. Graphically, your partition layout might look like |-----------------------------------------|------------| |partition 1: /dev/sda | partition 2| | |---+--------| | |toc|p5 swap | |-----------------------------------------|---+--------| Often, the layout is a bit more complex: |--------------|--------------|--------------|---------------| | filesystem 1 | filesystem 2 | filesystem 3 | --extended-- | | | | |---+---+---+---+ | | | |toc|fs4|fs5|...| |--------------|--------------|--------------|---+---+---+---+ AFAIK, You can have only one of these "extended" partitions in the MBR primary partition table. FWIW, Wikipedia has an article that discusses the layout https://en.wikipedia.org/wiki/Extended_boot_record > + 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. It appears that lsblk(8) is reporting only the size of the secondary partition table embedded in /dev/sda2, while cfdisk(8) is reporting the entire size of the 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. Yup, that would be the size of the "extended" partition > 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. You can do that, if you intend to perform a complete, fresh install. There are strategies you can use to figure out your partitions, but for a casual-use device, You may only need two or three. My suggestion for a "base" partition layout would be: - a partition for swap, - a partition for /home, and - a partition for / (the root fs). This would permit you to replace the root fs without disturbing any personal files, residing in /home, that you might have. In all. this would fit in the MBR primary partition table, and not need an "extended" partition at all > > Regards, > -Mike > Luck be with you -- Lew Pitcher "In Skills We Trust" Not LLM output - I'm just like this.
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Jim Diamond
Date: Thu, 19 Nov 2026 16:09
Date: Thu, 19 Nov 2026 16:09
85 lines
4380 bytes
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
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: 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.
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Marco Moock
Date: Fri, 20 Nov 2026 08:14
Date: Fri, 20 Nov 2026 08:14
28 lines
2190 bytes
2190 bytes
Am 20.11.26 um 08:38 schrieb Mike Spencer: > Marco Moock <mm@dorfdsl.de> writes: >> 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. Yes. In case you do the EFI install, you need to create an additional FAT32 partition of type EF00. >> 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. Google the model number. If the CPU is Intel Sandy Bridge (2nd gen.) or later, it supports EFI. -- Gruß Marco Spam bitte an abfalleimer2001@stinkedores.dorfdsl.de
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: jayjwa
Date: Fri, 20 Nov 2026 16:39
Date: Fri, 20 Nov 2026 16:39
65 lines
4057 bytes
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!"
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Sat, 21 Nov 2026 05:05
Date: Sat, 21 Nov 2026 05:05
37 lines
2499 bytes
2499 bytes
Thank you all -- Jim, jayjwa, Marco, Lew -- for detailed replies and partition strategy advice. I'm not going to reply on a line by line basis. That would take a couple of hours to get it right and wouldn't advance the discussion much. I've saved all your replies and am pondering them as well as puttering with the new machine's existing install, learning (or re-learning) relevant stuff. I knew about DOS extended partitions 25 years ago but didn't twig to it, partly because I didn't know (or reacall?) that that config used a separate partition as a container for the usable extended ones. For the record, for others who may be clinging to the trailing edge of technology, this 12 y.o. doc may be useful as it was to me: https://www.happyassassin.net/posts/2014/01/25/uefi-boot-how-does-that-actually-work-then/ and this would have moved me right along had I found it before I posted here: https://en.wikipedia.org/wiki/Partition_type Do post any further thoughts or advice -- I'll be watching. And I will probably be back as the upgrade progresses (or fails to do so satisfactorily :-). TYVM, - Mike -- Mike Spencer Nova Scotia, Canada When you're in your 80s, just being old is a half-time job. -- Stewart Brand
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: jayjwa
Date: Sat, 21 Nov 2026 16:08
Date: Sat, 21 Nov 2026 16:08
13 lines
1498 bytes
1498 bytes
Mike Spencer <mds@bogus.nodomain.nowhere> writes:
> For the record, for others who may be clinging to the trailing edge of
> technology, this 12 y.o. doc may be useful as it was to me:
>
> https://www.happyassassin.net/posts/2014/01/25/uefi-boot-how-does-that-actually-work-then/
Years ago, when I moved to UEFI, this is what I used to learn about it:
https://www.rodsbooks.com/efi-bootloaders/index.html
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Henrik Carlqvist
Date: Sun, 22 Nov 2026 19:10
Date: Sun, 22 Nov 2026 19:10
23 lines
2311 bytes
2311 bytes
On Thu, 19 Nov 2026 01:09:49 -0400, Mike Spencer wrote: > I'm about to re-do the installation because it appears easier than > undoing numerous things piecemeal. I am not so sure that it will be easier to reinstall from scratch than trying to fix whatever it is you have found troublesome. What is it that you want to fix? If you are looking for a learning experience, installing from scratch is the way to go. Many people have suggested booting with UEFI instead of legacy, that in itself can be an interesting learning experience depending on your hardware as the default bootloader for UEFI in stable Slackware 15.0 is elilo which is unmaintained software which does not support all modern hardware. One thing that I would like to fix would be to split up the root partition in some separate partitions like /home, /var and /tmp. However, such a thing can be acomplished by resizing partitions with file systems with a tool like gparted from a live CD. If you only want to change some configurations, add or remove software there is no reason to reinstall. regards Henrik
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Jim Diamond
Date: Mon, 23 Nov 2026 00:37
Date: Mon, 23 Nov 2026 00:37
66 lines
4430 bytes
4430 bytes
On 2026-11-20 at 12:39 AST, jayjwa <jayjwa@atr2.ath.cx.invalid> wrote:
> 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.
<snip>
> 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.
Mike: I agree with the above. Assuming your machine is "recent" and
supports GPT-partitioned disks, improve your life and remove all
recollections of MBR from your head. ;-)
> 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.
(Mainly for Mike, but just in case others in his situation read this...)
FWIW, I have 256 MB for my EFI partition, and even with 10 different OS
boot choices (and 3 versions of memtest) I am only using 90 MB of that.
While it is best not to make your EFI partition so small that you will
regret it later, you don't need to go wild either.
Of that 90MB, roughly 50MB is the diagnostics tools that came on my laptop,
20MB is the Windoze that came on the machine, 2.5 MB is refind, and a few
other odds and sods occupy the rest.
(As mentioned) I use refind as my boot manager. I boot the OS "directly"
from the disk partition, and the only thing I ever update in the EFI
partition is refind's conf file.
I poked around with elilo, but I didn't get it working to my satisfaction.
That may well have been a "me" issue, but since refind does what I want, I
stopped futzing around and took the path of least resistance.
Jim
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Mon, 23 Nov 2026 05:41
Date: Mon, 23 Nov 2026 05:41
87 lines
3498 bytes
3498 bytes
Mike Spencer <mds@bogus.nodomain.nowhere> writes:
> And I will probably be back as the upgrade progresses (or fails to
> do so satisfactorily :-).
Here I am, back again!
Slack 15-64 appeared to complete as usual. Now I can't boot from the
HD. Trying to boot results in:
PXE-E61 Media test failure, check cable
PXE-M0F: Exiting PXE ROM
Error: No boot disk has been detected or the disk has failed
I never asked for network boot. HD is known to be OK as it booted
fine with the Slack 15 install done by my son with slightly odd MBR
partitons I originally complained of.
It all seems all in order when I boot from the USB stick I made during
the install process.
Some data on what I did to get where I am is below.
Can anyone help? Even more stumped than before because everything
appears to be as it ought.
- Mike
--- Useful info --
Manually deleted existing MBR-based partitions with cfdisk.
Manually created new GPT partition table with fdisk.
Manually created EFI partition and other partitions with cfdisk.
1 500 KiB EFI
524 KiB Free space
2 80 GiB Linux x86-64 root
3 80 GiB Linux filesystem
4 30 GiB Linux swap
5 741.5 GiB Linux filesystem
Ran Slackware 15-64 install which:
+ recognized the EFI partition and
+ claimed to configure elilo
+ proceeded as expected
+ made a USB boot stick
Booting from the USB stick works fine and HD / and /home are as
expected.
/dev/sda 2 appears to be as expected
/boot appears to be all in order
/boot/vmlinux -> vmlinuz-huge-5.15.19
/boot/vmlinuz-huge-5.15.19
/boot/grub exists but is empty dir
/boot/elilo-x86_64.efi
/boot/efi/EFI/Slackware/
160 elilo.conf
238531 elilo.efi
0 initrd.gz
217088 vmlinuz
Bonus clue for anyone, especially old guys such as I, who are trying
to hack at the console command line with the horrible teeny-tiny
default font:
setfont -v ter-232b
--
Mike Spencer Nova Scotia, Canada
When you're in your 80s, just being old is a half-time job. -- Stewart Brand
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Mon, 23 Nov 2026 06:45
Date: Mon, 23 Nov 2026 06:45
32 lines
2498 bytes
2498 bytes
Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes: > On Thu, 19 Nov 2026 01:09:49 -0400, Mike Spencer wrote: > >> I'm about to re-do the installation because it appears easier than >> undoing numerous things piecemeal. > > I am not so sure that it will be easier to reinstall from scratch than > trying to fix whatever it is you have found troublesome. What is it that > you want to fix? Want ext4 fs, not Reiserfs. Want at least two ext4 partitions. Partition table that isn't weird (one data partion and one extended partition where plain MBR partitions would be enough). See details in my follow-up post where I report that all went well but can't boot from HD, hang w/ PXE error mssg. > Many people have suggested booting with UEFI instead of > legacy, that in itself can be an interesting learning experience > depending on your hardware as the default bootloader for UEFI in stable > Slackware 15.0 is elilo which is unmaintained software which does not > support all modern hardware. Machine isn't *very* old but it does have an internal DVD drive so not very new. Went with it on purpose to avoid very new hardware. Tnx for comment. Plz see my last post where I'm wedged again. -- Mike Spencer Nova Scotia, Canada
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Petri Kaukasoina
Date: Mon, 23 Nov 2026 08:30
Date: Mon, 23 Nov 2026 08:30
17 lines
1843 bytes
1843 bytes
Mike Spencer <mds@bogus.nodomain.nowhere> wrote: >1 500 KiB EFI > 524 KiB Free space >2 80 GiB Linux x86-64 root >3 80 GiB Linux filesystem >4 30 GiB Linux swap >5 741.5 GiB Linux filesystem > /boot/efi/EFI/Slackware/ > 160 elilo.conf > 238531 elilo.efi > 0 initrd.gz > 217088 vmlinuz You need more than 500 kilobytes for the EFI partition. vmlinuz is already 11 MEGAbytes, so copying stopped when the partition was full. And initrd could not be copied at all.
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Mon, 23 Nov 2026 09:09
Date: Mon, 23 Nov 2026 09:09
38 lines
2692 bytes
2692 bytes
kaukasoina3dore73js4@sci.fi (Petri Kaukasoina) writes: > Mike Spencer <mds@bogus.nodomain.nowhere> wrote: >> 1 500 KiB EFI >> 524 KiB Free space >> 2 80 GiB Linux x86-64 root >> 3 80 GiB Linux filesystem >> 4 30 GiB Linux swap >> 5 741.5 GiB Linux filesystem > >> /boot/efi/EFI/Slackware/ >> 160 elilo.conf >> 238531 elilo.efi >> 0 initrd.gz >> 217088 vmlinuz > > You need more than 500 kilobytes for the EFI partition. vmlinuz is > already 11 MEGAbytes, so copying stopped when the partition was > full. And initrd could not be copied at all. OK, that makes sense. I can see that vmlinuz in /boot/efi/EFI/Slackware/ is smaller than /boot/vmlinuz. No warning messages appeared during install. AFAIR nothing I read here or elsewhere said what would reside in that partition. And I thought I saw somewhere a small value given for its size, apparently an erroneous recollection. My bedtime so too late to grovel around looking for the source of my mistake. Is 500 M (instead of 500 K) big enough? At a quick glance, vmlinuz and initrd on my working 32 bit system are ca. 6M to 10M each. Are there other bulky files that need to be on that partition? TYVM! -- Mike Spencer Nova Scotia, Canada
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: jayjwa
Date: Mon, 23 Nov 2026 20:38
Date: Mon, 23 Nov 2026 20:38
25 lines
2152 bytes
2152 bytes
Mike Spencer <mds@bogus.nodomain.nowhere> writes:
> No warning messages appeared during install. AFAIR nothing I read
> here or elsewhere said what would reside in that partition. And I
> thought I saw somewhere a small value given for its size,
> apparently an erroneous recollection.
If you are going to use elilo, then it, its conf file, the kernel, and
the initrd all need to reside on the EFI partition. If you're using
grub, it can "see" into the root file system so only its grubx64.efi
binary need reside on the EFI partition.
You should show the output of efibootmgr afterwards, to verify that
those values are correct. A machine will try netboot if it can't boot
otherwise.
> Is 500 M (instead of 500 K) big enough? At a quick glance,
> vmlinuz and initrd on my working 32 bit system are ca. 6M to 10M
> each. Are there other bulky files that need to be on that partition?
512 megabytes or thereabouts is fine.
--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Tue, 24 Nov 2026 07:42
Date: Tue, 24 Nov 2026 07:42
55 lines
3440 bytes
3440 bytes
kaukasoina3dore73js4@sci.fi (Petri Kaukasoina) writes: > Mike Spencer <mds@bogus.nodomain.nowhere> wrote: > >>1 500 KiB EFI >> 524 KiB Free space >>2 80 GiB Linux x86-64 root >>3 80 GiB Linux filesystem >>4 30 GiB Linux swap >>5 741.5 GiB Linux filesystem > >> /boot/efi/EFI/Slackware/ >> 160 elilo.conf >> 238531 elilo.efi >> 0 initrd.gz >> 217088 vmlinuz > > You need more than 500 kilobytes for the EFI partition. vmlinuz is > already 11 MEGAbytes, so copying stopped when the partition was > full. And initrd could not be copied at all. Acknowledged in my previous post. I've deleted all the partitions, asked fdisk for a new GPT table, recreated all the partitions with 512M for the EFI partition. Then repeated the entire Slack 15 install from the beginning. I've done this three times with slight variations. cfdisk and all the other usual disk partition tools thing /dev/sda has 512 MiB. /proc/partitions says 524288 blocks or 0.5G. But df says it has 452 1K blocks and I can't write anything to it because it's "full". If I delete the incomplete initrd.gz and vmlinuz, I can write ca. 5K to it but not more. Apparently something is left over from previous (or nth-previous) attempts. Tools that are supposed to tell the kernel about the partitions (partprobe, partx, resizepart) either return an error or change nothing. Pretty clear I need to wipe something, either explicitly or as a side effect of something else. But I don't know what I'm doing. Is wipefs the right thing? fdisk -w or -W? How do I wipe everything -- file systems, file data, partition table -- from the HD without wrecking some magic numbers or structures I don't know about? I'm tempted to dd /dev/zero to /dev/sda with bignum count but that's probably wrong if not calamitous. Still stuck. Omitting reams of data here 'cause the answer probably doesn't need it but I can post anything requested. -- Mike Spencer Nova Scotia, Canada
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Henrik Carlqvist
Date: Tue, 24 Nov 2026 18:35
Date: Tue, 24 Nov 2026 18:35
19 lines
2138 bytes
2138 bytes
On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote: > I've deleted all the partitions, asked fdisk for a new GPT table, > recreated all the partitions with 512M for the EFI partition. Then > repeated the entire Slack 15 install from the beginning. > But df says it has 452 1K blocks Did you also reformat the EFI partition? My guess is that your new partition is bigger and placed in the same place as your previous 500k partition, but you are still seeing the old file system because you did not reformat your partition. > 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. regards Henrik
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Lew Pitcher
Date: Tue, 24 Nov 2026 19:19
Date: Tue, 24 Nov 2026 19:19
33 lines
2522 bytes
2522 bytes
Hi, Mike On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote: [snip] > Still stuck. Omitting reams of data here 'cause the answer probably > doesn't need it but I can post anything requested. I'm going to say this one thing, then I'll butt out.... You (apparently) had a usable "MBR" partition layout with a legacy BIOS boot. You are now struggling with UEFI partition layout and format issues in order to get a modern UEFI boot to work so that you can re-install Slackware. It seems to me that your new UEFI work has complicated a process that had been fairly simple under "MBR" boot. I'm /not/ telling you to abandon UEFI; MBR is "old and busted" while UEFI is "new hotness". BUT, you had a working strategy that just needed a few details painted in, and now you don't even have that. Perhaps you should consider living with MBR, making a simple partition table, and getting on with the install, and leave the UEFI pain to another time? Just my 2 cents worth. I'll butt out now. Luck be with you. -- Lew Pitcher "In Skills We Trust" Not LLM output - I'm just like this.
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Tue, 24 Nov 2026 20:42
Date: Tue, 24 Nov 2026 20:42
36 lines
2399 bytes
2399 bytes
Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes: > Hi, Mike > > On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote: > > [snip] >> Still stuck. Omitting reams of data here 'cause the answer probably >> doesn't need it but I can post anything requested. > > I'm going to say this one thing, then I'll butt out.... Don't go away! :-) > You (apparently) had a usable "MBR" partition layout with a legacy > BIOS boot. You are now struggling with UEFI partition layout and > format issues in order to get a modern UEFI boot to work so that > you can re-install Slackware. Just so. For the moment, I'm going to stick with exchanges on technical details to avoid distraction. Bye 'n bye, I'll reply at discursive length, perhaps giving in to my octogenarian inclination to digress into yarns. > Luck be with you. Thank you. -- Mike Spencer Nova Scotia, Canada When you're in your 80s, just being old is a half-time job. - Stewart Brand
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Lew Pitcher
Date: Tue, 24 Nov 2026 21:30
Date: Tue, 24 Nov 2026 21:30
55 lines
3231 bytes
3231 bytes
On Tue, 24 Nov 2026 16:42:49 -0400, Mike Spencer wrote: > Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes: > >> Hi, Mike >> >> On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote: >> >> [snip] >>> Still stuck. Omitting reams of data here 'cause the answer probably >>> doesn't need it but I can post anything requested. >> >> I'm going to say this one thing, then I'll butt out.... > > Don't go away! :-) Not gone away, just watching from the side-lines. >> You (apparently) had a usable "MBR" partition layout with a legacy >> BIOS boot. You are now struggling with UEFI partition layout and >> format issues in order to get a modern UEFI boot to work so that >> you can re-install Slackware. > > Just so. > > For the moment, I'm going to stick with exchanges on technical details > to avoid distraction. Yah, the technical details can be fun. I've had that fun myself. Two (mostly) identical systems; same motherboard and processor, same firmware revision, but different hard drives. I got one system to properly boot Slackware via UEFI, but the other system never would. I had to revert that second system to MBR (albeit, on GPT partitioned drives) to properly boot. I fought that fight for about a week, then justified my retreat as remembering that my goal was to drain the swamp, not fight alligators. > Bye 'n bye, I'll reply at discursive length, perhaps giving in to my > octogenarian inclination to digress into yarns. I guessed as much, what with an adult child and grandchild helping to set up your system. I'm not far behind you. >> Luck be with you. > > Thank you. :-) from Ontario -- Lew Pitcher "In Skills We Trust" Not LLM output - I'm just like this.
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Tue, 24 Nov 2026 21:58
Date: Tue, 24 Nov 2026 21:58
61 lines
3590 bytes
3590 bytes
Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes: > On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote: > >> I've deleted all the partitions, asked fdisk for a new GPT table, >> recreated all the partitions with 512M for the EFI partition. Then >> repeated the entire Slack 15 install from the beginning. > >> [ All the partition tools say it's 512M ] >> But df says it has 452 1K blocks > > My guess is that your new partition is bigger and placed in the same > place as your previous 500k partition, but you are still seeing the > old file system because you did not reformat your partition. That appears to be exactly right. > Did you also reformat the EFI partition? No. How do I do that? I haven't "formatted" a HD/partition since MSDOS/Win-3.1 days. 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. 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. 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). So what would I do to "format" sda1? mkfs.fat /dev/sda1? fsck -a /dev/sda1? Something else? Your diagnosis looks exactly correct. What do I do for a cure? And while we're here: >> 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. 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? -- Mike Spencer Nova Scotia, Canada
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Jim Diamond
Date: Wed, 25 Nov 2026 20:32
Date: Wed, 25 Nov 2026 20:32
101 lines
5138 bytes
5138 bytes
On 2026-11-24 at 17:58 AST, Mike Spencer <mds@bogus.nodomain.nowhere> wrote:
>
> Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes:
>
>> On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote:
>>
>>> I've deleted all the partitions, asked fdisk for a new GPT table,
>>> recreated all the partitions with 512M for the EFI partition. Then
>>> repeated the entire Slack 15 install from the beginning.
>>
>>> [ All the partition tools say it's 512M ]
>>> But df says it has 452 1K blocks
>>
>> My guess is that your new partition is bigger and placed in the same
>> place as your previous 500k partition, but you are still seeing the
>> old file system because you did not reformat your partition.
>
> That appears to be exactly right.
>
>> Did you also reformat the EFI partition?
>
> No. How do I do that?
The EFI partition is (on my system) a VFAT partition.
If you described the installation procedure, I forget it. But since you
are using (c)fdisk, I assume you have a shell prompt at which you can type
commands.
So, after partitioning the disk the second (and third...) time, you wanted to
mkfs.vfat /dev/sda1
which will create a VFAT partition of the size appropriate for the amount
of blocks you allocated (about 1/2 GB).
After that you should be able to copy all the stuff you need to the EFI
partition.
> I haven't "formatted" a HD/partition since MSDOS/Win-3.1 days.
Formatting is really (IMHO) the wrong word, and IIRC M$ can be blamed for
that. A long long time ago to put a file system on a spinning magnetic
medium, you had to physically format the medium, which had nothing to do
with creating a file system. Then after formatting you need to create a
filesystem. As I recall (*cough*), M$ decided to call the two things by
the name "format", which may have been simpler for some people, but it
causes bad terminology.
I haven't run a physical format on any disk in "I don't know how long". So
it is really the wrong word, what you want is to create a file system,
which the above command should do for you.
> 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.
If you run
fdisk -l
does it report something like
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
...
(Your size should be bigger, but 260 MB has been plenty big for me. But I
use refind, not elilo.)
> 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).
It might not do that mismatch check. So....
> So what would I do to "format" sda1? mkfs.fat /dev/sda1? fsck -a
> /dev/sda1? Something else?
I used mkfs.vfat, but mkfs.fat might work too.
> Your diagnosis looks exactly correct. What do I do for a cure?
As above.
>>> 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.
>
> 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?
I believe the answer is no. But don't bet your life on my opinion.
But you don't need to do that, since all else has not yet failed. Do the
mkfs and then try the install again.
Good luck.
Jim
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: 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!"
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Mike Spencer
Date: Thu, 26 Nov 2026 06:40
Date: Thu, 26 Nov 2026 06:40
126 lines
5985 bytes
5985 bytes
Executive summary: Success, TYVM. Here's fuller discussion:
Jim Diamond <zsd@jdvb.ca> writes:
> On 2026-11-24 at 17:58 AST, Mike Spencer <mds@bogus.nodomain.nowhere> wrote:
>>
>> Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes:
>>
>>> On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote:
>>>
>>>> I've deleted all the partitions, asked fdisk for a new GPT table,
>>>> recreated all the partitions with 512M for the EFI partition. Then
>>>> repeated the entire Slack 15 install from the beginning.
>>>
>>>> [ All the partition tools say it's 512M ]
>>>> But df says it has 452 1K blocks
>>>
>>> My guess is that your new partition is bigger and placed in the same
>>> place as your previous 500k partition, but you are still seeing the
>>> old file system because you did not reformat your partition.
>>
>> That appears to be exactly right.
>>
>>> Did you also reformat the EFI partition?
>>
>> No. How do I do that?
>
> The EFI partition is (on my system) a VFAT partition.
>
> So, after partitioning the disk the second (and third...) time, you
> wanted to
>
> mkfs.vfat /dev/sda1
>
> which will create a VFAT partition of the size appropriate for the amount
> of blocks you allocated (about 1/2 GB).
Did that. Now df sees the full 512M space on the efi partition!
> After that you should be able to copy all the stuff you need to the EFI
> partition.
Uncertain what to copy there. There are two kernels in /boot: "huge"
and "generic" with long, fully qualified names. "vmlinuz" is a link to
"huge".
I ran the whole install script again.
The "generic" version ended up in /boot/emi/EMI/Slackware with short
name "vmlinuz" (conforming to vfat filename constraints?).
I don't know how or why generic was chosen over huge. Don't know what
difference it makes. Further info on this welcome.
In any case, my new(ish :-) machine now boots into vanilla Slackware
15. I have X and twm up, files from ~/ imported. That gives me
.xinitrc, .Xmodmap, .cshrc, .emacs, ~/bin, ~/bin/perl that allow
enough of the familiar landscape that that I'm not constantly
frustrated.
Next up, getting the basic stuff going to suit me.
+ Compiling GNU emacs 20.7 for 64 bits. I've been copying the
executable I compiled in 1999 at each upgrade. I know, I know:
why? Later, in another post.
+ Determining if I can live with Networkmanager. It has
automatically connected my LAN but the X applet demands a "system
tray" and twm doesn't do system tray. Wicd has a nice curses
display that runs in an xterm.
+ Other less important packages that I like or want that I have to
run down source for: XLisp, phoon, xearth
And of course all the little potholes that appear on a new
machine. Trivial example: my script to run xrandr needs a tweak
because a newer monitor has an HDMI port so a different regex is
needed to parse xrandr -q output.
>> I haven't "formatted" a HD/partition since MSDOS/Win-3.1 days.
>
> Formatting is really (IMHO) the wrong word, and IIRC M$ can be blamed for
> that.
Yeah. A source of my confusion.
> A long long time ago to put a file system on a spinning magnetic
> medium, you had to physically format the medium, which had nothing to do
> with creating a file system. Then after formatting you need to create a
> filesystem. As I recall (*cough*), M$ decided to call the two things by
> the name "format", which may have been simpler for some people, but it
> causes bad terminology.
Read up on all that in the 90s. Don't remember a lot of it but still a
source of confusion.
> I haven't run a physical format on any disk in "I don't know how long". So
> it is really the wrong word, what you want is to create a file system,
> which the above command should do for you.
Right. Got it.
Why elilo? Because that's what Patrick put in the install script.
One or two mentions of grub flicked by but no more. man and apropos
turn up noting about elilo which is annoying. But it's working so
okay.
> Do the mkfs and then try the install again.
Done. All appears well. Thank you Jim and others for help.
When I've made a little more progress, I post a reply to Lew's
observation that I really didn't need to do all this when I had a
working MBR HD. More in the line of nattering than desperately
seeking help.
> Good luck.
TYVM.
--
Mike Spencer Nova Scotia, Canada
Re: HD partition oddity, vanilla Slack 15 64bit install
Author: Jim Diamond
Date: Thu, 26 Nov 2026 20:37
Date: Thu, 26 Nov 2026 20:37
170 lines
8218 bytes
8218 bytes
On 2026-11-26 at 02:40 AST, Mike Spencer <mds@bogus.nodomain.nowhere> wrote:
>
> Executive summary: Success, TYVM.
Glad to hear that things are going in the right direction now.
> Here's fuller discussion:
>
> Jim Diamond <zsd@jdvb.ca> writes:
>
>> On 2026-11-24 at 17:58 AST, Mike Spencer <mds@bogus.nodomain.nowhere> wrote:
>>>
>>> Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes:
>>>
>>>> On Tue, 24 Nov 2026 03:42:37 -0400, Mike Spencer wrote:
>>>>
>>>>> I've deleted all the partitions, asked fdisk for a new GPT table,
>>>>> recreated all the partitions with 512M for the EFI partition. Then
>>>>> repeated the entire Slack 15 install from the beginning.
>>>>
>>>>> [ All the partition tools say it's 512M ]
>>>>> But df says it has 452 1K blocks
>>>>
>>>> My guess is that your new partition is bigger and placed in the same
>>>> place as your previous 500k partition, but you are still seeing the
>>>> old file system because you did not reformat your partition.
>>>
>>> That appears to be exactly right.
>>>
>>>> Did you also reformat the EFI partition?
>>>
>>> No. How do I do that?
>>
>> The EFI partition is (on my system) a VFAT partition.
>>
>> So, after partitioning the disk the second (and third...) time, you
>> wanted to
>>
>> mkfs.vfat /dev/sda1
>>
>> which will create a VFAT partition of the size appropriate for the amount
>> of blocks you allocated (about 1/2 GB).
>
> Did that. Now df sees the full 512M space on the efi partition!
Perfect!
>> After that you should be able to copy all the stuff you need to the EFI
>> partition.
>
> Uncertain what to copy there. There are two kernels in /boot: "huge"
> and "generic" with long, fully qualified names. "vmlinuz" is a link to
> "huge".
>
> I ran the whole install script again.
>
> The "generic" version ended up in /boot/emi/EMI/Slackware with short
> name "vmlinuz" (conforming to vfat filename constraints?).
I'm betting you mean /boot/efi/EFI/Slackware/ (with f and F).
> I don't know how or why generic was chosen over huge. Don't know what
> difference it makes. Further info on this welcome.
I think if it runs (which you say it does), generic is preferable, since
the generic kernel doesn't load code for a whole bunch of drivers you don't
need, whereas the huge one has many drivers (and their dogs) built-in,
wasting your precious RAM.
> In any case, my new(ish :-) machine now boots into vanilla Slackware
> 15. I have X and twm up, files from ~/ imported. That gives me
> .xinitrc, .Xmodmap, .cshrc, .emacs, ~/bin, ~/bin/perl that allow
> enough of the familiar landscape that that I'm not constantly
> frustrated.
>
> Next up, getting the basic stuff going to suit me.
>
> + Compiling GNU emacs 20.7 for 64 bits. I've been copying the
> executable I compiled in 1999 at each upgrade. I know, I know:
> why? Later, in another post.
I am using 30.2. If I recall, there were some gotchas along the way from
20.7 (that was a while ago now), but not that many. If you don't have a
lot of non-GNU elisp, you might find the transition easy enough.
> + Determining if I can live with Networkmanager. It has
> automatically connected my LAN but the X applet demands a "system
> tray" and twm doesn't do system tray. Wicd has a nice curses
> display that runs in an xterm.
I use fvwm3, which doesn't have a system tray, but it does allow me to use
stalonetray (available on an SBo near you) as a system tray, and with that
Networkmanager behaves very nicely for me. I've never used twm, so YMMV.
> + Other less important packages that I like or want that I have to
> run down source for: XLisp, phoon, xearth
Have you considered one of the Lisp choices at slackbuilds.org?
xearth is available at slackbuilds.org.
I don't know about phoon or anything equivalent.
> And of course all the little potholes that appear on a new
> machine. Trivial example: my script to run xrandr needs a tweak
> because a newer monitor has an HDMI port so a different regex is
> needed to parse xrandr -q output.
The long winter nights are already upon us here in NS, so there is
something to keep you busy. ;-)
>>> I haven't "formatted" a HD/partition since MSDOS/Win-3.1 days.
>>
>> Formatting is really (IMHO) the wrong word, and IIRC M$ can be blamed for
>> that.
>
> Yeah. A source of my confusion.
M$ is a source of lots of confusion. Perhaps a primary source.
>> A long long time ago to put a file system on a spinning magnetic
>> medium, you had to physically format the medium, which had nothing to do
>> with creating a file system. Then after formatting you need to create a
>> filesystem. As I recall (*cough*), M$ decided to call the two things by
>> the name "format", which may have been simpler for some people, but it
>> causes bad terminology.
>
> Read up on all that in the 90s. Don't remember a lot of it but still a
> source of confusion.
The first SGI workstation I used had (IIRC) an ESDI disk. SGI wanted
exorbitant amounts for a second disk, so we bought one from some company
down the road. It had to be physically formatted before it could have a
file system put on it. SGI had included a password-protected formatting
program with the standard software package, and after a little light
hacking, it was easy to find the required passwords. (It was a bizarrely
low-effort protection on their part, considering how solid the rest of
their software was.)
>> I haven't run a physical format on any disk in "I don't know how long". So
>> it is really the wrong word, what you want is to create a file system,
>> which the above command should do for you.
> Right. Got it.
Great.
> Why elilo? Because that's what Patrick put in the install script.
> One or two mentions of grub flicked by but no more. man and apropos
> turn up noting about elilo which is annoying. But it's working so
> okay.
Look in /usr/doc/elilo-3.16 and see if there is anything of use in there.
>> Do the mkfs and then try the install again.
>
> Done. All appears well. Thank you Jim and others for help.
Glad you are back up and running.
> When I've made a little more progress, I post a reply to Lew's
> observation that I really didn't need to do all this when I had a
> working MBR HD. More in the line of nattering than desperately
> seeking help.
Lew is correct in that there is more learning to be done when you switch
from MBR to GPT partitioning. However, having survived the transition you
will probably never feel the need to go back. And who knows, the next
computer your kids drop off may not work with MBR anymore.
Jim
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads