You are not logged in.
Hello,
I want to install two Arch Linux distributions on the same machine in order to analyze a problem. They will not be updated in lockstep.
EFI partition is mounted on /boot.
The linux image vmlinuz-linux and initramfs-linux.img will be overwritten on the update on one of the linuxes.
How can I use distinct names for the kernel and the initrd image for the both of Archs, and use them for the gummiboot entries?
Thank you.
Offline
Initrd images are easy. Just edit your preset files (/etc/mkinitcpio.d/*.preset) and mkinitcpio will take care of everything for you. I don't think there's an easy pre-existing way to automatically rename the kernel. I have two installs on my machine, but they're pretty much updated 'in lockstep' and a script handles kernel naming. Can't help you with EFI, my systems are BIOS.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
You can't do this with gummiboot but you could use a separate /boot for each installation. rEFInd, for example, can use kernels and initramfses from other partitions so they don't need to be on the ESP.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Containers (like BSD jails) are a possibility as well.
Offline