CHROOT AND INSTALL GRUB2 1) mkdir /mnt/sda1 2) mount /dev/sda1 /mnt/sda1 < i.e. mount the install partition 3) mount -t proc proc /mnt/sda1/proc 4) mount -o bind /sys /mnt/sda1/sys 5) mount --bind /dev /mnt/sda1/dev 6) chroot /mnt/sda1 /bin/bash < i.e. "chroot" to the install partition 7) grub2-install /dev/sda 8) grub2-mkconfig -o /boot/grub2/grub.cfg Regenerate a new initramfs for a running kernel Command: dracut -f initramfs-$(uname -r).img $(uname -r) Building an initramfs for a specific kernel version - see https://linuxconfig.org/how-to-build-an-initramfs-using-dracut-on-linux The easiest way to build an initramfs for a specific kernel version is to invoke dracut with the --kver option, and provide the kernel version the initramfs should be built for as argument as this example: $ sudo dracut --kver 6.5.3-1.el9.elrepo.x86_64 Then check /boot/loader/entries/7f995a0fe43f460eb2bd9ed103630601-6.5.3-1.el9.elrepo.x86_64.conf for the correct UUID for the install partition and SWAP Change if necessary.