From: Paul Hänsch Date: Tue, 15 Sep 2020 08:17:01 +0000 (+0200) Subject: initialize gfx in grub X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=83d24565b48eff661a240ec4a87bdddedc9004bc;p=blast initialize gfx in grub --- diff --git a/Makefile b/Makefile index 60b6d47..1028267 100644 --- a/Makefile +++ b/Makefile @@ -380,10 +380,12 @@ _bootloader_pc: ${CFGROOT} _grub_efi32 _grub_efi64 _syslinux_bios #_syslinux_efi _bootloader_iso: ${CFGROOT} ${ISOROOT} mkdir -p "$${ISOROOT}/boot/grub/" cp -L "$${CFGROOT}/vmlinuz" "$${CFGROOT}/initrd.img" "$${ISOROOT}" + printf '%s\n' "insmod all_video" "set gfxmode=auto" "load_video" "insmod gfxterm" \ + >"$${ISOROOT}/boot/grub/grub.cfg" printf '%s\n' "set timeout=10" "default=buster" \ "menuentry 'Debian Buster' --id 'buster' {" \ "linux '/vmlinuz' boot=live" "initrd '/initrd.img'" "}" \ - >"$${ISOROOT}/boot/grub/grub.cfg" + >>"$${ISOROOT}/boot/grub/grub.cfg" -[ -f "$${ISOROOT}/install/initrd.gz" -a -f "$${ISOROOT}/install/linux" ] && \ printf '%s\n' "menuentry 'Install Debian' --id 'install' {" \ "linux '/install/linux'" "initrd '/install/initrd.gz'" "}" \