16 lines
591 B
Plaintext
16 lines
591 B
Plaintext
# Initialize the disk
|
|
zerombr
|
|
|
|
# Remove all partitions and initialize the disk with a GPT partition table
|
|
clearpart --drives=sda --disklabel=gpt --all
|
|
|
|
# Create partitions
|
|
# The '--size' option takes MB, not MiB
|
|
# 134.21 MB = 128 MiB
|
|
# 1073.74 MB = 1024 MiB
|
|
# 3758.09 MB = 3584 MiB
|
|
# Keep /boot formatted as ext4 since that's what U-Boot can read
|
|
part /boot/efi --asprimary --ondisk=sda --size=133 --label=rvefi --fstype=efi
|
|
part /boot --asprimary --ondisk=sda --size=1072 --label=rvboot --fstype=ext4
|
|
part / --asprimary --ondisk=sda --size=3757 --label=rvroot --fstype=ext4
|