From 720d5139702b560423d82579a9ab17a09ced0541 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 20 Nov 2022 17:16:23 +0530 Subject: [PATCH] chroot-setup: add an arch-fallback entry in boot menu and add verbosity during boot --- scripts/chroot-setup.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/chroot-setup.sh b/scripts/chroot-setup.sh index 379515e..d0da98f 100644 --- a/scripts/chroot-setup.sh +++ b/scripts/chroot-setup.sh @@ -102,7 +102,16 @@ title Arch Linux btw linux /vmlinuz-linux initrd /$1-ucode.img initrd /initramfs-linux.img -options root=UUID=$(blkid $2 -s UUID -o value) rw systemd.show_status=false mem_sleep_default=deep splash +options root=UUID=$(blkid $2 -s UUID -o value) rw mem_sleep_default=deep ignore_loglevel +EOF + +# option "ignore_loglevel" displays all kernel messages, very useful in fallback +cat < "$ESP_PATH"/loader/entries/arch-fallback.conf +title did you break it? (fallback initramfs) +linux /vmlinuz-linux +initrd /$1-ucode.img +initrd /initramfs-linux-fallback.img +options root=UUID=$(blkid $2 -s UUID -o value) rw ignore_loglevel EOF # enable services