# Default values of swapped disks and devices to boot
swapped_hd=2nd hard disk
swapped_hd_value=(hd1)
boot_dev=(fd0)
# grub_title is the variable for showing the grub title (in place of
free
mem and grub version)
grub_title=Swap 1st hard disk with $swapped_hd and boot $boot_dev
title Select Swapped hard disk
option 2nd hard disk
swapped_hd=2nd hard disk
swapped_hd_value=(hd1)
option 3rd hard disk
swapped_hd=3rd hard disk
swapped_hd_value=(hd2)
option 4th hard disk
swapped_hd_value=(hd3)
swapped_hd=4th hard disk
title Select device to boot
option 1st partition 2nd hard disk
boot_dev=(hd1,0)
option floppy
boot_dev=(fd0)
option cdrom
boot_dev=(cd)
title Go!
map (hd0) $swap_hd_value
map $swap_hd_value (hd0)
rootnoverify $boot_dev
boot