38 lines
830 B
YAML
38 lines
830 B
YAML
# Partitioning configuration for Debian minimal base images
|
|
# Following Fedora's proven partition scheme:
|
|
# /boot/efi (ESP) - EFI System Partition
|
|
# /boot - Boot partition (separate from root)
|
|
# / (root) - Root filesystem (read-only for atomic systems)
|
|
|
|
partitions:
|
|
# EFI System Partition (ESP)
|
|
efi:
|
|
size: 512M
|
|
filesystem: vfat
|
|
mountpoint: /boot/efi
|
|
flags: [esp, boot]
|
|
label: EFI-SYSTEM
|
|
|
|
# Boot partition (separate from root)
|
|
boot:
|
|
size: 1G
|
|
filesystem: ext4
|
|
mountpoint: /boot
|
|
label: BOOT
|
|
|
|
# Root filesystem
|
|
root:
|
|
size: 100% # Use remaining space
|
|
filesystem: ext4
|
|
mountpoint: /
|
|
label: ROOT
|
|
|
|
# Partition table
|
|
partition_table: gpt
|
|
|
|
# Bootloader configuration
|
|
bootloader:
|
|
type: grub
|
|
target: both # UEFI and BIOS
|
|
efi_directory: /boot/efi
|
|
boot_directory: /boot
|