User Tools

Site Tools


linux:troubleshoot:reinstall_boot_loader

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:troubleshoot:reinstall_boot_loader [2025/01/02 18:49] – created adminlinux:troubleshoot:reinstall_boot_loader [2025/01/02 18:52] (current) admin
Line 2: Line 2:
  
 Grub is the best knwon boot loader. Grub is the best knwon boot loader.
-The first step is always to `chroot` into the installed system. See+The first step is always to `chroot` into the installed system. See [[Linux:Troubleshoot:Chroot from Live System]]
  
 ## Manjaro ## Manjaro
Line 36: Line 36:
 #Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img #Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img
 #[...] #[...]
 +exit
 ``` ```
  
Line 57: Line 58:
 chroot /mnt chroot /mnt
 ``` ```
 +Try update grub. Then use the grub install tools: 
 +```bash 
 +# EFI system 
 +grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck 
 +#Installing for x86_64-efi platform. 
 +#Installation finished. No error reported. 
 +grub-mkconfig -o /boot/grub/grub.cfg 
 +#Generating grub configuration file ... 
 +#Found theme: /usr/share/grub/themes/manjaro/theme.txt 
 +#Found linux image: /boot/vmlinuz-6.6-x86_64 
 +#Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img 
 +#[...] 
 +exit 
 +```
 Unmount the installed system: Unmount the installed system:
 ```bash ```bash
linux/troubleshoot/reinstall_boot_loader.1735840169.txt.gz · Last modified: by admin