Table of Contents

pendejo MBR → cru4sys GPT

mount cru4sys

mount /dev/sdc3 /mnt/cru4

backup system

rsync --dry-run --delete --itemize-changes --exclude /etc/fstab --exclude /home --exclude /mnt --exclude /dev --exclude /proc --exclude /run --exclude /sys --archive --hard-links --acls --xattrs / /mnt/cru4/

edit /mnt/cru4/boot/loader/entries newly installed kernel , to add /boot to path before kernel (linux) and initrd and UUID=cru4sys

vi /boot/loader/entries/$(cat /etc/machine-id)-$(uname -r).conf

troubleshoot

efibootmgr
mount --bind /dev /mnt/cru4/dev
mount --bind /proc /mnt/cru4/proc
mount --bind /run /mnt/cru4/run
mount --bind /sys /mnt/cru4/sys
mount --bind /sys/firmware/efi/efivars /mnt/cru4/sys/firmware/efi/efivars/
dnf reinstall grub2-efi shim

grub

files:

grub2-mkconfig

rebuild/bootloader install

drvpath=/mnt/drv
mkdir /mnt/drv
mount /dev/sdXroot $drvpath
mount /dev/sdXboot $drvpath/boot

mount --bind /dev  $drvpath/dev
mount --bind /sys  $drvpath/sys
mount --bind /proc $drvpath/proc

chroot $drvpath
grub2-install /dev/sdX
# regenerate drivers
dracut --regenerate-all --force

exit

umount $drvpath/dev
umount $drvpath/sys
umount $drvpath

plymouth

dnf list plymouth-theme-*

get active theme

plymouth-set-default-theme

set active theme (-R or –rebuild-initrd)

plymouth-set-default-theme spinner -R