From 35c8bc631cfa90a790e966513fd66c895de2ce9a Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Fri, 21 Oct 2022 21:30:08 +0200 Subject: [PATCH] Add fallback entry for grub (nomodset) Signed-off-by: Peter Jung --- archiso/grub/grub.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/archiso/grub/grub.cfg b/archiso/grub/grub.cfg index 02497ca..7ed8bce 100644 --- a/archiso/grub/grub.cfg +++ b/archiso/grub/grub.cfg @@ -44,6 +44,13 @@ menuentry "CachyOS (x86_64, UEFI) NVIDIA (latest cards only)" --class arch --cla initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img } +menuentry "CachyOS (x86_64, UEFI) fallback (nomodeset)" --class arch --class gnu-linux --class gnu --class os --id 'cachyos-fallback' { + set gfxpayload=keep + search --no-floppy --set=root --label %ARCHISO_LABEL% + linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm nomodeset nvme_load=yes + initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img +} + if [ "${grub_platform}" == "efi" ]; then if [ "${grub_cpu}" == "x86_64" ]; then menuentry "UEFI Shell" {