mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
example gpt-bios-compat: use new gpt type
This commit is contained in:
parent
c9c2fa9d3a
commit
15c4d57b41
1 changed files with 10 additions and 19 deletions
|
|
@ -6,30 +6,21 @@
|
||||||
device = builtins.elemAt disks 0;
|
device = builtins.elemAt disks 0;
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
type = "table";
|
type = "gpt";
|
||||||
format = "gpt";
|
partitions = {
|
||||||
partitions = [
|
boot = {
|
||||||
{
|
size = "1M";
|
||||||
name = "boot";
|
type = "EF02";
|
||||||
start = "0";
|
};
|
||||||
end = "1M";
|
root = {
|
||||||
part-type = "primary";
|
size = "100%";
|
||||||
flags = [ "bios_grub" ];
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "root";
|
|
||||||
# leave space for the grub aka BIOS boot
|
|
||||||
start = "1M";
|
|
||||||
end = "100%";
|
|
||||||
part-type = "primary";
|
|
||||||
bootable = true;
|
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "ext4";
|
format = "ext4";
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue