🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#63
From: Jim Diamond
Date: Thu, 26 Nov 2026 20:37
170 lines
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
Technical Details
Message-ID: <slrn11gh63k.u1r.zsd@x360.localdomain>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
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> <slrn11geheq.nn0.zsd@x360.localdomain> <87wlq02izl.fsf@enoch.nodomain.nowhere>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.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, 26 Nov 2026 16:37:08 -0400
Organization: A noiseless patient Spider
Lines: 170
Message-ID: <slrn11gh63k.u1r.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>
 <slrn11geheq.nn0.zsd@x360.localdomain>
 <87wlq02izl.fsf@enoch.nodomain.nowhere>
Injection-Date: Thu, 26 Nov 2026 20:37:09 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1085827"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+qZrs8WTR3UDpFfxYWXmEq"; posting-host="769c7b0bdf58061ffdd8f48962413ff5"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:haKqJSKQrFOLeWEkHpz1ZvhXlRE= sha256:+m9vxk3eTKKf003AOv8mmtsLbAM+o0MmeFzd1RvDlaA=
	sha1:7g4ppcOKwQYWluVCnlcPl98CV38= sha256:tiOs8dUABDFGOnVQE/EjnaNHIKkXtVF4zcRCW7yxnpw=