installer: switch to systemd-boot
grub is not able to boot from the disks that we flash for weird reasons. Since BIOS-boot is on life-support, we may as well just use systemd-boot.
This commit is contained in:
@@ -48,8 +48,13 @@
|
|||||||
cat /var/shared/qrcode.utf8
|
cat /var/shared/qrcode.utf8
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
boot.loader.grub.efiInstallAsRemovable = true;
|
|
||||||
boot.loader.grub.efiSupport = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
||||||
|
# Grub doesn't find devices for both BIOS and UEFI?
|
||||||
|
|
||||||
|
#boot.loader.grub.efiInstallAsRemovable = true;
|
||||||
|
#boot.loader.grub.efiSupport = true;
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
stick = {
|
stick = {
|
||||||
@@ -59,10 +64,10 @@
|
|||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
boot = {
|
#boot = {
|
||||||
size = "1M";
|
# size = "1M";
|
||||||
type = "EF02"; # for grub MBR
|
# type = "EF02"; # for grub MBR
|
||||||
};
|
#};
|
||||||
ESP = {
|
ESP = {
|
||||||
size = "100M";
|
size = "100M";
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
|
|||||||
Reference in New Issue
Block a user