Skip to content

Commit

Permalink
add nomodeset entry, universal timeout for all bootloaders is 60
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Mar 30, 2024
1 parent 6df8534 commit 0acdda3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions templates/grub.cfg.tera
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ menuentry '{{ distro }} (Check Image)' --class gnu-linux --class gnu --class os
linux /boot/{{ vmlinuz }} root=live:CDLABEL={{ volid }} rd.live.image rd.live.check enforcing=0 {{ cmd }}
initrd /boot/{{ initramfs }}
}

menuentry '{{ distro }} (nomodeset)' --class gnu-linux --class gnu --class os {
linux /boot/{{ vmlinuz }} root=live:CDLABEL={{ volid }} rd.live.image enforcing=0 nomodeset {{ cmd }}
initrd /boot/{{ initramfs }}
}
14 changes: 13 additions & 1 deletion templates/limine.cfg.tera
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
{{ LIMINE_PREPEND_COMMENT }}

TIMEOUT=5
TIMEOUT=60


:{{ distro }}
PROTOCOL=linux
KERNEL_PATH=boot:///boot/{{ vmlinuz }}
MODULE_PATH=boot:///boot/{{ initramfs }}
CMDLINE=root=live:LABEL={{ volid }} rd.live.image enforcing=0 {{ cmd }}

:{{ distro }} (Check Image)
PROTOCOL=linux
KERNEL_PATH=boot:///boot/{{ vmlinuz }}
MODULE_PATH=boot:///boot/{{ initramfs }}
CMDLINE=root=live:LABEL={{ volid }} rd.live.image rd.live.check enforcing=0 {{ cmd }}

:{{ distro }} (nomodeset)
PROTOCOL=linux
KERNEL_PATH=boot:///boot/{{ vmlinuz }}
MODULE_PATH=boot:///boot/{{ initramfs }}
CMDLINE=root=live:LABEL={{ volid }} rd.live.image enforcing=0 nomodeset {{ cmd }}

0 comments on commit 0acdda3

Please sign in to comment.