#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Microsoft Windows XP" {
    insmod part_msdos
    insmod ntfs
    insmod search_fs_uuid
    insmod ntldr     
    search --fs-uuid --no-floppy --set=root 5E8CF3CF8CF39FA7
    ntldr /ntldr
}

menuentry "archbang" {
    set isofile="/ISO/archbang-2012.04.30-i686.iso"
    loopback loop (hd0,5)$isofile
    linux (loop)/arch/boot/i686/vmlinuz archisobasedir=arch rchisolabel=ARCHBANG img_dev=/dev/sda5 img_loop=$isofile earlymodules=loop
    initrd (loop)/arch/boot/i686/archiso.img
}

menuentry "archbang-2012-05.iso" {
    set isofile="/ISO/archbang-2012.04.30-i686.iso"
    loopback loop (hd0,5)$isofile
    #linux (loop)/boot/grmlsmall/linux26 findiso=/boot/iso/grml-small_2009.10.iso apm=power-off lang=us vga=791 boot=live nomce noeject noprompt --
    #linux (loop)/arch/boot/i686/vmlinuz findiso=(hd0,5)$isofile apm=power-off lang=us vga=791 boot=live nomce noeject noprompt --
    #linux (loop)/arch/boot/i686/vmlinuz iso-scan/filename=$isofile quiet noeject noprompt splash --
     linux (loop)/arch/boot/i686/vmlinuz findiso=(hd0,5)$isofile apm=power-off lang=us vga=791 boot=live nomce noeject noprompt --
    initrd (loop)/arch/boot/i686/archiso.img
}
menuentry "Android 3-RC2" { 
	set isofile="/ISO/archbang-2012.04.30-i686.iso"
	linux (loop)/arch/boot/i686/vmlinuz findiso=(hd0,5)$isofile quiet root=/dev/ram0 
	initrd (loop)/arch/boot/i686/archiso.img
}

menuentry "Android 3-RC2" { 
	set isofile="/ISO/android-x86-3.2-RC2-eeepc.iso"
	insmod ext2 
	linux (loop)/kernel findiso=(hd0,5)$isofile quiet root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android-4.0-RC1
	initrd (loop)/initrd.img 
}
menuentry "Android 4-RC1" { 
	set isofile="/ISO/android-x86-4.0-RC1-eeepc.iso"
	loopback loop (hd0,5)$isofile

	insmod ext2 
	linux (loop)/kernel findiso=(hd0,5)$isofile quiet root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode
	initrd (loop)/initrd.img 
}

menuentry "Editable" { 
    set isofile="/ISO/android-x86-2.3-RC1-eeepc.iso"
    set isofile="/ISO/android-x86-3.2-RC2-eeepc.iso"
    set isofile="/ISO/android-x86-4.0-RC1-eeepc.iso"

	set isofile="/ISO/VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso"
	set isofile="/ISO/VMware-tools-linux-8.6.5-621624.iso"

	insmod ext2 
	set root='(hd0,5)'
	linux /kernel findiso=(hd0,5)$isofile quiet root=/dev/ram0 androidboot.hardware=eeepc acpi_sleep=s3_bios,s3_mode SRC=/android-4.0-RC1
	initrd /initrd.img 
}



menuentry "ubuntu-12.04" {
    set isofile="/ISO/ubuntu-12.04-desktop-i386.iso"
    loopback loop (hd0,5)$isofile
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet noeject noprompt splash --
    initrd (loop)/casper/initrd.lz
}

menuentry "Grml small 2009.10" {
  set isofile="/ISO/grml32_2011.12.iso"
  loopback loop (hd0,5)$isofile
  #loopback loop /boot/iso/grml-small_2009.10.iso
  linux (loop)/boot/grml32/vmlinuz findiso=(hd0,5)$isofile apm=power-off lang=us vga=791 boot=live nomce noeject noprompt --
  initrd (loop)/boot/grml32/initrd.img
}

