fix automatic partitioning error with non nvme on efi

pull/3/head
Amy 3 years ago
parent cf9066cdc5
commit 662395c5ce

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

Loading…
Cancel
Save