Article View: alt.os.linux.slackware
Article #60Re: HD partition oddity, vanilla Slack 15 64bit install
From: 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
Technical Details
Message-ID:
<slrn11geheq.nn0.zsd@x360.localdomain>Path:
mbox-mo1.pugleaf.net!srv.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> <slrn11fu7q1.mf6.zsd@x360.localdomain> <87ik1qkc3w.fsf@enoch.nodomain.nowhere> <875wxoje93.fsf@enoch.nodomain.nowhere> <11e0tk1$1mfkf$1@dont-email.me> <87qzga4qvm.fsf@enoch.nodomain.nowhere> <11e4le2$32jgn$1@dont-email.me> <87ik1l51tj.fsf@enoch.nodomain.nowhere>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.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: Wed, 25 Nov 2026 16:32:26 -0400 Organization: A noiseless patient Spider Lines: 101 Message-ID: <slrn11geheq.nn0.zsd@x360.localdomain> References: <87v75tjtk2.fsf@enoch.nodomain.nowhere> <slrn11fu7q1.mf6.zsd@x360.localdomain> <87ik1qkc3w.fsf@enoch.nodomain.nowhere> <875wxoje93.fsf@enoch.nodomain.nowhere> <11e0tk1$1mfkf$1@dont-email.me> <87qzga4qvm.fsf@enoch.nodomain.nowhere> <11e4le2$32jgn$1@dont-email.me> <87ik1l51tj.fsf@enoch.nodomain.nowhere> Injection-Date: Wed, 25 Nov 2026 20:32:27 +0000 (UTC) Injection-Info: dont-email.me; logging-data="103799"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/B3RUEBGe8H/DV1vhg7TLM"; posting-host="0022e8a8fbad7ce348fe72c3014770aa" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:K9BxcUNg6U/0dZfNX+3oukWGx4c= sha256:d8zdAnLHvb7RqQi6PdJzMdh19zMDtGmqrrI/vKliE+0= sha1:EdCXi25mKY39HuFx9NKUwKPnlO4= sha256:GnpxvyOpln+Ufe0RdaVrDfHr3bSJkJzmGmjf0ugk0Is=