helps in some cases were existing data is on the drives
@ -25,12 +25,12 @@ unset root_pwd
chroot=/mnt/root-unlocked
# root device
mkfs.btrfs /dev/mapper/root-unlocked
mkfs.btrfs -f /dev/mapper/root-unlocked
mkdir /mnt/root-unlocked
mount /dev/mapper/root-unlocked /mnt/root-unlocked
# boot device
mkfs.btrfs "$boot"
mkfs.btrfs -f "$boot"
mkdir "$chroot/boot"
mount "$boot" "$chroot/boot"