LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-20-2008, 10:25 AM   #1
jalsk
Member
 
Registered: Nov 2003
Location: Boise, Idaho
Distribution: Fedora 9 x86_64 and Gentoo
Posts: 51

Rep: Reputation: 15
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.

-jalsk
 
Old 04-20-2008, 12:16 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Reinstall the kernel-devel rpm.

Brian
 
Old 04-20-2008, 12:28 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
 
Old 04-20-2008, 12:36 PM   #4
jalsk
Member
 
Registered: Nov 2003
Location: Boise, Idaho
Distribution: Fedora 9 x86_64 and Gentoo
Posts: 51

Original Poster
Rep: Reputation: 15
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!

-jalsk
 
Old 04-20-2008, 01:22 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Have you the latest vmware-any-any-tools?

Brian
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accidentally deleted GRUB oryhara Linux - General 3 06-09-2006 05:23 PM
I accidentally deleted libstdc++ :( piforever Fedora 4 01-01-2006 06:03 PM
accidentally deleted some files and I don't know what I need to do to get them back Michele Linux - Newbie 2 06-26-2004 05:42 AM
Accidentally deleted files rwalkerphl Linux - Newbie 3 06-24-2004 06:11 PM
accidentally deleted /etc/profile tanbetien Fedora 2 11-21-2003 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration