|
|
@ -137,7 +137,14 @@ if [[ "$MANUAL" == "no" ]]; then
|
|
|
|
mkfs.vfat ${DISK}p1
|
|
|
|
mkfs.vfat ${DISK}p1
|
|
|
|
mkfs.btrfs -f ${DISK}p2
|
|
|
|
mkfs.btrfs -f ${DISK}p2
|
|
|
|
mount ${DISK}p2 /mnt
|
|
|
|
mount ${DISK}p2 /mnt
|
|
|
|
mkdir -p /mnt/boot/efi
|
|
|
|
cd /mnt
|
|
|
|
|
|
|
|
btrfs subvolume create @
|
|
|
|
|
|
|
|
btrfs subvolume create @home
|
|
|
|
|
|
|
|
cd /
|
|
|
|
|
|
|
|
umount /mnt
|
|
|
|
|
|
|
|
mount -o subvol=@ /dev/${DISK}p2 /mnt
|
|
|
|
|
|
|
|
mkdir -p /mnt/{boot/efi,home}
|
|
|
|
|
|
|
|
mount -o subvol=@home /dev/${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"
|
|
|
@ -159,7 +166,14 @@ if [[ "$MANUAL" == "no" ]]; then
|
|
|
|
mkfs.vfat -F32 ${DISK}1
|
|
|
|
mkfs.vfat -F32 ${DISK}1
|
|
|
|
mkfs.btrfs -f ${DISK}2
|
|
|
|
mkfs.btrfs -f ${DISK}2
|
|
|
|
mount ${DISK}2 /mnt
|
|
|
|
mount ${DISK}2 /mnt
|
|
|
|
mkdir -p /mnt/boot/efi
|
|
|
|
cd /mnt
|
|
|
|
|
|
|
|
btrfs subvolume create @
|
|
|
|
|
|
|
|
btrfs subvolume create @home
|
|
|
|
|
|
|
|
cd /
|
|
|
|
|
|
|
|
umount /mnt
|
|
|
|
|
|
|
|
mount -o subvol=@ /dev/${DISK}2 /mnt
|
|
|
|
|
|
|
|
mkdir -p /mnt/{boot/efi,home}
|
|
|
|
|
|
|
|
mount -o subvol=@home /dev/${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"
|
|
|
|