2 # Sample GRUB configuration file
5 # Boot automatically after 30 secs.
8 # By default, boot the GNU/Linux
11 # Fallback to GNU/Hurd.
14 # For booting GNU/Linux
15 menuentry "GNU/Linux" --id gnulinux {
17 linux /vmlinuz root=/dev/sda1
21 # For booting GNU/Hurd
22 menuentry "GNU (aka GNU/Hurd)" --id gnuhurd {
24 multiboot /boot/gnumach.gz root=device:hd0s1
25 module /hurd/ext2fs.static ext2fs --readonly \
26 --multiboot-command-line='${kernel-command-line}' \
27 --host-priv-port='${host-port}' \
28 --device-master-port='${device-port}' \
29 --exec-server-task='${exec-task}' -T typed '${root}' \
30 '$(task-create)' '$(task-resume)'
31 module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'
35 menuentry "FreeBSD (or GNU/kFreeBSD), direct boot" {
36 set root=(hd0,msdos1,bsd1)
37 kfreebsd /boot/kernel/kernel
38 kfreebsd_loadenv /boot/device.hints
39 kfreebsd_module /boot/splash.bmp type=splash_image_data
40 set kFreeBSD.vfs.root.mountfrom=ufs:ad0s1a
43 menuentry "FreeBSD (or GNU/kFreeBSD), via /boot/loader" {
44 set root=(hd0,msdos1,bsd1)
50 set root=(hd0,netbsd1)
56 set root=(hd0,openbsd1)
60 # For booting Microsoft Windows
61 menuentry "Microsoft Windows" {
66 # For booting Memtest86+
67 menuentry "Memtest86+" {
69 linux16 /memtest86+.bin
73 menuentry "Change the colors" {
74 set menu_color_normal=light-green/brown
75 set menu_color_highlight=red/blue