16 lines
524 B
Plaintext
16 lines
524 B
Plaintext
# Initialize the disk
|
|
zerombr
|
|
|
|
# Remove all partitions
|
|
clearpart --drives=sda --all
|
|
|
|
# Create partitions
|
|
# The '--size' option takes MB, not MiB
|
|
# 268 MB = 0.25 GiB
|
|
# 1072 MB = 1.00 GiB
|
|
# 4288 MB = 4.00 GiB
|
|
# Keep /boot formatted as ext4 since that's what U-Boot can read
|
|
part /boot/efi --asprimary --ondisk=sda --size=268 --label=rockyefi --fstype=efi
|
|
part /boot --asprimary --ondisk=sda --size=1072 --label=rockyboot --fstype=ext4
|
|
part / --asprimary --ondisk=sda --size=4228 --label=rockyroot --fstype=ext4
|