Fedora Linux Support Community & Resources Center
  #1  
Old 13th July 2006, 12:49 PM
rgaelzer Offline
Registered User
 
Join Date: Oct 2005
Location: Rio Grande do Sul, Brazil
Posts: 135
grub and kernel wiped out!

Something VERY weird just happened to me...

I just upgraded the kernel to 2.6.17-1.2145_FC5smp, but it doesn't boot. It will hang there and I'm forced to reset the machine and boot with the previous kernel: 2.6.16-1.2133_FC5smp.

Now, I just looked into the /boot partition and this is all the content:

-rw-r--r-- 1 root root 65999 Jul 1 14:33 config-2.6.17-1.2145_FC5smp
-rw-r--r-- 1 root root 852263 Jul 1 14:33 System.map-2.6.17-1.2145_FC5smp
-rw-r--r-- 1 root root 1800879 Jul 1 14:33 vmlinuz-2.6.17-1.2145_FC5smp

It means that all grub configuration and the working kernel has been wiped out and I simply don't know why... I looked into the history for the root user but there's no del command acting in the /boot partition...

Now I'm left with a kernel that doesn't work and no grub configuration. I'm not gonna reboot my machine until I can fix this.

Can anyone suggest what are the steps I should take at this point? Reinstall kernel 2.6.16-1.2133_FC5smp, reinstall grub and edit grub.conf? Will that be enough?

Any help appreciated.
__________________
Rudi Gaelzer
Registered Linux user # 153741
Reply With Quote
  #2  
Old 13th July 2006, 02:12 PM
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
That is what I would do. There is a setting for how many kernels FC will keep. I upped mine as it was set for two and I wanted to keep the new one plus two additional.

gedit /etc/yum/pluginconf.d/installonlyn.conf and increase the number of saved packages, which also adds to the number of saved kernels. This may help prevent the problem in the future although it will take up some added space on your box as all packages will save an additional one or two.

If you don't keep a backup copy of grub.conf, you will have to completely re-install Grub it seems.

Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
Reply

Tags
grub, kernel, wiped

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstall of vista wiped out GRUB Kavesh Installation and Live Media 4 14th May 2009 12:19 PM
Xp install wiped out grub on a fc6 dual boot system, how to restore? cuban_cigar EOL (End Of Life) Versions 6 3rd June 2007 02:04 PM
fc6 install wiped fc5 LVM group? GiLuX EOL (End Of Life) Versions 6 3rd November 2006 01:42 AM
YUMEX wiped out GNOME? hoser_9 Using Fedora 13 9th September 2006 07:05 AM
Accidently wiped /boot... martijn2 Installation and Live Media 4 13th October 2005 01:10 PM


Current GMT-time: 14:52 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat