| # |
| # Sample boot menu configuration file |
| # |
| |
| # Boot automatically after 30 secs. |
| timeout 30 |
| |
| # By default, boot the first entry. |
| default 0 |
| |
| # For booting the GNU HURD |
| title GNU/HURD |
| root (hd0,0) |
| kernel /boot/gnumach root=hd0s1 |
| module /boot/serverboot |
| |
| # For booting Linux |
| title GNU/Linux |
| kernel (hd1,0)/vmlinuz root=/dev/hdb1 |
| |
| # For booting Mach (getting kernel from floppy) |
| title Utah Mach4 multiboot |
| root (hd0,2) |
| pause Insert the diskette now!! |
| kernel (fd0)/boot/kernel root=hd0s3 |
| module (fd0)/boot/bootstrap |
| |
| # For booting FreeBSD (getting kernel from floppy) |
| title FreeBSD |
| root (hd0,2,a) |
| kernel (fd0)/kernel |
| |
| # For booting OS/2 |
| title OS/2 |
| root (hd0,1) |
| makeactive |
| # chainload OS/2 bootloader from the first sector |
| chainloader +1 |
| # This is similar to "chainload", but loads a specific file |
| #chainloader /boot/chain.os2 |
| |
| # For booting Windows NT or Windows95 |
| title Windows NT / Windows 95 boot menu |
| root (hd0,0) |
| makeactive |
| chainloader +1 |
| |
| # For installing GRUB into the hard disk |
| title Install GRUB into the hard disk |
| root (hd0,0) |
| install /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 p |
| # For loading DOS if Windows NT is installed |
| # chainload /bootsect.dos |