timeout 30
color black/cyan yellow/cyan
gfxmenu /grub/pcsavior
default 0
root (pd)

title harddisk
 rootnoverify (hd0)
 chainloader  +1

title pcsavior
 pxe keep                         
 pxe basedir /pcsavior-tw
 kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior-tw locale=zh_TW showmounts nameserver=168.95.192.1 acpi_osi="Linux" splash quiet --
#kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior-tw showmounts nameserver=168.95.192.1 vga=788 splash quiet -- debian-installer/language=th console-setup/layoutcode?=ge
 #kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.2.254:/home/jls/tftpboot/casper-tw showmounts splash quiet --
 initrd /pcsavior/initrd.gz

title pcsavior-install
 pxe keep
 pxe basedir /pcsavior-tw
 kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper only-ubiquity netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior-tw locale=zh_TW showmounts nameserver=168.95.192.1 splash quiet --
 #kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior showmounts-tw nameserver=168.95.192.1 vga=788 splash quiet -- debian-installer/language=th console-setup/layoutcode?=ge
 #kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.2.254:/home/jls/tftpboot/casper showmounts splash quiet --
 initrd /pcsavior/initrd.gz

title free-dos
  pxe basedir /DOS
#  map --mem /DiskBoot.img (fd0)
  map --mem /balder10.img (fd0)
  map --hook
  chainloader (fd0)+1
  rootnoverify (fd0)
  #kernel /grub/grub.exe --config-file="map (rd) (fd0); map --hook; chainloader (fd0)+1; rootnoverify (fd0)"
  #initrd /DOS/DiskBoot.img
  boot

#title PCSavior (English)
# pxe keep
# pxe basedir /pcsavior-en
# kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior-en locale=en showmounts nameserver=168.95.192.1 splash quiet --
# initrd /pcsavior/initrd.gz
## kernel /netboss/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior-en locale=en showmounts nameserver=168.95.192.1 splash quiet --
## initrd /netboss/initrd.gz

#title TEST
# pxe keep
# pxe basedir /pcsavior-cn
# kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior-cn locale=zh_CN showmounts nameserver=168.95.192.1 splash quiet --
##kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.1:/home/jls/tftpboot/pcsavior-cn showmounts nameserver=168.95.192.1 vga=788 splash quiet -- debian-installer/language=th console-setup/layoutcode?=ge
##kernel /pcsavior/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.2.254:/home/jls/tftpboot/casper-cn showmounts splash quiet --
# initrd /pcsavior/initrd.gz

#title clear-hd
# pxe basedir /DOS
# map --mem /cleanhd.img (fd0)
# map --hook
# chainloader (fd0)+1
# rootnoverify (fd0)
# # kernel /grub/grub.exe --config-file="map (rd) (fd0); map --hook; chainloader (fd0)+1; rootnoverify (fd0)"
# # initrd /DOS/cleanhd.img
# boot

#title windows
#pxe basedir /iso
#kernel (pd)/grub.exe --config-file="find --set-root --ignore-floppies --ignore-cd (pd)/xpe.iso;map --mem (pd)/xpe.iso (hd32);map --hook;chainloader (hd32);boot"
#find --set-root --ignore-floppies --ignore-cd /xpe.iso
#map (pd)/xpe.iso (hd32) || map --mem (pd)/xpe.iso (hd32)
#map --hook
#chainloader (hd32)
#savedefault --wait=2

#map --mem /xpe.iso (hd32)
#map --hook
#chainloader (hd32)
#boot

#title ubuntu-10.10-desktop-i386.iso 
#pxe basedir /iso
#map /ubuntu-10.10-desktop-i386.iso (rd)
##root (hd0,0)
#kernel (rd)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.10-desktop-i386.iso
#initrd (rd)/casper/initrd.lz
#boot

