4622l1

Listing 1. /boot/grub/menu.lst

# /boot/grub/menu.lst
# grub boot menu configuration

# general configuration:
timeout  10
default   0
fallback  2
fallback  4
color     light-gray/blue  red/light-gray

# boot stanzas follow
# each is implicitly numbered from 0
# in the order of appearance below

# (0) Debian (default boot):
title  Debian  [/vmlinuz]
root   (hd0,2)
kernel /vmlinuz root=/dev/sda3 ro

# (1) Debian - runlevel 1
title  Debian  [/vmlinuz single]
root   (hd0,2)
kernel /vmlinuz single root=/dev/sda3 ro

# (2) Debian-old (first fallback)
title  Debian  [/vmlinuz.old]
root   (hd0,2)
kernel /vmlinuz.old root=/dev/sda3 ro

# (3) Debian-kernel testing
title  Debian  [/vmlinuz.test]
root   (hd0,2)
kernel /vmlinuz.test root=/dev/sda3 ro

# (4) Slackware (second fallback):
title  Slackware
root   (hd0,1)
kernel /vmlinuz root=/dev/sdb2 ro vga=791 mem=256M

# (5) FreeBSD:
title  FreeBSD
root   (hd1,0,a)
kernel /boot/loader

# (6) OpenBSD:
title  OpenBSD
# You would like to use:
##root   (hd1,1,a)
##kernel --type=openbsd /bsd
# But openbsd passes bios & kernel parameters with
# its own bootloader, the first stage of which is
# installed in the partition boot record, and in
# turn calls /boot, which in turn loads kernel /bsd.
# So just use the GRUB chainloader instead:
root (hd1,1)
makeactive
chainloader +1

# (7) BeOS:
title  BeOS
rootnoverify  (hd1,2)
makeactive
chainloader +1

# (8) WinDoze
title Win98
root  (hd0,0)
makeactive
chainloader +1

# end file menu.lst