hetner stuf

This commit is contained in:
Johannes Jöns 2024-01-18 23:15:33 +01:00
parent b1c373ddbe
commit 953bd17245

View file

@ -56,23 +56,21 @@
content = {
type = "gpt";
partitions = {
BOOT = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "500M";
type = "EF00";
size = "500M";
content = {
type = "mdraid";
name = "boot";
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
mdadm = {
root = {
size = "100%";
content = {
type = "mdraid";
name = "raid1";
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
@ -84,51 +82,13 @@
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "500M";
type = "EF00";
content = {
type = "mdraid";
name = "boot";
};
};
mdadm = {
size = "100%";
content = {
type = "mdraid";
name = "raid1";
};
};
};
};
};
};
mdadm = {
boot = {
type = "mdadm";
level = 1;
metadata = "1.0";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
raid1 = {
type = "mdadm";
level = 1;
content = {
type = "gpt";
partitions.primary = {
extra = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountpoint = "/media/extra";
};
};
};
};