Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th October 2011, 09:24 PM
meta59 Offline
Registered User
 
Join Date: Jun 2011
Posts: 9
linuxfirefox
Repairing the kernel?

Today I booted up FC 15 and it hung on "start up the nfs file locking service." It boots if I select a different kernel in the grub menu. How do I repair the most recent kernel(the one that boots automatically)? I tried running updates but that didnt fix it.
Reply With Quote
  #2  
Old 7th October 2011, 05:15 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,304
linuxfedorafirefox
Re: Repairing the kernel?

You can select a different kernel to boot by editing /boot/grub/grub.conf or using the 'grubby' utility.
Either requires privilege.

sudo sed -e s/default=0/default=1/ -i /boot/grub/grub.conf
selects the 'previous' kernel or
Quote:
sudo grubby --make-default /boot/vmlinuz-2.6......
where you need to find the correct name for the vmlinuz... file you want to boot.
Quote:
sudo grubby --default-kernel
prints the kernel selected for boot.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
Reply

Tags
kernel, repairing

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
repairing bad sectors timothyb Using Fedora 8 14th June 2011 04:23 AM
Repairing yum on F14 after preupgrade mouskouyouss F14 Development 2 7th October 2010 03:58 PM
Repairing an LVM Antifreeze Hardware & Laptops 4 22nd June 2008 06:09 PM
repairing FC4 iamroot Using Fedora 9 20th October 2005 05:10 AM


Current GMT-time: 05:38 (Sunday, 26-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