Home > Linux, grub > Grub Multiboot

Grub Multiboot


 Powered by Max Banner Ads 
Example file menu.lst
# Example config file for GRUB
# The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# general configuration:
timeout  10
default   0
fallback  1
fallback  9
color     blue/cyan  yellow/magenta
# boot sections follow
# each is implicitly numbered from 0
# in the order of appearance below
# (0) Mandrake (default boot)
title  Mandrake  [/vmlinuz]
root   (hd0,2)
kernel /vmlinuz root=/dev/sda3 ro
# (1) Mandrake - runlevel 1
title  Mandrake  [/vmlinuz single]
root   (hd0,2)
kernel /vmlinuz single root=/dev/sda3 ro
# (2) Mandrake-old
title  Mandrake  [/vmlinuz.old]
root   (hd0,2)
kernel /vmlinuz.old root=/dev/sda3 ro
# (3) Debian-kernel testing
title  Debian  [/vmlinuz.test]
root   (hd0,2)
kernel /vmlinuz.test root=/dev/sda3 ro
# (4) Slackware
title  Slackware
root   (hd0,1)
kernel /vmlinuz root=/dev/sdb2 ro vga=791 mem=256M
# (5) FreeBSD:
title  FreeBSD
root   (hd1,0,a)
kernel /boot/loader
# (6) OpenBSD:
title  OpenBSD
# You would like to use:
## root  (hd1,1,a)
## kernel --type=openbsd /bsd
# But OpenBSD passes bios & kernel parameters
# with its own bootloader, the first stage of
# which is installed in the partition boot
# record, and in turn calls /boot, which in
# turn loads kernel /bsd. So just use the GRUB
# chainloader instead:
root (hd1,1)
makeactive
chainloader +1
# (7) BeOS:
title  BeOS
rootnoverify  (hd1,2)
makeactive
chainloader +1
# (8) Win_dose
title Win98
root  (hd0,0)
makeactive
chainloader +1
# (9) MS-DOS
title msdos
root  (hd0,0)
makeactive
chainloader +1
# end file menu.lst

Fabio Laganà Linux, grub ,

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.