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

13 lines
346 B
Plaintext
Raw Normal View History

2023-08-11 14:56:02 +00:00
# initialize the disk
zerombr
2023-07-27 14:23:23 +00:00
# Remove all partitions
2023-08-11 14:56:02 +00:00
clearpart --drives=sda --all --disklabel=gpt
2023-07-27 14:23:23 +00:00
# Create partitions
2023-07-29 08:23:02 +00:00
# The '--size' option takes MB, not MiB
# 1074 MB = 1 GiB
# 2148 MB = 2 GiB
part /boot --asprimary --ondisk=sda --size=1074 --label=boot --fstype=efi
part / --asprimary --ondisk=sda --size=2148 --label=root --fstype=ext4