1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
insmod gfxterm
insmod iso9660
insmod png
insmod play
set theme=($root)/boot/grub/themes/debian/theme.txt
export theme
set gfxmode=1920x1080x32,1440x900x32,1280x720x32,1024x768x32,800x600x32,800x480x16,auto
set timeout_style=menu
set timeout=30
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
play 960 440 1 0 4 440 1
if [ x"${grub_platform}" = xpc ] ; then
# BIOS
insmod vbe
insmod vga
insmod video_bochs
insmod video_fb
PLATFORM="PC BIOS Mode"
terminal_output gfxterm
else
# EFI
set gfxmode=1920x1080x32,1440x900x32,1024x768x32,800x600x32,auto
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_fb
insmod gfxterm
insmod font
PLATFORM="UEFI Mode"
terminal_output gfxterm
fi
# Menu Entries
menuentry "Debian Live ($PLATFORM)" {
set gfxpayload=keep
echo "Booting Debian live environment..."
linux /live/vmlinuz boot=live quiet splash --
initrd /live/initrd.gz
}
menuentry "Debian Live with Localisation Support" {
echo "Booting Debian installer..."
linux /boot/d-i/vmlinuz boot=live quiet splash --
initrd /boot/d-i/initrd.gz
}
menuentry "Graphical Debian Installer" {
echo "Booting graphical Debian installer..."
linux /boot/d-i/gtk/vmlinuz boot=live quiet splash --
initrd /boot/d-i/gtk/initrd.gz
}
menuentry "Debian Installer with Speech Synthesis" {
echo "Coming Soon."
}
#menuentry "AIMS Desktop Advanced Installer" {
# echo "Booting Advanced Installer (debian-installer)..."
# linux /boot/d-i/vmlinuz quiet file=/cdrom/boot/d-i/aims-desktop.preseed --
# initrd /boot/d-i/initrd.gz
#}
#menuentry "Diagnostics: Check installation disk" {
# echo "Booting media checker..."
# set gfxpayload=keep
# linux /live/vmlinuz.efi boot=live quiet splash checksums --
# initrd /live/initrd.lz
#}
#menuentry "Diagnostics: Test memory" {
# linux16 /boot/memtest86+.bin
#}
menuentry "README" {
set pager=1
cat /README.txt
echo Press any key to continue...
read
}
|