linux:troubleshoot:reinstall_boot_loader
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:troubleshoot:reinstall_boot_loader [2025/01/02 18:49] – admin | linux:troubleshoot:reinstall_boot_loader [2025/01/02 18:52] (current) – admin | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| #Found initrd image: / | #Found initrd image: / | ||
| #[...] | #[...] | ||
| + | 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=/ | ||
| + | #Installing for x86_64-efi platform. | ||
| + | # | ||
| + | grub-mkconfig -o / | ||
| + | #Generating grub configuration file ... | ||
| + | #Found theme: / | ||
| + | #Found linux image: / | ||
| + | #Found initrd image: / | ||
| + | #[...] | ||
| + | exit | ||
| + | ``` | ||
| Unmount the installed system: | Unmount the installed system: | ||
| ```bash | ```bash | ||
linux/troubleshoot/reinstall_boot_loader.1735840192.txt.gz · Last modified: by admin