Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-24-2026, 10:21 AM
|
#9571
|
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 3,094
|
Quote:
Originally Posted by volkerdi
OK, on my MBR/BIOS machine I have four drives that are all partitioned like this:
Code:
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000AAKX-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5bd9fbda
Device Boot Start End Sectors Size Id Type
/dev/sda1 63 976559219 976559157 465.7G fd Linux raid autodetect
LILO works perfectly. GRUB 2.12 manages to fit in the gap and works as well.
GRUB 2.14 has bloated too much and does not fit. If I wanted to use GRUB 2.14 I'd be forced to completely remake my RAID array.
|
First of all thanks for taking the time and replying.
The situation with Grub 2.14 and Your setup is quite unfortunate. I filled those shoes more times than i would like to admit (a watershed point with perfectly functional setup suddenly rendered obsolete by a seemingly whim or quirk of the developer).
My experience tought me following (would i be shown wrong i will update my stance to best of my knowledge then):
1. I, personally, can afford to keep my setup at the "least effort but functional level" for indefinite amount of time - it is my call and i bear the weight of that decision alone (more or less).
2. Would that setup be some customer's or otherwise non personal project - i'd have to call the shot when i will transition to a future proof solution - note not "if" but "when": on next update, upgrade or full overhaul. It is what it is.
3. Now that we are done with "the right way" solutions, "the right thing" would be to make a USB stick that would contain the needed grub elements (core.img and /boot/ partition) so the raid array is not disturbed for the foreseeable time - buying ample time to address it in the future at a more advantageous time and circumstances.
This in no way implies You haven't considered the listed solutions, should consider them or they apply for your particular setup - I would have to know more of the intricacies to be able to determine that  . I merely try to point out it can be a complex array of mutually exclusive parameters one has to confront and navigate to find the most opportune solution.
Other than that, I'm curious is it a hardware RAID or a software RAID?
Also, back to the topic and question:
Would You find your particular setup "a role model" or a "painted in the corner" case, going forward?
Again, I hereby apologize if sounding brush or rude as English is not my native language.
|
|
|
1 members found this post helpful.
|
01-24-2026, 10:26 AM
|
#9572
|
|
Member
Registered: Nov 2018
Distribution: Slackware
Posts: 988
|
A couple quotes from the grub manual:
Quote:
Modern tools usually leave MBR gap of at least 1023 KiB. This amount is sufficient to cover most configurations. Hence this value is recommended by the GRUB team.
Historically many tools left only 31 KiB of space. This is not enough to parse reliably difficult structures like Btrfs, ZFS, RAID or LVM, or to use difficult disk access methods like ahci. Hence GRUB will warn if attempted to install into small MBR gap except in a small number of configurations that were grandfathered. The grandfathered config must:
- use biosdisk as disk access module for /boot
- not use any additional partition maps to access /boot
- /boot must be on one of following filesystems: AFFS, AFS, BFS, cpio, newc, odc, ext2/3/4, FAT, exFAT, F2FS, HFS, uncompressed HFS+, ISO9660, JFS, Minix, Minix2, Minix3, NILFS2, NTFS, ReiserFS, ROMFS, SFS, tar, UDF, UFS1, UFS2, XFS
|
And a little later:
Quote:
|
GRUB team recommends having MBR gap of at least 1000 KiB.
|
Which would mean something like 2000 x 512 byte sectors or more is recommended before the first partition. It's unfortunate that this 2.14 version's core image now rubs up against that 63 sector gap in that raid array. Not sure what else you can do to trim the image.
RE elilo: It works perfectly on some machines, and then not on others, and isn't getting fixed for that AFAIK. Probably not worth keeping that headache around for the long term.
Also when you switch to using grub with EFI, copying kernels to the efi partition is no longer needed like with elilo, so its less likely to have users upgrade a kernel to a non-booting system because they forgot that part with elilo. With the direction that kernel upgrades and the new automated initrd generation is going in -current, it makes upgrading kernels a little less tricky when combined with grub.
|
|
|
2 members found this post helpful.
|
01-24-2026, 10:47 AM
|
#9573
|
|
Senior Member
Registered: Jan 2018
Posts: 2,268
|
Quote:
Originally Posted by 0XBF
... Which would mean something like 2000 x 512 byte sectors or more is recommended before the first partition. It's unfortunate that this 2.14 version's core image now rubs up against that 63 sector gap in that raid array. Not sure what else you can do to trim the image.
|
Do you think our Glorious Leader is the first to encounter this problem with GRUB in a layout starting from sector 63?
There are millions of posts and pages on the internet explaining what to do in this case and the best practices. If our Glorious Leader were to post this problem in the Fedora forums, he would probably get this recommendation:
Convert each hard disk to GPT disklabel using "gdisk" and add a "BIOS boot" partition to each one at the end, with a size of at least 1MB. Then install GRUB2 as usual. And, yes! He has over 100MB free at the end of the drive, so it's not the end of the world.
With all due respect and not intending to lecture our Glorious Leader: we are in 2026, there is no reason to use a layout starting from sector 63 today, in fact it is really a very bad idea. And there is no reason to use an MSDOS disklabel today, because the oldest supported by Slackware-current are Intel socket 478 and AMD socket 754. We have shown the middle finger even to the Intel Pentium III and the glorious AMD AthlonXP, along with its cousin Barton. So, all supported computers works with GPT disklabels today.
Should I add that the partitioning tools in Slackware use sector 2048 as the starting point even in Slackware 14.2?
With all due respect, I ask our Glorious Leader not to complicate himself and complicate our lives anymore. Let MSDOS disklabels and layouts that start with sector 63 die. Along with LILO and ELILO.
Anyway, I think it is not a good idea to recommend practices that lead to doom when a binary is changing size from 29KB to 32KB. It's about 3KB size difference, folks! This is insane! It is like petting wild tigers. What can go wrong?
Last edited by ZhaoLin1457; 01-24-2026 at 11:21 AM.
|
|
|
2 members found this post helpful.
|
01-24-2026, 11:30 AM
|
#9574
|
|
Senior Member
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-current, slackware-14.0
Posts: 1,097
|
Quote:
Originally Posted by ZhaoLin1457
Let MSDOS disklabels and layouts that start with sector 63 die. Along with LILO and ELILO. 
|
If Patrick decides to do that... those of us who choose to continue using them have but to blacklist lilo/elilo
so that 'slackpkg clean-system' will not remove them from our systems.
|
|
|
1 members found this post helpful.
|
01-24-2026, 02:22 PM
|
#9575
|
|
Member
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 895
|
Since the problem with lilo/elilo really only lies with newer systems, I see no problem keeping it as a legacy support option. Going forward though I suspect the default should be grub to avoid having to deal with new users complaining about a failed installation.
For those people who want to push for faster development, I think it's worth reminding people that some industries have good reason for sitting on older hardware/software. Mission critical systems where failure results in loss of human life typically involve well tested tech and one does not simply upgrade those to newer versions of the same software. Any change, no matter how minor, is required to go through a qualification process that can often take years to fully complete. Failure to qualify these systems inevitably leads to problems like the Therac-25.
The average lifespan of a commercial helicopter in the USA is greater than 40 years. So yes, there are computer systems actively making a difference in everyone's daily lives that run computers older than myself. This might be a bit over dramatic but I don't think it's a stretch to say that if everyone abandoned old software then aircraft would literally start falling out of the sky.
Food for thought before you abandon old bootloaders... qualify the new grub first, then deprecate.
Last edited by Pithium; 01-24-2026 at 03:34 PM.
|
|
|
9 members found this post helpful.
|
01-24-2026, 02:25 PM
|
#9576
|
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 3,094
|
Quote:
Originally Posted by ZhaoLin1457
Do you think our Glorious Leader is the first to encounter this problem with GRUB in a layout starting from sector 63?
There are millions of posts and pages on the internet explaining what to do in this case and the best practices. If our Glorious Leader were to post this problem in the Fedora forums, he would probably get this recommendation:
Convert each hard disk to GPT disklabel using "gdisk" and add a "BIOS boot" partition to each one at the end, with a size of at least 1MB. Then install GRUB2 as usual. And, yes! He has over 100MB free at the end of the drive, so it's not the end of the world.
With all due respect and not intending to lecture our Glorious Leader: we are in 2026, there is no reason to use a layout starting from sector 63 today, in fact it is really a very bad idea. And there is no reason to use an MSDOS disklabel today, because the oldest supported by Slackware-current are Intel socket 478 and AMD socket 754. We have shown the middle finger even to the Intel Pentium III and the glorious AMD AthlonXP, along with its cousin Barton. So, all supported computers works with GPT disklabels today.
Should I add that the partitioning tools in Slackware use sector 2048 as the starting point even in Slackware 14.2?
With all due respect, I ask our Glorious Leader not to complicate himself and complicate our lives anymore. Let MSDOS disklabels and layouts that start with sector 63 die. Along with LILO and ELILO.
Anyway, I think it is not a good idea to recommend practices that lead to doom when a binary is changing size from 29KB to 32KB. It's about 3KB size difference, folks! This is insane! It is like petting wild tigers. What can go wrong?
|
Not going to argue it's 2026 nor that LILO hasn't run it's course.
But...
Would You be too surprised that one of the Slackware niches was exactly that - old computers that couldn't be used with any other up-to-date distro because of cutting short the supported architectures?
It was it's strength (backward compatibility) once praised to high heavens.
It (Slackware) was the distro showcasing how one can build a modern Linux and still yet maintain that old chunky PC from decades ago - running lean and mean.
It was the proof that mandated obsolescence of printers and burro machines pushed by some heavy state-subsidized companies was nothing but a petty practice.
It still is the good old Slackware we came to love and respect, it's just the uphill battle somehow never seems to yield or ease?
|
|
|
11 members found this post helpful.
|
01-24-2026, 03:06 PM
|
#9577
|
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,745
|
Quote:
Originally Posted by ZhaoLin1457
With all due respect and not intending to lecture our Glorious Leader: we are in 2026, there is no reason to use a layout starting from sector 63 today, in fact it is really a very bad idea.
|
I partitioned those drives in 2011. Also, take your "Glorious Leader" and shove it where the sun doesn't shine.
|
|
|
24 members found this post helpful.
|
01-24-2026, 03:08 PM
|
#9578
|
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,745
|
Quote:
Originally Posted by alex14641
|
Attempting a rebuild against this revealed 28 FTBFS, mostly GNU things (as warned in the NEWS). It'll all get handled, but it may be a little while.
|
|
|
2 members found this post helpful.
|
01-24-2026, 07:52 PM
|
#9579
|
|
Member
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 430
Rep: 
|
Gimp-3.0.8 is just released.
From the site:
GIMP 3.0.8 Released
2026-01-24 by GIMP Team
Thought you'd want to know.
|
|
|
1 members found this post helpful.
|
01-24-2026, 08:13 PM
|
#9580
|
|
Member
Registered: Dec 2023
Location: United States
Distribution: Slackware, CRUX, NetBSD, Debian
Posts: 62
Rep:
|
Quote:
Originally Posted by Pithium
Since the problem with lilo/elilo really only lies with newer systems, I see no problem keeping it as a legacy support option. Going forward though I suspect the default should be grub to avoid having to deal with new users complaining about a failed installation.
|
That's a very solid take. I think the old bootloaders are still valid on older systems, hence there's no need to remove them just yet. And in the case of something like ELILO where keeping it isn't necessarily imperative for compatibility, it's a small enough package that keeping it around purely as an option for a user so inclined to choose it isn't the end of the world as far as maintenance is concerned.
Quote:
Originally Posted by SCerovec
Would You be too surprised that one of the Slackware niches was exactly that - old computers that couldn't be used with any other up-to-date distro because of cutting short the supported architectures?
It was it's strength (backward compatibility) once praised to high heavens.
|
Once again, solid take, and once again, showing that these older bootloaders can still be valid for certain use-cases, or if nothing else solely as an option for the adventurous user.
Quote:
Originally Posted by volkerdi
I partitioned those drives in 2011. Also, take your "Glorious Leader" and shove it where the sun doesn't shine.
|
Neat that the drives have lasted so long - do they see any large amount of activity? Also, I audibly chuckled at the second half of your post.
|
|
|
|
01-25-2026, 05:59 AM
|
#9581
|
|
Member
Registered: Nov 2010
Location: Ragusa, Italy
Distribution: Slackware64-current
Posts: 295
|
Quote:
Originally Posted by TronNerd82
And in the case of something like ELILO where keeping it isn't necessarily imperative for compatibility, it's a small enough package that keeping it around purely as an option for a user so inclined to choose it isn't the end of the world as far as maintenance is concerned.
|
The problem is more about keeping backward compatibility for it in all kernel-related scripts (initrd and kernel file names, etc.)
|
|
|
2 members found this post helpful.
|
01-25-2026, 06:30 AM
|
#9582
|
|
Member
Registered: Mar 2016
Distribution: Slackware
Posts: 168
|
GRUB loads its configuration not only from /etc/default/grub but also /etc/default/grub.d/*.cfg (see /usr/sbin/grub-mkconfig):
Code:
if test -f ${sysconfdir}/default/grub ; then
. ${sysconfdir}/default/grub
fi
for dropin in ${sysconfdir}/default/grub.d/*.cfg ; do
if test -f "${dropin}" ; then
. "${dropin}"
fi
done
so it's possible to apply local changes without touching /etc/default/grub and simply overwrite it with grub.new on updates. Unfortunately the new doinst.sh from grub-2.14-x86_64-2 only checks /etc/default/grub:
Code:
if [ -r etc/default/grub ]; then
. etc/default/grub
if [ -x "$GRUB_INSTALL_SCRIPT" ]; then
$GRUB_INSTALL_SCRIPT
fi
fi
It would be nice to have a consistent behavior so that GRUB_INSTALL_SCRIPT can also be changed in a /etc/default/grub.d/*.cfg file.
|
|
|
3 members found this post helpful.
|
01-25-2026, 11:39 AM
|
#9583
|
|
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 3,094
|
https://linuxiac.com/kde-plasma-logi...r-bsd-systems/
Watershed moment:
Will we go forward requesting inclusion of systemd or drop that future " KDE Plasma login manager" as it will be apparently unusable for "systemd-free" sytems including BSDs and our beloved Slackware?
Is there still a third way?
|
|
|
|
01-25-2026, 12:00 PM
|
#9584
|
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,938
|
Quote:
Originally Posted by SCerovec
https://linuxiac.com/kde-plasma-logi...r-bsd-systems/
Watershed moment:
Will we go forward requesting inclusion of systemd or drop that future " KDE Plasma login manager" as it will be apparently unusable for "systemd-free" sytems including BSDs and our beloved Slackware?
Is there still a third way?
|
Use a different login manager. The only reason I would have requested KDE to just be removed is the very slow adoption of KDE 6.x in --current.
|
|
|
|
01-25-2026, 12:12 PM
|
#9585
|
|
Senior Member
Registered: Mar 2007
Posts: 3,144
|
Quote:
Originally Posted by SCerovec
Is there still a third way?
|
Yes, don't use a login manager.
|
|
|
4 members found this post helpful.
|
All times are GMT -5. The time now is 06:15 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|