linux:troubleshoot:reinstall_boot_loader
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:troubleshoot:reinstall_boot_loader [2025/01/02 18:49] – created admin | linux: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: |
| ## Manjaro | ## Manjaro | ||
| 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.1735840169.txt.gz · Last modified: by admin