[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032435: installation-reports: Fails to install GRUB bootloader



Thanks, Pascal.

Install in /dev/sda was just an example, it is the one that the installer suggests. I have tried /dev/nvme1n1, /dev/nvme1n1p1 (the ESP partition) and /dev/nvme1n1p2 (the boot partition) all with the same result: The rescue operation 'grub-reinstall' failed with exit code 1

I gave up trying to get the legacy system to work after it failed following updating from bullseye to bookworm by changing sources.list and I am attempting to do a fresh install for an EFI boot.

On 06/03/2023 19:57, Pascal Hambourg wrote:
Hello John,

On 06/03/2023 at 18:19, John Talbut wrote:

It is not clear where to install it but wherever I try I come up with a message "Unable to install GRUB in /dev/sda" (or the equivalent in other partitions).

/dev/sda is the USB stick which contains the installer. You cannot install GRUB there.

Does the installer boot in EFI or legacy mode ?
grub-installer prompts in which device to install GRUB when installing for legacy/BIOS boot. It means either the installer booted in legacy mode or booted in EFI mode but you chose to revert to legacy boot after being warned (maybe wrongly) about an existing system set up for legacy boot. When installing GRUB for EFI boot, it automatically chooses one of the selected EFI partitions.

The partition layout on /dev/nvme1n1 is set up for EFI boot. GRUB could be installed for legacy boot in /dev/nvme1n1, but it would not be best because there is not "BIOS boot" (bios_grub) partition.


Reply to: