Bootloader: Difference between revisions
imported>Samueldr m Moves a generic FAQ entry from GRUB to here. |
imported>Samueldr m Ugh, wikimarkup != markdown |
||
Line 18: | Line 18: | ||
=== Re-installing the bootloader === | === Re-installing the bootloader === | ||
* Something happened, and the bootloader doesn't work as expected. | |||
* The ESP was re-made and nothing was kept | |||
* The ESP wasn't mounted and I want to re-generate the menu entries | |||
Booting from the installation media, mount the root partition, and the boot partition under <code>/mnt</code>. Next, run the [https://github.com/NixOS/nixpkgs/blob/e140d71d6330786c40b4bd9c0d59af7ad1a5e86a/nixos/modules/installer/tools/nixos-install.sh#L191-L192 command that the installer would run]. This will re-install the bootloader. | Booting from the installation media, mount the root partition, and the boot partition under <code>/mnt</code>. Next, run the [https://github.com/NixOS/nixpkgs/blob/e140d71d6330786c40b4bd9c0d59af7ad1a5e86a/nixos/modules/installer/tools/nixos-install.sh#L191-L192 command that the installer would run]. This will re-install the bootloader. |