summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpartition.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/partition.sh b/partition.sh
index 56ee9e6..c82dc3c 100755
--- a/partition.sh
+++ b/partition.sh
@@ -15,7 +15,7 @@ sudo parted -s $DISK name 2 grub
sudo parted -s $DISK set 2 bios_grub on
sudo mkfs.btrfs -L linux "$DISK"1
-sudo mount /dev/sda1 /mnt
+sudo mount /dev/"$DISK"1 /mnt
sudo btrfs subvolume create /mnt/root
sudo btrfs subvolume create /mnt/boot