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 [2023/03/01 06:19] lamboringolinux:boot [2023/03/01 07:15] (current) – [pendejo MBR → cru4sys GPT] lamboringo
Line 5: Line 5:
  
 backup system backup system
-  rsync --dry-run --delete --itemize-changes --exclude home --exclude mnt / /mnt/cru4/+  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 /boot before kernel (linux) and initrd+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   vi /boot/loader/entries/$(cat /etc/machine-id)-$(uname -r).conf
  
 troubleshoot troubleshoot
- efibootmgr +  efibootmgr 
- mount --bind /dev /mnt/cru4/dev +  mount --bind /dev /mnt/cru4/dev 
- mount --bind /proc /mnt/cru4/proc +  mount --bind /proc /mnt/cru4/proc 
- mount --bind /run /mnt/cru4/run +  mount --bind /run /mnt/cru4/run 
- mount --bind /sys /mnt/cru4/sys +  mount --bind /sys /mnt/cru4/sys 
- mount --bind /sys/firmware/efi/efivars /mnt/cru4/sys/firmware/efi/efivars/ +  mount --bind /sys/firmware/efi/efivars /mnt/cru4/sys/firmware/efi/efivars/ 
- dnf reinstall grub2-efi shim+  dnf reinstall grub2-efi shim