Nice!
Hi @Travis ,
I have a large efi partition so I added a third kernel/initramfs combo and related config for 6.6.10-76060610-generic
that has been preserved through a few kernel updates. I don’t know if it is truly stable or remotely close to best practice but it is working. Do something similar for yourself if it looks useful to you.
It looks like my active efi directory is /boot/efi/EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/
so I copied
/boot/initrd.img-6.6.10-76060610-generic
to
/boot/efi/EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/initrd.img-good
and copied
/boot/vmlinuz-6.6.10-76060610-generic
to
/boot/efi/EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/vmlinuz-good.efi
and added it to the efi boot menu.
I created file /boot/efi/loader/entries/Pop_OS-good.conf
with contents:
title Pop!_OS-custom
linux /EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/vmlinuz-good.efi
initrd /EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/initrd.img-good
options root=UUID=dbe3a739-4a96-4023-940a-8844b7b35aec ro quiet loglevel=0 systemd.show_status=false splash rootflags=subvol=@
You probably have different options for your boot but can see what is appropriate in the “standard” entry conf files.
Lastly I set my custom efi boot entry for kernel 6.6.10 to be default and set a 3 second timeout so I can easily choose one manually.
Contents of /boot/efi/loader/loader.conf
default Pop_OS-good
#default Pop_OS-current
timeout 3
I found that I can see what the kernel versions of Pop_Os maintained current and previous files with the file
command and match them up to the files in /boot/
sudo file /boot/efi/EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/vmlinuz.efi
/boot/efi/EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/vmlinuz.efi: Linux kernel x86 boot executable bzImage, version 6.9.3-76060903-generic (jenkins@warp.pop-os.org) #202405300957~1718348209~22.04~7817b67 SMP PREEMPT_DYNAMIC Mon J, RO-rootFS, swap_dev 0XE, Normal VGA
sudo file /boot/efi/EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/vmlinuz-previous.efi
/boot/efi/EFI/Pop_OS-dbe3a739-4a96-4023-940a-8844b7b35aec/vmlinuz-previous.efi: Linux kernel x86 boot executable bzImage, version 6.8.0-76060800daily20240311-generic (jenkins@warp.pop-os.org) #202403110203~1715181801~22.04~aba43ee SMP PREEMPT_DYNAMIC Wed M, RO-rootFS, swap_dev 0XE, Normal VGA
In hindsight, I kinda wish I left 6.6.10-generic
in the loader menu name. Easy enough to change though.
Let me know if you find something missing or a confusing typo etc.
EDIT: …or let me know if you have an idea to improve my setup.