You are not logged in.
Hello,
since I often read that the cashy kernel is supposed to be very good for gaming, I wanted to test it and add it to my boot selection, but I don't quite understand how, because the other entries are not in the loader.conf. I think the list automatically selects which .efi files are in the path /boot/EFI/Linux/, but I'm probably overlooking how to create them.
I am currently using UEFI, Unified kernel image and SecureBoot with sbctl
cat /boot/loader/loader.conf
timeout 3
#console-mode keepbootctl list
type: Boot Loader Specification Type #2 (.efi)
title: Arch Linux (6.10.10-arch1-1) (default) (selected)
id: arch-linux.efi
source: /boot//EFI/Linux/arch-linux.efi
sort-key: arch
version: 6.10.10-arch1-1
linux: /boot//EFI/Linux/arch-linux.efi
options: cryptdevice=PARTUUID=d59df4a1-78a6-4923-8b5e-526780e1f01d:root root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ r
w rootfstype=btrfs
type: Boot Loader Specification Type #2 (.efi)
title: Arch Linux (6.10.10-arch1-1~fallback)
id: arch-linux-fallback.efi
source: /boot//EFI/Linux/arch-linux-fallback.efi
sort-key: arch
version: 6.10.10-arch1-1~fallback
linux: /boot//EFI/Linux/arch-linux-fallback.efi
options: cryptdevice=PARTUUID=d59df4a1-78a6-4923-8b5e-526780e1f01d:root root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ r
w rootfstype=btrfs
type: Automatic
title: Reboot Into Firmware Interface
id: auto-reboot-to-firmware-setup
source: /sys/firmware/efi/efivars/LoaderEntries-4a67b082-0a4c-41cf-b6c7-440b29bb8c4fls /boot/EFI/Linux/
arch-linux.efi arch-linux-fallback.efils /boot/
amd-ucode.img initramfs-linux-cachyos.img vmlinuz-linux
EFI/ initramfs-linux-cashy.img vmlinuz-linux-cachyosLast edited by Tealk (2024-09-20 12:08:17)
Offline
Did you forget to configure the cachyos .preset configuration for UKI? https://wiki.archlinux.org/title/Unifie … reset_file
Offline
I would have actually created an entry:
cat /etc/mkinitcpio.d/linux.preset
# mkinitcpio preset file for the 'linux' package
#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux"
PRESETS=('default' 'fallback' 'cashy')
#default_config="/etc/mkinitcpio.conf"
#default_image="/boot/initramfs-linux.img"
default_uki="/boot/EFI/Linux/arch-linux.efi"
default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"
#fallback_config="/etc/mkinitcpio.conf"
#fallback_image="/boot/initramfs-linux-fallback.img"
fallback_uki="/boot/EFI/Linux/arch-linux-fallback.efi"
fallback_options="-S autodetect"
#cashy_config="/etc/mkinitcpio.conf"
#cashy_image="/boot/initramfs-linux-cashy.img"
cashy_uki="/boot/EFI/Linux/cashy-linux.efi"
cashy_options="-S autodetect"Offline
'linux.preset' is only for the 'linux' package, there is a separate preset for each kernel.
Offline
I hadn't even thought of that, thank you.
cat /etc/mkinitcpio.d/linux-cachyos.preset
# mkinitcpio preset file for the 'linux-cachyos' package
#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-cachyos"
PRESETS=('default' 'fallback')
#default_config="/etc/mkinitcpio.conf"
#default_image="/boot/initramfs-linux-cachyos.img"
default_uki="/boot/EFI/Linux/arch-linux-cachyos.efi"
default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"
#fallback_config="/etc/mkinitcpio.conf"
#fallback_image="/boot/initramfs-linux-cachyos-fallback.img"
fallback_uki="/boot/EFI/Linux/arch-linux-cachyos-fallback.efi"
fallback_options="-S autodetect"Last edited by Tealk (2024-09-20 12:06:45)
Offline
Does that answer the question and is this [SOLVED] now? If so, don't forget to mark the topic as such by editing the title in your first post
Offline
Yes I will, thanks for the help.
But I still have one question, where do I specify what the default is that should be loaded if no input is made?
Offline
Press d while in the boot menu on the entry you want to be the default, or https://wiki.archlinux.org/title/System … figuration
Last edited by V1del (2024-09-20 12:22:26)
Offline