2009-07-01 Pavel Roskin <proski@gnu.org>
[grub2/bean.git] / docs / grub.cfg
blob7f02727d0c1f9edd7962a1f95e8547fef5f5c395
2 # Sample GRUB configuration file
5 # Boot automatically after 30 secs.
6 set timeout=30
8 # By default, boot the first entry.
9 set default=0
11 # Fallback to the second entry.
12 set fallback=1
14 # For booting GNU/Hurd
15 menuentry "GNU (aka GNU/Hurd)" {
16         set root=(hd0,1)
17         multiboot /boot/gnumach.gz root=device:hd0s1
18         module /hurd/ext2fs.static --readonly \
19                         --multiboot-command-line='${kernel-command-line}' \
20                         --host-priv-port='${host-port}' \
21                         --device-master-port='${device-port}' \
22                         --exec-server-task='${exec-task}' -T typed '${root}' \
23                         '$(task-create)' '$(task-resume)'
24         module /lib/ld.so.1 /hurd/exec '$(exec-task=task-create)'
27 # For booting GNU/Linux
28 menuentry "GNU/Linux" {
29         set root=(hd0,1)
30         linux /vmlinuz root=/dev/sda1
31         initrd /initrd.img
34 # For booting FreeBSD
35 menuentry "FreeBSD (or GNU/kFreeBSD), direct boot" {
36         set root=(hd0,1,a)
37         freebsd /boot/kernel/kernel
38         freebsd_loadenv /boot/device.hints
39         freebsd_module /boot/splash.bmp type=splash_image_data
40         set FreeBSD.vfs.root.mountfrom=ufs:ad0s1a
42 menuentry "FreeBSD (or GNU/kFreeBSD), via /boot/loader" {
43         set root=(hd0,1,a)
44         freebsd /boot/loader
47 # For booting NetBSD
48 menuentry "NetBSD" {
49         set root=(hd0,1,a)
50         netbsd /netbsd
53 # For booting OpenBSD
54 menuentry "OpenBSD" {
55         set root=(hd0,1,a)
56         openbsd /bsd
59 # For booting Microsoft Windows
60 menuentry "Microsoft Windows" {
61         set root=(hd0,1)
62         chainloader +1
65 # Change the colors.
66 menuentry "Change the colors" {
67         set menu_color_normal=light-green/brown
68         set menu_color_highlight=red/blue