1832098 Members
3055 Online
110038 Solutions
New Discussion

Re: Boot kernel

 
SOLVED
Go to solution
peterchu
Super Advisor

Boot kernel

When I boot the RH linux , there are many kernel that I can choose , it will automatically boot the top one of the menu , how can I force the system boot to a specify kernel ? thx.
6 REPLIES 6
Vernon Brown_4
Trusted Contributor

Re: Boot kernel

With the grub boot loader I think you can scroll down to kernel you want. Try click or
use arrow keys.

Vern
Jeroen Peereboom
Honored Contributor

Re: Boot kernel

Edit the grub.conf (or menu.lst) file.
At the top it has a reference to the default kernel to boot.

JP.
Stuart Browne
Honored Contributor

Re: Boot kernel

To expand upon Jerome's post, the 'default' value is the numerical position on the menu (of the 'title ' entries), starting from 0.

So if you want the 6th 'title' entry to be the default, set it to 'default 5'.
One long-haired git at your service...
Muthukumar_5
Honored Contributor

Re: Boot kernel

hai,

If you are using the grub loader goto the grub.conf or lilo for lilo.conf file. There only the kernel bootup display order will be available.

default keyword contains the (kernel number -1 ) value. That kernel will be executed by default.

Change the delay options,so that we can execute other kernels using arrow up and down within that time.

In grub.conf delay is used as timeout keyword.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
Jan Sladky
Trusted Contributor

Re: Boot kernel

hi,
grub was already explained ...so the lilo.
If you are using lilo bootloader, the config file is /etc/lilo.conf and on the top is reference on default kernel (I use win4lin kernel):
###
default = win4lin
###
which has to match the particular name of kernel in /boot/
so look there and change the line for desired kernel image.
others parameters are
lable - name for kernel, you can change
it, you will see in menu before boot
initrd - initial ramdisk which loaded
necessary modules for boot (eg. for
LVM, for creation new one use
mkinitrd)
root - it says on which dev is / fs (can't be
on logical volume)
vga - setting for monitor/display during boot
process

append - boot parameters,eg. you can forbid
acpi or init=/bin/bash ;-)


br Jan

GSM, Intelligent Networks, UNIX
Sajeesh O.K
Advisor
Solution

Re: Boot kernel

Hi Peter

In /etc/lilo.conf put
default=