Running Ubuntu 22.04 LTS and I accidentally deleted initrd.img of ONE kernel and vmlinuz of the OTHER kernel. I can not boot the OS up, not even in recovery mode. How do I restore either initrd.img or vmlinuz of either kernels so I can boot up? I have a USB with a working Ubuntu live OS, it boots up fine. The harddrive is encrypted with LUKS too btw. All help greatly appreciated, I need to recover it ASAP for work. Thank you all.
Asked
Active
Viewed 268 times
https://sourceforge.net/p/boot-repair/home/Home/ & https://askubuntu.com/questions/63594/mount-encrypted-volumes-from-command-line chroot: https://askubuntu.com/questions/719409/how-to-reinstall-grub-from-a-liveusb-if-the-partition-is-encrypted-and-there-i- – oldfred Jun 05 '22 at 16:58