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

10 lines
299 B
Plaintext
Raw Normal View History

2023-07-27 14:23:23 +00:00
# Remove all partitions
2023-07-27 15:07:25 +00:00
clearpart --drives=sda --all
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