fix it trying to mount /dev/dev/$(disk)

pull/3/head
Amy 3 years ago
parent aacff5ace3
commit 59646ee3eb

@ -147,9 +147,9 @@ if [[ "$MANUAL" == "no" ]]; then
btrfs subvolume create @home btrfs subvolume create @home
cd / cd /
umount /mnt umount /mnt
mount -o subvol=@ /dev/${DISK}p2 /mnt mount -o subvol=@ ${DISK}p2 /mnt
mkdir -p /mnt/{boot/efi,home} mkdir -p /mnt/{boot/efi,home}
mount -o subvol=@home /dev/${DISK}p2 /mnt/home mount -o subvol=@home ${DISK}p2 /mnt/home
mount ${DISK}p1 /mnt/boot/efi mount ${DISK}p1 /mnt/boot/efi
else else
inf "Initializing ${DISK} as NVME MBR" inf "Initializing ${DISK} as NVME MBR"

Loading…
Cancel
Save