rocky-linux-generic-images/includes/disk-layout.ksi

10 lines
307 B
Plaintext

# Remove all partitions
clearpart --drives=sda --all
# Create partitions
# The '--size' option takes MB, not MiB
# 1074 MB = 1 GiB
# 2148 MB = 2 GiB
part /boot/efi --asprimary --ondisk=sda --size=1074 --label=boot --fstype=efi
part / --asprimary --ondisk=sda --size=2148 --label=root --fstype=ext4