Home | History | Annotate | Download | only in docs
      1 #
      2 # Sample boot menu configuration file
      3 #
      4 
      5 # Boot automatically after 30 secs.
      6 timeout 30
      7 
      8 # By default, boot the first entry.
      9 default 0
     10 
     11 # Fallback to the second entry.
     12 fallback 1
     13 
     14 # For booting GNU/Hurd
     15 title  GNU/Hurd
     16 root   (hd0,0)
     17 kernel /boot/gnumach.gz root=hd0s1
     18 module /boot/serverboot.gz
     19 
     20 # For booting GNU/Linux
     21 title  GNU/Linux
     22 root (hd1,0)
     23 kernel /vmlinuz root=/dev/hdb1
     24 #initrd /initrd.img
     25 
     26 # For booting GNU/kFreeBSD
     27 title  GNU/kFreeBSD
     28 root   (hd0,2,a)
     29 kernel /boot/loader.gz
     30 
     31 # For booting GNU/kNetBSD
     32 title  GNU/kNetBSD
     33 root   (hd0,2,a)
     34 kernel --type=netbsd /boot/knetbsd.gz
     35 
     36 # For booting Mach (getting kernel from floppy)
     37 title  Utah Mach4 multiboot
     38 root   (hd0,2)
     39 pause  Insert the diskette now!!
     40 kernel (fd0)/boot/kernel root=hd0s3
     41 module (fd0)/boot/bootstrap
     42 
     43 # For booting FreeBSD
     44 title  FreeBSD
     45 root   (hd0,2,a)
     46 kernel /boot/loader
     47 
     48 # For booting NetBSD
     49 title  NetBSD
     50 root   (hd0,2,a)
     51 kernel --type=netbsd /netbsd
     52 
     53 # For booting OpenBSD
     54 title  OpenBSD
     55 root   (hd0,2,a)
     56 kernel --type=netbsd /bsd
     57 
     58 # For booting OS/2
     59 title OS/2
     60 root  (hd0,1)
     61 makeactive
     62 # chainload OS/2 bootloader from the first sector
     63 chainloader +1
     64 # This is similar to "chainload", but loads a specific file
     65 #chainloader /boot/chain.os2
     66 
     67 # For booting Windows NT or Windows95
     68 title Windows NT / Windows 95 boot menu
     69 rootnoverify (hd0,0)
     70 makeactive
     71 chainloader  +1
     72 # For loading DOS if Windows NT is installed
     73 # chainload /bootsect.dos
     74 
     75 # For installing GRUB into the hard disk
     76 title Install GRUB into the hard disk
     77 root    (hd0,0)
     78 setup   (hd0)
     79 
     80 # Change the colors.
     81 title Change the colors
     82 color light-green/brown blink-red/blue
     83