LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-20-2004, 08:47 AM   #1
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Rep: Reputation: 15
Kernel files removed


Dear All ,
I have make a wrong command that i have delete all Kernel files and im nod apply to install new kernel and i don't know what to do so please help
Regards
 
Old 04-20-2004, 06:41 PM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Are you capable of booting first CD into rescue mode and re-installing the kernel package then?
 
Old 04-21-2004, 02:03 AM   #3
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I try to make that but it's tell me Error like (Error when the upgrade doning)
Im using XP now but i need to back to my linux
Regards
 
Old 04-21-2004, 07:29 AM   #4
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Not enough input. Details are needed...
 
Old 04-21-2004, 10:17 AM   #5
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Please HELP!
 
Old 04-21-2004, 11:57 AM   #6
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
You have got two options:

1) Boot with a bootdisk, which you have created during installation.

2) Boot first CD and start it by entering linux rescue, then follow the instructions on the screen. Does that work for you? If it does, you've got a rescue system which you can use to install the kernel rpm package from first CD.

If you need help at some step, provide details please. There are enough users who can help when they know details.
 
Old 04-21-2004, 03:58 PM   #7
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I boot the first cd and typing in boot linux rescue but it done and my kernel not reinstall
NOTE : the problem im doing the command rm -rf /lib/modules and delete all kernel so please help how to reinstall kernel or restore it
Regards
 
Old 04-21-2004, 04:29 PM   #8
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Spend a bit more times on your messages, please, so one can understand what exactly you've tried.

Booting the first CD with "linux rescue" does NOT install or fix anything automatically. It boots a minimal Linux system which an experienced Linux user can use to fix errors (e.g. the damage you've done). With a bit of help and cooperation it is manageable also for newbies. Step by step instructions can be found on the Internet (or even in these message boards) with a bit of patience and interest.
 
Old 04-21-2004, 09:26 PM   #9
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
No My Linux and Xwidows work fine without any problem but there are no drivers bad Viewing you can said i delete the kernel with their files and drivers so i wanna to restore it now what i do ?
MY SYSTEM WORK FINE
 
Old 04-21-2004, 10:04 PM   #10
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
No, your system does not work fine.

Because if it did, you could simply re-install the kernel package from first CD.

Somehow you need to get access to a kernel rpm package. Rescue mode would be one way to do that.



Was your system fully up-to-date? Maybe there's a kernel package still in /var/spool/up2date?
 
Old 04-21-2004, 10:18 PM   #11
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
No , Im not connect to net from Linux but i wanna kernel to be back so i can enter the internet
Regards
 
Old 04-22-2004, 05:31 AM   #12
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
You are way too unresponsive, unfortunately. If you described how far you get with rescue mode, one could help you continue there. But one needs to know whether you are able to mount a CD-ROM and re-install an rpm or what your problem with rescue mode is.
 
Old 04-22-2004, 05:55 AM   #13
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
See i can login to Xwindows i can doing anything in my Redhat System Enter Gnome Enter KDE what i wanna i can do but i don't have i kernel because im delete it from /lib/modules so i need one help only how to reinstall the kernel
REgards
 
Old 04-22-2004, 08:15 AM   #14
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
By removing /lib/modules you have deleted all your kernel modules, including drivers to access your CD-ROM. The kernel is working fine, but additional modules are missing.

To get back the files in /lib/modules, you would re-install the kernel RPM package. Now tell me, what ways have you got to get a kernel package? Rescue mode of disc #1 is one way to access your CD drive and copy the kernel package from it. You don't seem to like that method. So where you do get a kernel package from if you don't have a copy on your hard disk drive?
 
Old 04-22-2004, 08:18 AM   #15
Zi5
Member
 
Registered: Apr 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Ok Fine where it in the CD what the path
thanks you too much misc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
removed files from /etc Spartan552 *BSD 8 11-08-2005 07:16 PM
Gateway ip address removed from /etc/sysconfig/network files ehedetniem Linux - Newbie 2 04-12-2005 10:29 AM
how to delete all traces of already removed files? randomx Linux - Security 2 04-05-2005 01:59 AM
kernel files removed cbarbot Linux - Newbie 1 04-14-2004 01:05 PM
Removed files-where have they gone!!!???? the_rydster Linux - General 2 11-13-2003 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:52 PM.

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