Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:boot [2019/05/24 19:01] lamboringolinux:boot [2023/03/01 07:15] (current) – [pendejo MBR → cru4sys GPT] lamboringo
Line 1: Line 1:
 +==== 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 ==== ==== grub ====