home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / grub / examples / menu.lst
Encoding:
File List  |  2006-08-21  |  1.9 KB  |  84 lines

  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 (also known as GNU/Hurd)
  15. title  GNU (also known as GNU/Hurd)
  16. root   (hd0,0)
  17. kernel /boot/gnumach.gz root=device:hd0s1
  18. module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
  19. module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)
  20.  
  21. # For booting GNU/Linux
  22. title  GNU/Linux
  23. root (hd1,0)
  24. kernel /vmlinuz root=/dev/hdb1
  25. #initrd /initrd.img
  26.  
  27. # For booting GNU/kFreeBSD
  28. title  GNU/kFreeBSD
  29. root   (hd0,2,a)
  30. kernel /boot/loader.gz
  31.  
  32. # For booting GNU/kNetBSD
  33. title  GNU/kNetBSD
  34. root   (hd0,2,a)
  35. kernel --type=netbsd /boot/knetbsd.gz
  36.  
  37. # For booting Mach (getting kernel from floppy)
  38. title  Utah Mach4 multiboot
  39. root   (hd0,2)
  40. pause  Insert the diskette now!!
  41. kernel (fd0)/boot/kernel root=hd0s3
  42. module (fd0)/boot/bootstrap
  43.  
  44. # For booting FreeBSD
  45. title  FreeBSD
  46. root   (hd0,2,a)
  47. kernel /boot/loader
  48.  
  49. # For booting NetBSD
  50. title  NetBSD
  51. root   (hd0,2,a)
  52. kernel --type=netbsd /netbsd
  53.  
  54. # For booting OpenBSD
  55. title  OpenBSD
  56. root   (hd0,2,a)
  57. kernel --type=netbsd /bsd
  58.  
  59. # For booting OS/2
  60. title OS/2
  61. root  (hd0,1)
  62. makeactive
  63. # chainload OS/2 bootloader from the first sector
  64. chainloader +1
  65. # This is similar to "chainload", but loads a specific file
  66. #chainloader /boot/chain.os2
  67.  
  68. # For booting Windows NT or Windows95
  69. title Windows NT / Windows 95 boot menu
  70. rootnoverify (hd0,0)
  71. makeactive
  72. chainloader  +1
  73. # For loading DOS if Windows NT is installed
  74. # chainload /bootsect.dos
  75.  
  76. # For installing GRUB into the hard disk
  77. title Install GRUB into the hard disk
  78. root    (hd0,0)
  79. setup   (hd0)
  80.  
  81. # Change the colors.
  82. title Change the colors
  83. color light-green/brown blink-red/blue
  84.