Product SiteDocumentation Site

8.8.4. Konfigurierung von GRUB Legacy

Version 1 von GRUB kann ebenfalls Dateisysteme lesen. Sie wird mit dem Befehl grub-install /dev/sda installiert.
GRUBs Konfiguration befindet sich in der Datei /boot/grub/menu.lst (siehe Beispiel).
Beispiel 8.4. Konfigurationsdatei für GRUB
# Boot automatically after 30 seconds
timeout 30
# Boot first entry by default
default 0
# If that fails, try the second
fallback 1

# Last kernel installed
title GNU/Linux
root (hd0,1)
kernel /vmlinuz root=/dev/sda2
initrd /initrd.img

# Old kernel (if the most recent doesn't boot)
title GNU/Linux OLD
root (hd0,1)
kernel /vmlinuz.old root=/dev/sda2
initrd /initrd.img.old

# Only for dual boot, Linux/Windows
title Microsoft Windows
rootnoverify (hd0,0)
makeactive
chainloader +1