Last modified: 2023-03-29

GRUB ISO

I always wanted to add Arch Linux ISO into boot options in GRUB, mostly because it is just convinient to have always at hand rescue ISO in case something goes wrong. While I do usually carry multiboot USB flash disk with me as keychain, it would be cooler to have such option right in the GRUB.

I know of grub-imageboot, but that project is quite a mess and not really maintained anymore - not only the AUR package, but also the project itself. I thought about taking it over / fixing it / forking it, but maybe later.

Anyway, I just wanted to put Arch Linux ISO into the /boot partition and have it in GRUB. Since ISO is fine. Not gonna lie, to get it working was pain, and it is still sub-optimal.

However all of these such because they require you to hard-code values like /boot's UUID and ISO filename. Not to mention that they are distribution dependent (since each distro puts vmlinuz into different location).