You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
It's not an "issue" but I have no idea how to solve the problem.
I've been trying to use Disko for a while and, starting from the basic configurations:
with a "grub MBR" configuration like in single-disk-ext4 it works, no problem
with an "EFI" configuration simple-efi.nix I have always this error:
error:
Failed assertions:
- You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
In general, with any configuration without the "boot" part for grub MBR, the installation does not proceed because it does not find the "/boot" partition.
e) If you chose the hybrid-partition scheme, then choose grub as a bootloader, otherwise follow the recommendations in Step 4 of the Installation section of the NixOS manual. The following configuration for grub works for both EFI and BIOS systems. Add this to your configuration.nix, commenting out the existing lines that configure systemd-boot. The entries will look like this:
Note: It's not necessary to set boot.loader.grub.device here, since Disko will take care of that automatically.
I tried setting grub.devices manually to /dev/vda, that let the installation continue up until it failed to install. Then I tried /dev/vda1 since that was the boot partition that was created but same error. The error looked like this:
installing the boot loader...
setting up /etc...
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/vda1...
Installing for i386-pc platform.
/nix/store/psjdqahqppg41j8gq9vjhbyz82zl5ric-grub-2.12/sbin/grub-install: warning: File system `fat' doesn't support embedding.
/nix/store/psjdqahqppg41j8gq9vjhbyz82zl5ric-grub-2.12/sbin/grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/nix/store/psjdqahqppg41j8gq9vjhbyz82zl5ric-grub-2.12/sbin/grub-install: error: will not proceed with blocklists.
/nix/store/p9bjxsff2v3z3gcc5c9rjrfl68w55qj2-install-grub.pl: installation of GRUB on /dev/vda1 failed: No such file or directory
Failed to install bootloader
Hi.
It's not an "issue" but I have no idea how to solve the problem.
I've been trying to use Disko for a while and, starting from the basic configurations:
with a "grub MBR" configuration like in single-disk-ext4 it works, no problem
with an "EFI" configuration simple-efi.nix I have always this error:
In general, with any configuration without the "boot" part for grub MBR, the installation does not proceed because it does not find the "/boot" partition.
In the Quickstart Guide I read this:
and in my "configuration.nix" file I have:
Any suggestion?
Thanks.
Regards.
The text was updated successfully, but these errors were encountered: