From 84fa339881bebc6d76144620e4ebdebe8e708888 Mon Sep 17 00:00:00 2001 From: adi1090x Date: Wed, 30 Mar 2022 17:38:12 +0530 Subject: [PATCH] Updated systemd-boot configs to boot Archcraft on UEFI --- ...-x86_64-linux.conf => 01-archcraftiso-x86_64-linux.conf} | 4 ++-- ...ech-linux.conf => 02-archcraftiso-x86_64-ram-linux.conf} | 4 ++-- .../loader/entries/03-archcraftiso-x86_64-nvidia-linux.conf | 6 ++++++ efiboot/loader/entries/03-archiso-x86_64-ram-linux.conf | 6 ------ efiboot/loader/loader.conf | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) rename efiboot/loader/entries/{01-archiso-x86_64-linux.conf => 01-archcraftiso-x86_64-linux.conf} (58%) rename efiboot/loader/entries/{02-archiso-x86_64-speech-linux.conf => 02-archcraftiso-x86_64-ram-linux.conf} (55%) create mode 100644 efiboot/loader/entries/03-archcraftiso-x86_64-nvidia-linux.conf delete mode 100644 efiboot/loader/entries/03-archiso-x86_64-ram-linux.conf diff --git a/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/efiboot/loader/entries/01-archcraftiso-x86_64-linux.conf similarity index 58% rename from efiboot/loader/entries/01-archiso-x86_64-linux.conf rename to efiboot/loader/entries/01-archcraftiso-x86_64-linux.conf index d59262f1..a10276bb 100644 --- a/efiboot/loader/entries/01-archiso-x86_64-linux.conf +++ b/efiboot/loader/entries/01-archcraftiso-x86_64-linux.conf @@ -1,6 +1,6 @@ -title Arch Linux install medium (x86_64, UEFI) +title Boot Archcraft (64bit, UEFI) linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img -options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% +options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=5G diff --git a/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf b/efiboot/loader/entries/02-archcraftiso-x86_64-ram-linux.conf similarity index 55% rename from efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf rename to efiboot/loader/entries/02-archcraftiso-x86_64-ram-linux.conf index 06f5466e..44248e81 100644 --- a/efiboot/loader/entries/02-archiso-x86_64-speech-linux.conf +++ b/efiboot/loader/entries/02-archcraftiso-x86_64-ram-linux.conf @@ -1,6 +1,6 @@ -title Arch Linux install medium (x86_64, UEFI) with speech +title Boot Archcraft (64bit, UEFI, Copy to RAM) linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img -options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% accessibility=on +options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=1G diff --git a/efiboot/loader/entries/03-archcraftiso-x86_64-nvidia-linux.conf b/efiboot/loader/entries/03-archcraftiso-x86_64-nvidia-linux.conf new file mode 100644 index 00000000..25a31c5c --- /dev/null +++ b/efiboot/loader/entries/03-archcraftiso-x86_64-nvidia-linux.conf @@ -0,0 +1,6 @@ +title Boot Archcraft (64bit, UEFI, NVIDIA) +linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux +initrd /%INSTALL_DIR%/boot/intel-ucode.img +initrd /%INSTALL_DIR%/boot/amd-ucode.img +initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img +options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% quiet splash vt.global_cursor_default=0 loglevel=2 rd.systemd.show_status=false rd.udev.log-priority=3 sysrq_always_enabled=1 cow_spacesize=5G nouveau.modeset=0 modprobe.blacklist=nouveau nvidia i915.modeset=1 radeon.modeset=1 diff --git a/efiboot/loader/entries/03-archiso-x86_64-ram-linux.conf b/efiboot/loader/entries/03-archiso-x86_64-ram-linux.conf deleted file mode 100644 index 9c7a51ab..00000000 --- a/efiboot/loader/entries/03-archiso-x86_64-ram-linux.conf +++ /dev/null @@ -1,6 +0,0 @@ -title Arch Linux install medium (x86_64, UEFI, Copy to RAM) -linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux -initrd /%INSTALL_DIR%/boot/intel-ucode.img -initrd /%INSTALL_DIR%/boot/amd-ucode.img -initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img -options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram diff --git a/efiboot/loader/loader.conf b/efiboot/loader/loader.conf index ae634870..aa5d1b6e 100644 --- a/efiboot/loader/loader.conf +++ b/efiboot/loader/loader.conf @@ -1,2 +1,2 @@ -timeout 15 -default 01-archiso-x86_64-linux.conf +timeout 5 +default 01-archcraftiso-x86_64-linux.conf