Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 211 — #237
i
i
i
i
i
i
i
i
8
Booting and Boot Managers
default 0 By default, the first menu entry title linux should be
booted.
timeout 8 After eight seconds without user input, GRUB automatically
boots the default entry.
The second, larger part defines the different operating systems to boot.
The first entry (title linux) is responsible for booting SUSE LINUX.
The kernel (vmlinuz) is located on the first hard disk on the first logical
partition (which is the boot partition in this case). The appended arguments
are kernel parameters, such as the root partition and the video mode. The
root partition is specified according to the Linux convention (/dev/hda7),
as this information is interpreted by the Linux kernel, not by GRUB. The
initrd image is located on the same logical partition of the first hard disk.
The second entry is responsible for booting Windows, which is in-
stalled on the first partition of the first hard disk (hd0,0). The command
chainloader +1 causes GRUB to read and execute the first sector of the
specified partition.
The next entry enables booting from the floppy drive without changing any
BIOS settings.
The failsafe entry boots a Linux kernel with a number of kernel param-
eters that enable booting Linux even if the hardware is causing problems.
Changing the Hard Disk Sequence
Some operating systems, such as Windows, can only start from the first
hard disk. If you have such an operating system installed on a different
hard disk, you can implement a logical change for the respective menu
entry. However, this only works if the operating system accesses the hard
disks by way of the BIOS when booting.
...
title windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader(hd1,0)+1
...
In this example, Windows is started from the second hard disk. For this
purpose, the logical sequence of the hard disks is changed with map. This
change does not affect the logic within the GRUB menu file. You still need
to specify the second hard disk for chainloader.
211SUSE LINUX Enterprise Server










