SlackwareThis 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.
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.
Hi: I have installed a slackware distribution containing kernel 2.2.16 in one of the hard disk partitions. I only have the files, not the installer. These are the kernel image and the packages. When I boot the system, it says:
Code:
INIT: version 2.78 booting
sh: error in loading shared libraries: libtermcap.so.2: cannot open shared object file: no such file or directory
INIT: entering runlevel: 3
sh: error in loading shared libraries: libtermcap.so.2: cannot open shared object file: no such file or directory
Welcome to Linux.
(none) login:
It doesn't even run fsck and it does not remount the root device. Hence, when I login as root, it says:
Code:
login[10]: unable to change tty '/dev/tty1' for user 'root'
Unable to change tty '/dev/tty1': Illegal seek.
I did the link in /lib and this time it did fsck'd the filesystem. And I could login.
Code:
Welcome to Linux.
(none) login: root
Linux.
You have mail.
login[73]: ROOT LOGIN on 'tty1'
root@(none):~#
The only thing is that fsck says:
Code:
/sbin/e2fsck: Filesystem has unsupported feature(s) (/dev/hda7)
Get a newer version of e2fsck!
And then the usual prompt "you will now be given a chance to log into...". It is because I formatted the partition with e2fsck from slackware 12.0! I'll reformat and post again.
A bit of googling never hurts (this remark has a didactical purpose). That's said you could try "cat /proc/kallsyms" instead.
What I found was this:
Quote:
In kernel 2.4, there was a /proc/ksyms file. This file, if I understand
>correctly, was a method to access the kernel's public symbol table. What
>was displayed had all the public kernel's symbols (variables,
>functions..) and its associated global addresses, along with some other
>usefull stuff, like a CRC value, and the module exporting every specific
>symbol.
It seems not to be important except for developers. However, it is a pity. For example, in this page
Well, if that were a 2.6 kernel I'd say you just missed to check the PROC_FS configuration option, but I have no experience on a 2.2 kernel.
But didn't you just forget to mount the proc file system by chance? With a 2.6 kernel at least you should have this in /etc/fstab
Code:
proc /proc proc defaults 0 0
That's probably what you miss as initially populating /etc/fstab is usually the installer's job, but as you couldn't use an installer that becomes your job
Before you do the change in /etc/fstab you could just try
Code:
mount -t proc proc /proc
And see if your /proc tree becomes automagically populated.
To know more, see "man proc" and Documentation/filesystems/proc.txt in your kernel source tree.
Last edited by Didier Spaier; 07-30-2014 at 12:16 AM.
But didn't you just forget to mount the proc file system by chance?
Yes, thanks. I realized it when I ran ps and a notification appeared about mounting /proc! devpts should likely be mounted too. In this distribution setup can be run from the hard disk. So, next time I'll run setup instead of installing manually (after installing the base packages of course).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.