mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Before we can switch from using device names in root= to partition table UUIDs we need some values that will remain consistent across upgrades since the partition table is not updated when filesystems are.
142 lines
3.0 KiB
JSON
142 lines
3.0 KiB
JSON
{
|
|
"_comment": "See http://www.chromium.org/chromium-os/building-chromium-os/disk-layout-format",
|
|
"metadata":{
|
|
"block_size": 512,
|
|
"fs_block_size": 4096
|
|
},
|
|
"layouts":{
|
|
"base":[
|
|
{
|
|
"num": 1,
|
|
"label":"EFI-SYSTEM",
|
|
"type":"efi",
|
|
"blocks":"262144"
|
|
},
|
|
{
|
|
"num": 2,
|
|
"label":"BOOT-B",
|
|
"type":"coreos-reserved",
|
|
"blocks":"32768"
|
|
},
|
|
{
|
|
"num": 3,
|
|
"label":"ROOT-A",
|
|
"uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"4194304",
|
|
"fs_blocks":"262144"
|
|
},
|
|
{
|
|
"num": 4,
|
|
"label":"ROOT-B",
|
|
"uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"4194304",
|
|
"fs_blocks":"262144"
|
|
},
|
|
{
|
|
"num": 5,
|
|
"label":"ROOT-C",
|
|
"uuid":"d82521b4-07ac-4f1c-8840-ddefedc332f3",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"1"
|
|
},
|
|
{
|
|
"num": 6,
|
|
"label":"OEM",
|
|
"type":"data",
|
|
"blocks":"32768"
|
|
},
|
|
{
|
|
"num": 7,
|
|
"type":"coreos-reserved",
|
|
"label":"coreos-reserved",
|
|
"blocks":"1"
|
|
},
|
|
{
|
|
"num": 8,
|
|
"type":"coreos-reserved",
|
|
"label":"coreos-reserved",
|
|
"blocks":"1"
|
|
},
|
|
{
|
|
"num": 9,
|
|
"label":"STATE",
|
|
"type":"data",
|
|
"blocks":"2097152",
|
|
"features":["expand"]
|
|
}
|
|
],
|
|
"usb": [
|
|
{
|
|
"num": 3,
|
|
"label":"ROOT-A",
|
|
"uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"2539520",
|
|
"fs_blocks":"262144"
|
|
},
|
|
{
|
|
"num": 4,
|
|
"label":"ROOT-B",
|
|
"uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"1"
|
|
}
|
|
],
|
|
"factory_install": [
|
|
{
|
|
"num": 1,
|
|
"label":"EFI-SYSTEM",
|
|
"type":"efi",
|
|
"blocks":"65536"
|
|
},
|
|
{
|
|
"num": 3,
|
|
"label":"ROOT-A",
|
|
"uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"860160",
|
|
"fs_blocks":"102400"
|
|
},
|
|
{
|
|
"num": 4,
|
|
"label":"ROOT-B",
|
|
"uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"1"
|
|
},
|
|
{
|
|
"num": 9,
|
|
"label":"STATE",
|
|
"type":"data",
|
|
"blocks":"286720"
|
|
}
|
|
],
|
|
"vm": [
|
|
{
|
|
"num": 3,
|
|
"label":"ROOT-A",
|
|
"uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"2097152",
|
|
"fs_blocks":"262144"
|
|
},
|
|
{
|
|
"num": 4,
|
|
"label":"ROOT-B",
|
|
"uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c",
|
|
"type":"coreos-rootfs",
|
|
"blocks":"2097152",
|
|
"fs_blocks":"262144"
|
|
},
|
|
{
|
|
"num": 9,
|
|
"label":"STATE",
|
|
"type":"data",
|
|
"blocks":"6291456"
|
|
}
|
|
]
|
|
}
|
|
}
|