Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
i went to the KDE control panel and under system, i clicked on the kernel thing. it gave me this strange error saying that it can't access some file, and that my discs either had problems, or that KDE has a bug. i am new to linux, and am still trying to get my modem to work, so im on XP right now, thats why i havn't pasted the error code in exactly, i'll get that soon. but does anybody know what the heck is going on?
With Linux a user is restricted in what he can do to the system and root can do anything that he wants. This protects you somewhat by limiting the damage that a user (or a virus running as user) can do to Linux.
So to make your changes you will have to log in as root. Whatever you do as root, think it through first and leave yourself an escape route so that you can fix your mistakes without having to do a reinstall.
i did the same timg as root. it gave me the same error. i took a screenshot of the window with the error (while i was logged in as root) here is a link to it:
I guess the next step is to find out how much you are missing. The kernel source is supposed to be at /usr/src/linux. Are you missing the entire kernel source or are you just missing /usr/src/linux/arcn/config.in ?
Missing the entire source is easier to fix than missing one small piece of the kernel source. If you are missing the entire kernel source then install your Mandrake kernel source rpm. If you are missing just one file then you will have to find the correct version of the kernel source and install that.
1) directory 'linux' in /usr/src/ is completely missing! apparently that means also that i dont have a kernel? how exactly im running linux without a kernel im not sure of yet...
2) modules/common.mak does not exist either. apparently this file contains info about the source of the kernel?
now, i already ran the KDE control panel and installed a bunch of different kernels, the security one, etc... and uninstalled them all again, so now i just have my normal kernel again... but still no /usr/src/linux/ and still no modules/common.mak
i even found the specific kernel rpm on the mandrake disc, copied it to the HD, and then installed it... still no usr/src/linux ! how do i install this kernel source?
"that means also that i dont have a kernel?
i already ran the KDE control panel and installed a bunch of different kernels, the security one, etc... and uninstalled them all again,"
The kernel source and the kernel binary are two different things. You have been installing kernel binary code.
Source code is what a programmer writes. Then he runs a compiler called gcc against the source code and the compiler creates the binary code. The binary code is what you actually run.
You are missing the source code for the compiler, which does not affect how your computer runs at all. Mandrake supplies two different rpms for every program, the source code and the binary. What you need to do is find the rpm that supplies the source code for the kernel and install that, not one of the kernel binary rpms.
Exactly where Mandrake keeps its source code rpms, I don't know. I would guess that it would be on the last install CD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.