Accidentally deleted kernel source... need it back
FedoraThis forum is for the discussion of the Fedora Project.
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.
Accidentally deleted kernel source... need it back
So I did something kinda stupid today, I upgraded to a new kernel (2.6.24.4-64.fc8), and in the process of trying to get my vmware modules recompiled and my nvidia driver reinstalled I accidentally deleted the kernel source pertaining to my current running kernel. I managed to get my video driver installed before that, so I at least have X running, but I want to get my vmware modules compiled and can't do that without the kernel source. Does anyone know how I can get that kernel source back (it was located in /var/src/2.6.24.4-64.fc8)? Thanks in advance.
I'm currently running Fedora 8 32-bit with the aforementioned kernel (2.6.24.4-64.fc8) on an Intel Core 2 Duo 2.33GHz, 4GB DDR2800 RAM, and if you need the output of various commands or something like that, let me know. Any help would be greatly appreciated.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518
Rep:
Try 'rpm -qa | grep kernel' to see the full name if is still filed.
If 'kernel-devel-2.6.24.4-64.fc8 RPM for i686' you can get it here: http://rpmfind.net/linux/RPM/fedora/....fc8.i686.html
or better: ask yum to install it.
Awesome. Thanks. It worked. I ended up removing the package from the rpm database using 'rpm -e --justdb --nodeps kernel-devel-2.6.24.4-64.fc8' and then ran 'yum install kernel-devel-2.6.24.4-64.fc8'. Now I just have to figure out why my vmware modules aren't compiling! Thanks again!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.