Solved

/boot appears empty, but isn't ?????

Posted on 2000-04-27
4
202 Views
Last Modified: 2010-04-20
I am running out of ideas here and was hopeing that maybe someone there
could help.

I have a RedHat 6.1 installation that has been running fine. But a
couple of days ago, the /boot directory showed up empty except for
kernel.h. However the machine still boots fine. There were no changes to
the system prior to this problem.

The install was setup with the following partitions:

/boot   15mb
swap    256mb
5.7gb   /

At the same time I saw that the "lost+found" directories were missing in
/ and /boot. Those directories have been restored, but still no luck on
being able to read anything else in the /boot partition.

I have manually unmounted /boot and remounted it, but it didn't help. I
also tried mounting it into a different directory but I had the same
results.

Any help will be greatly appreciated.

Thanks,
George
0
Comment
Question by:geboyd
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2758079
Sounds like you've might have damaged file systems. Try a shutdown with a forced fsck on reboot. You can arrainge for the fsck to be run by shutting the system down from a shell with "shutdown -F -r now".
0
 
LVL 11

Accepted Solution

by:
robert_marquardt earned 100 total points
ID: 2762185
The system boots because the bootloader does not use the file system to find the kernel file. /boot directory entries may be corrupt but the blocks of the files are intact (until yout touch /boot).
0
 

Author Comment

by:geboyd
ID: 2762495
I don't know if your right or wrong, but no other suggestions cured the problem. I ended up having to do an "upgrade" from the CD. I didn't want to lose the existing / file system. I tried to reinstall without changing the partition table or reformating, but that didn't work. After I did the "upgrade", I had to to go back and reinstall a couple of things, but nothing major. It's all back to normal now.
0
 

Author Comment

by:geboyd
ID: 2762502
I forgot to mention that the reason it wouldn't just do an install was after the packages were installed, the installation would just stop. Switcing to console "f1", I saw that it was errors in python. Don't know what caused that, but doing the "upgrade" option went great.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now