Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-17-2005, 05:25 PM   #1
Registered: Nov 2003
Distribution: xubuntu
Posts: 217

Rep: Reputation: 30
GRUB - Fall-back kernel?

Does GRUB have some hidden option to specify a default (fallback) kernel in the event the selected kernel cannot boot?

And if there is no such option, what should I do? Is there some way to mimick this behavior in GRUB?
Old 11-17-2005, 07:07 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
You could press 'c' at boot to open the Grub shell and search for
another kernel image file in the /boot directory, or directly
press 'e' from the selected menu line to edit it and change
the kernel filename
Old 11-18-2005, 12:21 AM   #3
Registered: Nov 2003
Distribution: xubuntu
Posts: 217

Original Poster
Rep: Reputation: 30
Ah yes. But that requires interactive access to the grub menu during boot.

Is there an equivalent that can be placed into menu.lst?
Old 11-18-2005, 02:19 AM   #4
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I use SuSE 9.3 Professional. When I installed, this entry was added to my /boot/grub/menu.lst config file.

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.3
kernel (hd0,4)/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off acpi=off vga=0x31a noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,4)/initrd

The failsafe kernel is the same as the normally booted kernel. The only differences are the boot options specified in the 'kernel' line.

'Failsafe' shows up in the grub menu as a selectable boot option.
Old 11-18-2005, 03:08 AM   #5
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,484

Rep: Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098Reputation: 3098
Amazing things manuals - reading them can be quite enlightening
fallback num
Go into unattended boot mode: if the default boot entry has any errors, instead of waiting for the user to do something, immediately start over using the num entry (same numbering as the default command (see default)).


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
fall back "action=" in HTML rblampain Programming 2 07-31-2005 12:53 AM
Grub is gone, how to get it back? infornography Linux - General 8 03-08-2005 02:24 AM
I want GRUB Back! 1veedo Linux - Software 4 02-02-2005 07:32 PM
getting grub back viniosity Linux - Newbie 3 11-30-2004 10:40 AM
Booting up in X server... how do I disable it or fall back to console mode? Delmarc Linux - Newbie 3 09-06-2003 09:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration