Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
|
 |
05-27-2021, 04:59 AM
|
#1
|
LQ Newbie
Registered: May 2021
Posts: 8
Rep: 
|
slackpkg upgrade-all on an i486 leads to an unbootable system
After a workaround the basis system could be successfully installed on qemu with cpu type 486 and also the inital boot from disk works with this workaround:
https://www.linuxquestions.org/quest...ls-4175695638/
But unfortunately after executing:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
and rebooting it gives this error on the boot process:
"This kernel requires an i586 CPU, but only detected an i486 CPU.
Unable to boot - please use a kernel appropriate for your CPU."
How can I fix this?
And how can I tell the system installing only i486 kernel/packages to prevent this issue on next upgrade?
|
|
|
05-27-2021, 05:17 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,613
|
IIRC, at some point slackware upgraded 32bit to i586, and you can no longer tell it to install only 486 packages. the '486 was a product of the 1990s, and the i586 had a superior instruction set, and is a base minimum for 32bit these days.
The solutions would be to stay on your 486 kernel, or compile a kernel similat to your 586 kernel, but configure it for 486 only.
|
|
|
05-27-2021, 02:27 PM
|
#3
|
LQ Newbie
Registered: May 2021
Posts: 8
Original Poster
Rep: 
|
However, your statement is contrary to what is written on the official homepage of Slackware:
Quote:
Slackware Linux doesn't require an extremely powerful system to run (though having one is quite nice . It will run on systems as far back as the 486. Below is a list of minimum system requirements needed to install and run Slackware.
486 processor
64MB RAM (1GB+ suggested)
About 5GB+ of hard disk space for a full install
CD or DVD drive (if not bootable, then a bootable USB flash stick or PXE server/network card)
|
I can understand that nearly nobody uses 486s nowadays. Especially not to work properly, since no office program or internet browser runs on it. Still, there are many enthusiasts out there who keep their classic computers, like Tandy TRS-80 or Apple II alive. These people, and I am one of them, wish for a slim Linux to run their emulators e.g. with old 5.25" floppies.
I hoped to have found a simple solution with Slackware.
|
|
|
05-27-2021, 02:52 PM
|
#4
|
Senior Member
Registered: Mar 2007
Posts: 2,523
|
You could try Slackware 14.1. It will run on a 486.
|
|
|
05-27-2021, 03:19 PM
|
#5
|
Senior Member
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
|
This is just smp versus non-smp kernel. In old times were both.
|
|
|
05-27-2021, 07:21 PM
|
#6
|
Member
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871
|
Quote:
Originally Posted by RuebeSoft
However, your statement is contrary to what is written on the official homepage of Slackware:
I can understand that nearly nobody uses 486s nowadays. Especially not to work properly, since no office program or internet browser runs on it. Still, there are many enthusiasts out there who keep their classic computers, like Tandy TRS-80 or Apple II alive. These people, and I am one of them, wish for a slim Linux to run their emulators e.g. with old 5.25" floppies.
I hoped to have found a simple solution with Slackware.
|
The information on the website is wrong in many areas and needs badly to be corrected and updated to bring it up to snuff
|
|
|
05-28-2021, 02:54 AM
|
#7
|
LQ Newbie
Registered: May 2021
Posts: 8
Original Poster
Rep: 
|
Quote:
Originally Posted by Petri Kaukasoina
You could try Slackware 14.1. It will run on a 486.
|
Yes, that was a good hint. With 14.1 the setup runs without problems. This could be an option for i486 computers.
But now I got an error with slackpkg. Seems a dependency is missing:
"awk: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory"
# find / -iname "libmfr*"
/usr/lib/libmpfr.so.1.2.2
/urs/lib/libmpfr.so.1
There's no libmpfr.so.4 installed. How can I install it?
|
|
|
05-28-2021, 02:59 AM
|
#8
|
LQ Newbie
Registered: May 2021
Posts: 8
Original Poster
Rep: 
|
Quote:
Originally Posted by Gordie
The information on the website is wrong in many areas and needs badly to be corrected and updated to bring it up to snuff
|
Yes, it seems to be. And it really should be changed, because that saves a lot of wasted time.
|
|
|
05-28-2021, 04:58 AM
|
#9
|
Senior Member
Registered: Mar 2007
Posts: 2,523
|
Quote:
Originally Posted by RuebeSoft
There's no libmpfr.so.4 installed. How can I install it?
|
It's in l/mpfr-3.1.2-i486-1.txz
(You can find it by looking at MANIFEST.bz2)
|
|
|
05-28-2021, 05:45 AM
|
#10
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,613
|
You need to know something about libraries. The same library comes in 3 forms
Code:
bash-5.1$ ls -lh /usr/lib64/libmpfr*
lrwxrwxrwx 1 root root 16 Feb 15 13:24 /usr/lib64/libmpfr.so -> libmpfr.so.6.1.0
lrwxrwxrwx 1 root root 16 Feb 15 13:24 /usr/lib64/libmpfr.so.6 -> libmpfr.so.6.1.0
-rwxr-xr-x 1 root root 2.7M Jan 20 20:06 /usr/lib64/libmpfr.so.6.1.0
You can the 2 symlinks from my own box. If you read the version number as libmpfr.so.x.y.z - An increment in Z means a bug fix.
- An increment in Y means a feature addition.
- An increment in X means a compatability break.
Now your program wants libmpfr.so.4, but you've been pointed at libmpfr.so.3. So it might work if you run a line like
Code:
[sudo] ln -sf /usr/lib/libmpfr.so.3 /usr/lib/libmpfr.so.4
but probably you will need libmpfr.so.4.
|
|
|
05-30-2021, 04:36 AM
|
#11
|
LQ Newbie
Registered: May 2021
Posts: 8
Original Poster
Rep: 
|
The symlink did it. Now I can use slackpkg.
|
|
|
05-30-2021, 04:45 AM
|
#12
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,613
|
|
|
|
All times are GMT -5. The time now is 12:41 AM.
|
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
|
|