#--------------------begin menu.lst---------------------------------------
color black/cyan yellow/cyan
timeout 30
default /default

title find and load NTLDR of Windows NT/2K/XP
    find --set-root /ntldr
    chainloader /ntldr
    savedefault --wait=2

title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
    fallback 2
    find --set-root /cmldr
    chainloader /cmldr
    #####################################################################
    # write string "cmdcons" to memory 0000:7C03 in 2 steps:
    #####################################################################
    # step 1. Write 4 chars "cmdc" at 0000:7C03
    write 0x7C03 0x63646D63
    # step 2. Write 3 chars "ons" and an ending null at 0000:7C07
    write 0x7C07 0x00736E6F
    savedefault --wait=2

title find and load IO.SYS of Windows 9x/Me
    find --set-root /io.sys
    chainloader /io.sys
    savedefault --wait=2

title floppy (fd0)
    chainloader (fd0)+1
    rootnoverify (fd0)
    savedefault --wait=2

title find and boot Linux with menu.lst already installed
    find --set-root /sbin/init
    savedefault --wait=2
    configfile /boot/grub/menu.lst

title find and boot Mandriva with menu.lst already installed
    find --set-root /etc/mandriva-release
    savedefault --wait=2
    configfile /boot/grub/menu.lst

title back to dos
    savedefault --wait=2
    quit

title commandline
    savedefault --wait=2
    commandline

title reboot
    savedefault --wait=2
    reboot

title halt
    savedefault --wait=2
    halt
#--------------------end menu.lst---------------------------------------


