diff options
| author | Chris Titus <[email protected]> | 2021-10-30 12:51:15 -0500 |
|---|---|---|
| committer | Chris Titus <[email protected]> | 2021-10-30 12:51:15 -0500 |
| commit | 74e2141813887c08f296452e395b6a9262347496 (patch) | |
| tree | 2c51f2ce9d9781f752b4defd14868f11fdbe2136 /0-preinstall.sh | |
| parent | 3dc0eca501ad0fa215cef0b038c6e7e24088b1c6 (diff) | |
| download | ArchTitus-74e2141813887c08f296452e395b6a9262347496.tar.xz ArchTitus-74e2141813887c08f296452e395b6a9262347496.zip | |
Update 0-preinstall.sh
Diffstat (limited to '0-preinstall.sh')
| -rwxr-xr-x | 0-preinstall.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/0-preinstall.sh b/0-preinstall.sh index 98c95d6..315ffef 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -66,13 +66,13 @@ fi # make filesystems echo -e "\nCreating Filesystems...\n$HR" if [[ ${DISK} =~ "nvme" ]]; then -mkfs.vfat -F32 -n "EFIBOOT" "${DISK}p1" -mkfs.btrfs -L "ROOT" "${DISK}p2" -f -mount -t btrfs "${DISK}p2" /mnt +mkfs.vfat -F32 -n "EFIBOOT" "${DISK}p2" +mkfs.btrfs -L "ROOT" "${DISK}p3" -f +mount -t btrfs "${DISK}p3" /mnt else -mkfs.vfat -F32 -n "EFIBOOT" "${DISK}1" -mkfs.btrfs -L "ROOT" "${DISK}2" -f -mount -t btrfs "${DISK}2" /mnt +mkfs.vfat -F32 -n "EFIBOOT" "${DISK}2" +mkfs.btrfs -L "ROOT" "${DISK}3" -f +mount -t btrfs "${DISK}3" /mnt fi ls /mnt | xargs btrfs subvolume delete btrfs subvolume create /mnt/@ |
