BootloaderGebräuchlich sind LILO und GRUB
Konfigurationsdatei: /etc/lilo.conf
Beispiel:
# LILO configuration file
# Start LILO global Section
# If you want to prevent console users to boot with init=/bin/bash,
# restrict usage of boot params by setting a passwd and using the option
# restricted.
#password=bootpwd
#restricted
append="max_scsi_luns=1"
boot=/dev/hda
#compact # faster, but won't work on all systems.
vga=normal
message=/boot/message
menu-scheme=Wg:kw:Wg:Wg
read-only
prompt
timeout=100
# End LILO global Section
#
image = /boot/vmlinuzv
root = /dev/hda2
label = Linux
initrd = /boot/initrd
#
image = /boot/vmlinuz.park
root = /dev/hda2
label = 2.4.18-4GB
initrd = /boot/initrd
#
image = /boot/vmlinuz
root = /dev/hda2
label = 70
initrd = /boot/initrd
Aufruf: lilo
Schreibt den Bootloader an den in /etc/lilo.conf mit boot festgelegten Ort.
Orginal unter http://sdb.suse.de/de/sdb/html/fhassel_bootld_cpt.html
Bezieht sich auf SuSE Linux: Version 8.1
In diesem Artikel soll kurz erläutert werden, warum ab SuSE Linux Version 8.1 als Bootmanager Grub anstelle von Lilo verwendet wird.
Ab SuSE Linux 8.1 hat sich das Bootloader-Konzept grundlegend geändert. Bei einer Neuinstallation wird als Bootloader nun Grub eingerichtet. Folgende Gründe sprachen fr einen Wechsel zu Grub:
Bei einem Update von einer �teren SuSE Linux Version wird Lilo als Bootmanager beibehalten. Dies ist ebenso der Fall, sofern die Root-Partition auf einem Raid System (auch bei Software-Raid- oder LVM) installiert wird.
Obwohl Grub nun der Standard ist, k�nen Sie dennoch, falls Sie wnschen, zurck zu Lilo wechseln. Die Vorgehensweise dazu ist beschrieben im Artikel "LILO anstatt GRUB in SuSE 8.1 als Bootloader benutzen" (http://sdb.suse.de/de/sdb/html/fhassel_grub_lilo.html).
Hintergrnde zur Funktionsweise des Bootmanagers Grub sowie Hinweise zur Konfiguration sind erl�tert im Artikel "Der Bootmanager GRUB" (http://sdb.suse.de/de/sdb/html/fhassel_grub_overview.html)). Hier finden Sie auch Verweise auf weitere Artikel im Zusammenhang mit Grub.
Konfigurationsdateien:
/etc/grub.conf:
root (hd0,4)
install --stage2=/boot/grub/stage2 /grub/stage1 d (fd0) /grub/stage2 0x8000 (hd0,4)/grub/menu.lst
quit
/boot/grub/menu.lst:
# Modified by YaST2. Last modification on Sat Nov 23 23:58:59 2002
gfxmenu (hd0,4)/message
color white/blue black/light-gray
default 0
timeout 8
vga 791
title linux
kernel (hd0,4)/vmlinuz root=/dev/hda9
initrd (hd0,4)/initrd
title windows
root (hd0,0)
makeactive
chainloader +1
title dos
root (hd1,0)
makeactive
chainloader +1
title floppy
root (fd0)
chainloader +1
title failsafe
kernel (hd0,4)/vmlinuz.shipped root=/dev/hda9 ide=nodma apm=off acpi=off vga=normal nosmp maxcpus=0 disableapic 3
initrd (hd0,4)/initrd.shipped
/boot/grub/device.map:
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/sda