Commit 833e6eac authored by Jonathan Carter's avatar Jonathan Carter
Browse files

Update grub files

parent f4d56bf2
# Disable root user by default and add user to sudo instead
d-i passwd/root-login boolean false
# No need to ask the user which mirror to use when we
# can just use deb.debian.org
d-i mirror/country string manual
d-i mirror/http/hostname string deb.debian.org
d-i mirror/http/directory string /debian/
d-i apt-setup/use_mirror boolean true
d-i apt-setup/mirror/error select Change mirror
# Post-install configuration
d-i preseed/late_command string in-target /usr/sbin/sources-final
# Don't ask domain
d-i netcfg/get_domain string unassigned-domain
# Don't ask for non-free firmware, we already have it on the iso
d-i hw-detect/load_firmware boolean false
insmod gfxterm
insmod iso9660
insmod png
set theme=($root)/boot/grub/themes/aims-desktop/theme.txt
export theme
set gfxmode=1920x1080x32,1440x900x32,1024x768x32,800x600x32,auto
set timeout_style=menu
set timeout=30
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if [ x"${grub_platform}" = xpc ] ; then
# BIOS
echo "We're booting AIMS Desktop on a PC platform!"
insmod vbe
insmod vga
insmod video_bochs
insmod video_fb
PLATFORM="Legacy PC Mode"
terminal_output gfxterm
else
# EFI
echo "We're booting AIMS Desktop on an EFI platform!"
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"
terminal_output gfxterm
fi
# Menu Entries
menuentry "AIMS Desktop Live/Install ($PLATFORM)" {
set gfxpayload=keep
echo "Booting AIMS Desktop live environment..."
linux /live/vmlinuz.efi boot=live quiet splash --
initrd /live/initrd.lz
}
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
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment