![HighPoint HPT370 Скачать руководство пользователя страница 9](http://html1.mh-extra.com/html/highpoint/hpt370/hpt370_installation-manual_2130658009.webp)
HPT370/372/372A Red Hat Linux Installation Guide
- 7 -
If you do not want to build the kernel by yourself, you can simply use the kernel
"vmlinuz.hpt37x2" on the driver diskette we provided.
After you get the new kernel, you can install it using Grub or Lilo. Follow the steps
below.
Using Grub
For RedHat 7.2, you can choose using Grub to boot system kernel.
1) Copy the new kernel image to the boot directory. Here we name it to
/boot/vmlinuz.hpt37x2. You can change it to whatever name you want.
2) Modify /boot/grub/menu.lst settings to install the new kernel configuration. You
can use the command “
vi /boot/grub/menu.lst
” to open menu.lst with the vi editor
and modify it. Generally you can add the following lines to the file (in this example,
we name the new kernel file as “vmlinuz.hpt37x2”.):
title RedHat Linux (2.4.7-10.hpt37x2)
root (hd0,0)
Grub’
s root device
kernel /vmlinuz.hpt37x2 ro root=/dev/hda5
The new kernel image
initrd /initrd-2.4.2-2.img
RAM disk file, see below
Note
a) Your grub’
s root device may be not on (hd0,0). Check the correct location and
modify the line “root (hd0,0)” to match your system configuration.
b) Your system’
s root file system may be not on /dev/hda5. Check the correct
location and modify the line “root=/dev/hda5” to match your system
configuration. You can use the “mount” command to see on which device you
boot file system is mounted.
c) If your system needs an initial RAM disk image to boot up (especially when
you use a SCSI drive to boot), you should check existing sections in your
menu.lst file for the “initrd” line and add it to the new section. The default
RAM disk file name is initrd-2.4.2-2.img for Redhat 7.1, initrd-2.4.7-10.img
for Redhat 7.2.
Using Lilo
1) Copy the new kernel image to the boot directory. Here we name it to
/boot/vmlinuz.hpt37x2. You can change it to whatever name you want.
2) Modify /etc/lilo.conf settings to install the new kernel. You can use the command
“
vi /etc/lilo.conf
” to open lilo.conf with the vi editor and modify it. Generally you
can add the following lines to the file (in this example, we name the new kernel file
as “vmlinuz.hpt37x2”.):
image=/boot/vmlinuz.hpt37x2
The new kernel image
label=linux.hpt37x2
initrd=/boot/initrd-2.4.2-2.img
RAM disk file, see below
read-only