Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 213 #239
i
i
i
i
i
i
i
i
8
Booting and Boot Managers
As the order of IDE, SCSI, and other hard disks depends on various fac-
tors and Linux is not able to identify the mapping, the sequence in the file
device.map can be set manually. If you encounter problems when boot-
ing, check if the sequence in this file corresponds to the sequence in the
BIOS and use the GRUB shell to modify it if necessary (see Section 8.4.4 on
the next page). Once you have successfully booted your Linux system, edit
the file device.map permanently with the YaST boot loader module or an
editor of your choice.
Any manual change to the device.map file requires that you update your
GRUB installation. Use the following command:
grub --batch --device-map=/boot/grub/device.map \
< /etc/grub.conf
8.4.3 The File /etc/grub.conf
GRUB stores another important part of its configuration in the file grub.
conf. This file defines the parameters and options needed by the grub
command to install the boot loader correctly:
root (hd0,4)
install /grub/stage1 d (hd0) /grub/stage2 0x8000 (hd0,4)/grub/menu.lst
quit
The individual entries have the following meaning:
root (hd0,4) This command tells GRUB that all subsequent commands
should be applied to the first logical partition on the first hard disk,
where the boot files are located.
install parameter The command grub should be run with
the parameter install. stage1 of the boot loader
should be installed in the MBR of the first hard disk
(/grub/stage1 d (hd0)). stage2 should be loaded to the
memory address 0x8000 (/grub/stage2 0x8000). The last entry
((hd0,4)/grub/menu.lst) tells GRUB where to look for the menu
file.
213
SUSE LINUX Enterprise Server