1828255 Members
2850 Online
109975 Solutions
New Discussion

Re: Boot Sequence

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Boot Sequence

I have two kernels available on my RH9 system.
See''''

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title XFS Linux 2.4.19
root (hd0,0)
kernel /boot/linux219xfs ro root=/dev/sda1 hda=ide-scsi


When I reboot, I want the linux219xfs kernel to load by itself. Right now I have to watch the reboot and select the correct kernel. How can I do this. Do I need to re-arange the grub.conf file?
UNIX IS GOOD
2 REPLIES 2
Mark Grant
Honored Contributor
Solution

Re: Boot Sequence

Looking at your configuration file you need to change the "default=0" to "default=1".The "default" line says which kernel to boot and it starts counting at 0.
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: Boot Sequence

default=0

Can be changed to pick any of the kernel's available in your grub.conf file.

Just change the number to reflect the kernel you want to boot off of.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com