vgcreate "${NAME_VOLGROUP}" "${PARTITION}"
msg 'Creating logical volume "%s" there …' "${NAME_ROOT}"
lvcreate -l '100%FREE' -n "${NAME_ROOT}" "${NAME_VOLGROUP}"
-mkfs.ext4 "${LOGVOL_ROOT}"
+msg 'Creating EXT4 filesystem …'
+mkfs.ext4 -q "${LOGVOL_ROOT}"
# mount and install base
msg 'Mounting %s at %s …' "${LOGVOL_ROOT}" "${PATH_MNT}"
# set up kernel, initrd
msg 'Into chroot environment installing LVM tools, kernel, initrd …'
-chroot_sh "apt update"
-chroot_sh "apt install -y lvm2 linux-image-amd64"
+chroot_sh "apt -qq update"
+chroot_sh "apt -qq install -y lvm2 linux-image-amd64"
# install kernel and initrd into EFI tree/vars
msg 'EFI setup: copying kernel and initrd into %s …' "${PATH_EFI_BOOT_LABEL}"
msg 'EFI setup: adding boot entry %s …' "${BOOT_LABEL}"
efibootmgr \
--create \
+ --quiet \
--disk "${PATH_BOOT_DEVICE}" \
--part "${IDX_BOOT_PARTITION}" \
--label "${BOOT_LABEL}" \
--unicode "root=${LOGVOL_ROOT} ro initrd=${BOOT_LABEL}\\${NAME_INITRD}"
# ask root login at latest possible moment, so that on fails: less left undone
+msg 'Setting up root login …'
chroot_sh "passwd"
# clean up mounts