fix(vps-relay): grub config force-override to resolve dup in mirroredBoots 🐞
This commit is contained in:
parent
244988d52d
commit
ba277b3f49
1 changed files with 9 additions and 6 deletions
|
|
@ -11,12 +11,15 @@
|
||||||
|
|
||||||
# Hetzner Cloud vServers boot in BIOS mode (confirmed via rescue:
|
# Hetzner Cloud vServers boot in BIOS mode (confirmed via rescue:
|
||||||
# /sys/firmware/efi doesn't exist, product_name=vServer). systemd-boot
|
# /sys/firmware/efi doesn't exist, product_name=vServer). systemd-boot
|
||||||
# is UEFI-only, so use GRUB with BIOS MBR support instead.
|
# is UEFI-only, so use GRUB/BIOS. disko's EF02 BIOS boot partition
|
||||||
boot.loader.grub = {
|
# already tells GRUB where to embed stage-1.5; we just enable grub +
|
||||||
enable = true;
|
# set the install device list.
|
||||||
device = "/dev/sda";
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||||
efiSupport = false;
|
boot.loader.grub.enable = lib.mkForce true;
|
||||||
};
|
boot.loader.grub.efiSupport = lib.mkForce false;
|
||||||
|
boot.loader.grub.devices = lib.mkForce [ "/dev/sda" ];
|
||||||
|
# Ensure no default-set .device slips through and duplicates mirroredBoots.
|
||||||
|
boot.loader.grub.device = lib.mkForce "nodev";
|
||||||
|
|
||||||
# Hetzner Cloud cx23 uses QEMU virtio-scsi for the disk and virtio-net
|
# Hetzner Cloud cx23 uses QEMU virtio-scsi for the disk and virtio-net
|
||||||
# for the NIC. Without these modules in initrd, the kernel can't find
|
# for the NIC. Without these modules in initrd, the kernel can't find
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue