mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 04:44:03 +01:00
archlinux: Use GiB by default during installation
Since we already specify that the size is "(in GiB)", the user should not be expected to repeat this information in the input.
This commit is contained in:
parent
54d2824113
commit
29c7965ace
@ -13,9 +13,9 @@ timedatectl set-ntp true
|
||||
# enable boot for it. Then, create a primary swap partition with
|
||||
# the remaining disk space.
|
||||
parted /dev/sda mklabel msdos
|
||||
parted /dev/sda mkpart primary ext4 1MiB $DISTSIZE
|
||||
parted /dev/sda mkpart primary ext4 1MiB "$DISTSIZE"GiB
|
||||
parted /dev/sda set 1 boot on
|
||||
parted /dev/sda mkpart primary linux-swap $DISTSIZE 100%
|
||||
parted /dev/sda mkpart primary linux-swap "$DISTSIZE"GiB 100%
|
||||
|
||||
# Format sda1 with ext4 and sda2 with swap
|
||||
mkfs -t ext4 /dev/sda1
|
||||
|
Loading…
Reference in New Issue
Block a user