Skip to content

mirroredBoots error, but only 1 device and 1 partition #1068

Open
@Sepero

Description

@Sepero

The error:

 Failed assertions:
- You cannot have duplicated devices in mirroredBoots

The disko

{ lib, ... }:

{
  disko.devices.disk.disk1 = {
    type = "disk";
    device = lib.mkDefault "/dev/vda";
    content = {
      type = "gpt";
      partitions = {
        root = {
          type = "EF02";
          size = "100%";
          content = {
            type = "btrfs";
            extraArgs = [ "-f" ];
            mountpoint = "/";
          };
        };
      };
    };
  };
}

I have successfully installed Grub to non-uefi partition setup similar to this many times. So I'm not sure if the problem here is with disko or me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions