#
set superusers="admin"
password admin admin
password user pass
set default=0
set timeout=3
set hd=hd0,1

menuentry "Parted Magic (pmagic-6.7.iso)" --users admin{
set isofile="/boot/iso/pmagic-6.7.iso"
loopback loop ()$isofile
linux (loop)/pmagic/bzImage iso_filename=$isofile boot=live load_ramdisk=1 keymap=fi prompt_ramdisk=0 noeject noprompt
initrd (loop)/pmagic/initramfs
}

menuentry "Parted Magic (pmagic_2012_06_07.iso)" --users admin{
set isofile="/boot/iso/pmagic_2012_06_07.iso"
loopback loop ()$isofile
linux (loop)/pmagic/bzImage iso_filename=$isofile edd=off load_ramdisk=1 prompt_ramdisk=0 rw keymap=fi loglevel=9 max_loop=256
initrd (loop)/pmagic/initrd.img
}