?
Solved

Recovering /boot directory

Posted on 2001-07-12
4
Medium Priority
?
214 Views
Last Modified: 2013-12-15
I am using Red Hat Linux 7.0 .

While booting, an error "/boot/kernel.h" is not found" is coming.

I found that /boot has been deleted.  

Can anyone suggest me how to overcome this problem without installing Linux again.


Very Urgent.

Thank u.

0
Comment
Question by:anjala
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Expert Comment

by:auther_bin
ID: 6283658
 Oh, my god! I really can't think it out, HOW IT BE DELETED! The directory "/boot" is the most important directory in all the system, so you'd better give it a better care. And, If this directory has been deleted all :( nothing can do by lilo, the system can't boot at all. if only the kernel.h has been deleted by a mistake, you can copy from another machine to you box, And if you can't find the anther machin, just use the RedHat cd-r to make a linux boot disk, by which boot your machine up, and then find the kernel.h in /usr/src/linux directory or it's sub directory. cp to /boot. And try again. Oh, maybe I think the boot floppy disk should have the file "kernel.h" in it's "/boot" directory, just copy the one is more better.

Just try it, and good luck!

:)
0
 
LVL 5

Accepted Solution

by:
garboua earned 200 total points
ID: 6286780
LOL,
well if you have the CD, boot with it and tell installation that you are upgrading, It will reinstall LILO, Kernel Image and kernel hearders.  Unless you have a custom build kernel.  
Ps  try not to work on box using root login, use one of your other accounts, and you can always "su" if you need.
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8433049
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area to:
Accept garboua's answer
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
majorwoo
EE Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8492615
per recommendation.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 5 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question