resize partitions

This commit is contained in:
Pratham Patel 2023-11-20 21:37:03 +05:30
parent 6bd3cd4b7f
commit cb2cd90c01
No known key found for this signature in database
1 changed files with 5 additions and 5 deletions

View File

@ -6,10 +6,10 @@ clearpart --drives=sda --disklabel=gpt --all
# Create partitions
# The '--size' option takes MB, not MiB
# 536 MB = 512 MiB
# 1072 MB = 1.00 GiB
# 3752 MB = 3.50 GiB
# 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=536 --label=rockyefi --fstype=efi
part /boot/efi --asprimary --ondisk=sda --size=133 --label=rockyefi --fstype=efi
part /boot --asprimary --ondisk=sda --size=1072 --label=rockyboot --fstype=ext4
part / --asprimary --ondisk=sda --size=3752 --label=rockyroot --fstype=ext4
part / --asprimary --ondisk=sda --size=3757 --label=rockyroot --fstype=ext4