Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Manual page 237

Hide thumbs Also See for LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE:
Table of Contents

Advertisement

Section 23.5:Configuring the Boot Loader
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-3)
root (hd0,0)
kernel /vmlinuz-2.4.7-3 ro root=/dev/hda3
initrd /initrd-2.4.7-3.img
If you created a separate /boot partition, the paths to the kernel and initrd image are relative to the
/boot partition.
To add your new kernel to GRUB, copy the existing section to a new one and modify it to boot your new
kernel image (and initrd image if you have any SCSI devices and created an initrd image). Be sure the
title of the new section is different from the title of the section to boot the old kernel. By default, Red
Hat Linux uses linux and the kernel version in parentheses to differentiate between different kernels
for GRUB to boot. In our example, the new /boot/grub/grub.conf file would look like the
following:
# NOTICE:
You have a /boot partition.
#
all kernel paths are relative to /boot/
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-3-jul2001)
root (hd0,0)
kernel /vmlinuz-2.4.7-3-jul2001 ro root=/dev/hda3
initrd /initrd-2.4.7-3-jul2001.img
title Red Hat Linux (2.4.7-3)
root (hd0,0)
kernel /vmlinuz-2.4.7-3 ro root=/dev/hda3
initrd /initrd-2.4.7-3.img
The default boot entry is set to number 0. To make your new kernel the default, either place its section
first or change the default entry number to the appropriate number (remember that it starts counting
with 0).
From now on, when the system boots you will see Red Hat Linux (2.4.7-3-jul2001) and
Red Hat Linux (2.4.7-3) as GRUB boot options. To boot the default kernel, press
wait for it to time out. If you want to boot the old kernel, select it and press
You can begin testing your new kernel by rebooting your computer and watching the messages to
ensure your hardware is detected properly.
This means that
[Enter]
or
[Enter]
.
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents