Do not hardcode x86_64 in boot entries

Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
Peter Jung committed 2025-11-24 12:38:15 +01:00
1 parent dba79e6db8
commit 8902bdce39
4 files changed
+20 -20

No files matched your search

@@ -1,5 +1,5 @@
title CachyOS x86_64 UEFI Default title CachyOS %ARCH% UEFI Default
sort-key A sort-key A
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos-lts linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-cachyos-lts
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos-lts.img initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-cachyos-lts.img
options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=auto module_blacklist=pcspkr i915.modeset=1 amdgpu.modeset=1 nvme_load=yes options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=auto module_blacklist=pcspkr i915.modeset=1 amdgpu.modeset=1 nvme_load=yes
+3 -3
View File
@@ -1,5 +1,5 @@
title CachyOS x86_64 Legacy Hardware Fallback (nomodeset) title CachyOS %ARCH% Legacy Hardware Fallback (nomodeset)
sort-key C sort-key C
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos-lts linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-cachyos-lts
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos-lts.img initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-cachyos-lts.img
options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm nomodeset nvme_load=yes options archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm nomodeset nvme_load=yes
+9 -9
View File
@@ -3,9 +3,9 @@ TEXT HELP
Boot the CachyOS install medium using NBD. Boot the CachyOS install medium using NBD.
It allows you to install CachyOS or perform system maintenance. It allows you to install CachyOS or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL CachyOS install medium (x86_64, NBD) MENU LABEL CachyOS install medium (%ARCH%, NBD)
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos-lts LINUX ::/%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-cachyos-lts
INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos-lts.img INITRD ::/%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-cachyos-lts.img
APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y
SYSAPPEND 3 SYSAPPEND 3
@@ -14,9 +14,9 @@ TEXT HELP
Boot the CachyOS live medium using NFS. Boot the CachyOS live medium using NFS.
It allows you to install CachyOS or perform system maintenance. It allows you to install CachyOS or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL CachyOS install medium (x86_64, NFS) MENU LABEL CachyOS install medium (%ARCH%, NFS)
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos-lts LINUX ::/%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-cachyos-lts
INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos-lts.img INITRD ::/%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-cachyos-lts.img
APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt cms_verify=y APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt cms_verify=y
SYSAPPEND 3 SYSAPPEND 3
@@ -25,8 +25,8 @@ TEXT HELP
Boot the CachyOS live medium using HTTP. Boot the CachyOS live medium using HTTP.
It allows you to install CachyOS or perform system maintenance. It allows you to install CachyOS or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL CachyOS install medium (x86_64, HTTP) MENU LABEL CachyOS install medium (%ARCH%, HTTP)
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos-lts LINUX ::/%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-cachyos-lts
INITRD ::/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos-lts.img INITRD ::/%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-cachyos-lts.img
APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ cms_verify=y APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ cms_verify=y
SYSAPPEND 3 SYSAPPEND 3
+5 -5
View File
@@ -3,9 +3,9 @@ TEXT HELP
Boot the CachyOS install medium on BIOS. Boot the CachyOS install medium on BIOS.
It allows you to install CachyOS or perform system maintenance. It allows you to install CachyOS or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL CachyOS default (x86_64, BIOS) MENU LABEL CachyOS default (%ARCH%, BIOS)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos-lts LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-cachyos-lts
INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos-lts.img INITRD /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-cachyos-lts.img
APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=auto module_blacklist=pcspkr i915.modeset=1 amdgpu.modeset=1 nvme_load=yes APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=auto module_blacklist=pcspkr i915.modeset=1 amdgpu.modeset=1 nvme_load=yes
# Fallback (nomodeset) # Fallback (nomodeset)
@@ -15,6 +15,6 @@ Boot the CachyOS install medium on Bios in fallback mode
It allows you to install CachyOS or perform system maintenance. It allows you to install CachyOS or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL CachyOS Fallback (nomodeset, BIOS) MENU LABEL CachyOS Fallback (nomodeset, BIOS)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos-lts LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-cachyos-lts
INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos-lts.img INITRD /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-cachyos-lts.img
APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=auto module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nomodeset nvme_load=yes APPEND archisobasedir=%INSTALL_DIR% archisosearchuuid=%ARCHISO_UUID% cow_spacesize=10G copytoram=auto module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nomodeset nvme_load=yes