calling the directory…
netmeeting ils
pinging…
I'm about to re-do the installation because it appears easier than
undoing numerous things piecemeal.
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.
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.
And I will probably be back as the upgrade progresses (or fails to
do so satisfactorily :-).
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?
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.
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
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.
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.
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?
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.
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
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.
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.
Luck be with you.
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.
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.
Did you also reformat the EFI 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.
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.
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?
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?
Did you also reformat the EFI partition?
No. How do I do that?
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).
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?
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).
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.
Do the mkfs and then try the install again.
Good luck.
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.
data: api.nasa.gov (APOD, NeoWs)
| Sysop: | cequra |
|---|---|
| Location: | Grimsby United Kingdom |
| Users: | 4 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 498852:58:18 |
| Calls: | 197 |
| Files: | 8,821 |
| D/L today: |
29 files (9,432K bytes) |
| Messages: | 39,038 |