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? |
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. |
However, your statement is contrary to what is written on the official homepage of Slackware:
Quote:
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. |
You could try Slackware 14.1. It will run on a 486.
|
This is just smp versus non-smp kernel. In old times were both.
|
Quote:
|
Quote:
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? |
Quote:
|
Quote:
(You can find it by looking at MANIFEST.bz2) |
You need to know something about libraries. The same library comes in 3 forms
Code:
bash-5.1$ ls -lh /usr/lib64/libmpfr*
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 |
The symlink did it. Now I can use slackpkg.
|
:hattip:
|
All times are GMT -5. The time now is 11:41 PM. |