You are not logged in.
Pages: 1
Hello,
In my setup I have Linux Fallback entries. But they were somehow removed from my system. Is it possible to get them back? I use systemd-boot. Here is what I get when I run bootctl list:
type: Boot Loader Specification Type #1 (.conf)
title: Arch
id: arch.conf
source: /boot//loader/entries/arch.conf (on the EFI System Partition)
linux: /boot//vmlinuz-linux
initrd: /boot//amd-ucode.img
/boot//initramfs-linux.img
options: root=PARTUUID=380fc1b9-bc84-4b33-b890-824a0345e129 rw quiet rd.udev_log=3 lsm=landlock,lockdown,yama,integrity,apparmor,bpf
type: Boot Loader Specification Type #1 (.conf)
title: Arch-LTS-Fallback
id: arch-lts-fallback.conf
source: /boot//loader/entries/arch-lts-fallback.conf (on the EFI System Partition)
linux: /boot//vmlinuz-linux-lts
initrd: /boot//amd-ucode.img
/boot//initramfs-linux-lts-fallback.img (No such file or directory)
options: root=PARTUUID=380fc1b9-bc84-4b33-b890-824a0345e129 rwNormal linux images exist but the fallback nes were removed for whatever reason. I checked my mkinitcpio preset and the fallback_image was commented. So I removed the comment, re-installed linux package but it did not help:
# mkinitcpio preset file for the 'linux' package
#ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux"
#ALL_kerneldest="/boot/vmlinuz-linux"
PRESETS=('default')
#PRESETS=('default' 'fallback')
#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux.img"
#default_uki="/efi/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="/efi/EFI/Linux/arch-linux-fallback.efi"
#fallback_options="-S autodetect"Is there any way I can get those files back?
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
PRESETS=(...) in the preset file. the fallback is commented. read the wiki about mkinitcpio.
Fallback generation was disabled by default in the template .preset file recently.
Offline
Comment PRESETS=('default') line and uncomment #PRESETS=('default' 'fallback') line. Then run 'mkinitcpio -P'. Then you may need also run some systemd setup like bootctl or systemd-boot to setup boot image (but I don't know because I don't use systemd-boot).
Offline
Pages: 1