Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: bf00910bf2
Fetching contributors…

Cannot retrieve contributors at this time

85 lines (77 sloc) 2.66 kB
set timeout=-1
set pager=1 # Don't scroll output blindly off the screen
echo "SprezzOS boot prefix: $prefix"
insmod png
insmod zfs
insmod font
insmod gettext
play 480 440 1
loadfont /boot/unicode.pf2
insmod video_fb
insmod video_bochs
insmod video_cirrus
insmod gfxterm
terminal_output gfxterm
background_image /boot/splash.png
set gfxmode=1024x768
# FIXME
#set theme=($root)/boot/FAIL-sprezzos.theme"
set menuviewer="gfxmenu"
# Color documentation: http://www.gnu.org/software/grub/manual/legacy/color.html
if [ -e $prefix/efiemu.mod ] ; then
# BIOS boot
insmod vbe
insmod vga
set color_normal=white/black
set color_highlighted=light-cyan/black
menuentry "Install SprezzOS™ 0.0.0-rc0 from disc (standard)" --class sprezzos {
loopback loop /debian-unstable-amd64-CD-1.iso
set root=(loop)
linux /install.amd/vmlinuz video=vesa:ywrap,mtrr theme=dark vga=791
initrd /install.amd/initrd.gz
}
menuentry "Install SprezzOS™ 0.0.0-rc0 from USB (standard)" --class sprezzos {
linux /vmlinuz video=vesa:ywrap,mtrr theme=dark vga=791
initrd /initrd.gz
}
menuentry "Install SprezzOS™ 0.0.0-rc0 from disc (expert)" --class sprezzos {
loopback loop /debian-unstable-amd64-CD-1.iso
set root=(loop)
linux /install.amd/vmlinuz video=vesa:ywrap,mtrr theme=dark priority=low vga=791
initrd /install.amd/initrd.gz
}
menuentry "Install SprezzOS™ 0.0.0-rc0 from USB (expert)" --class sprezzos {
linux /vmlinuz video=vesa:ywrap,mtrr theme=dark priority=low vga=791
initrd /initrd.gz
}
menuentry "Memtest86+ 4.20" --class memtest {
linux16 /memtest86+.bin
}
elif [ -e $prefix/efi_gop.mod ] ; then
# EFI boot
insmod efi_gop
set color_normal=white/black
set color_highlighted=light-cyan/black
menuentry "Install SprezzOS™ 0.0.0-rc0 from UEFI disc (standard)" --class sprezzos {
loopback loop /debian-unstable-amd64-CD-1.iso
set root=(loop)
linux /install.amd/vmlinuz.efi video=vesa:ywrap,mtrr theme=dark
initrd /install.amd/initrd.gz
}
menuentry "Install SprezzOS™ 0.0.0-rc0 from UEFI USB (standard)" --class sprezzos {
linux /vmlinuz.efi video=vesa:ywrap,mtrr theme=dark
initrd /initrd.gz
}
menuentry "Install SprezzOS™ 0.0.0-rc0 from UEFI disc (expert)" --class sprezzos {
loopback loop /debian-unstable-amd64-CD-1.iso
set root=(loop)
linux /install.amd/vmlinuz.efi video=vesa:ywrap,mtrr theme=dark priority=low
initrd /install.amd/initrd.gz
}
menuentry "Install SprezzOS™ 0.0.0-rc0 from UEFI USB (expert)" --class sprezzos {
linux /vmlinuz.efi video=vesa:ywrap,mtrr theme=dark priority=low
initrd /initrd.gz
}
else
echo "This doesn't appear to be either a BIOS or UEFI machine."
fi
Jump to Line
Something went wrong with that request. Please try again.