fix bootloaer args v90, update lb config

This commit is contained in:
Jon Sands 2021-11-23 06:56:06 -05:00
parent 5918fd72d7
commit 34ef9ce8e6
3 changed files with 2 additions and 55 deletions

View File

@ -8,6 +8,8 @@ lb config noauto \
--debian-installer none \
--archive-areas "main contrib non-free" \
--apt-indices false \
--bootappend-live "iomem=relaxed" \
--bootappend-live-failsafe "iomem=relaxed" \
--binary-image iso-hybrid \
--memtest none \
"${@}"

View File

@ -1,43 +0,0 @@
source /boot/grub/config.cfg
# Live boot
menuentry "Live system" --hotkey=l {
linux /live/vmlinuz-5.10.0-9-amd64 boot=live components quiet splash iomem=relaxed findiso=${iso_path}
initrd /live/initrd.img-5.10.0-9-amd64
}
menuentry "Live system (fail-safe mode)" {
linux /live/vmlinuz-5.10.0-9-amd64 boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788 iomem=relaxed
initrd /live/initrd.img-5.10.0-9-amd64
}
# Installer (if any)
if @ENABLE_INSTALL_MENU@; then
source /boot/grub/install_start.cfg
submenu 'Advanced install options ...' --hotkey=a {
source /boot/grub/theme.cfg
source /boot/grub/install.cfg
}
fi
submenu 'Utilities...' --hotkey=u {
source /boot/grub/theme.cfg
# Memtest (if any)
if [ "${grub_platform}" = "pc" ] -a @ENABLE_MEMTEST@; then
source /boot/grub/memtest.cfg
fi
# Firmware setup (UEFI)
if [ "${grub_platform}" = "efi" ]; then
menuentry "UEFI Firmware Settings" {
fwsetup
}
fi
}

View File

@ -1,12 +0,0 @@
label live-amd64
menu label ^Live (amd64)
menu default
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components quiet splash iomem=relaxed
label live-amd64-failsafe
menu label Live (amd64 failsafe)
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=788 iomem=relaxed