Refine the comments

This commit is contained in:
Suikan 2021-06-29 21:38:16 +09:00
parent f6168f2205
commit b81a8bcd9d
2 changed files with 9 additions and 2 deletions

View file

@ -104,6 +104,9 @@ HEREDOC
fi # if YES
fi # if erase all
# Install essential packages.
xbps-install -y gptfdisk
# ----- Set Passphrase -----
# Input passphrase
echo "Type passphrase for the disk encryption."
@ -211,6 +214,7 @@ fi # if the root volun already exist
# ADD "rd.auto=1 cryptdevice=/dev/sda2:${LUKS_NAME} root=/dev/mapper/${VGNAME}-${ROOTNAME}" to GRUB.
# This is magical part. I have not understood why this is required.
# Refer https://wiki.voidlinux.org/Install_LVM_LUKS#Installation_using_void-installer
echo "...Modify /etc/default/grub."
sed -i "s#loglevel=4#loglevel=4 rd.auto=1 cryptdevice=/dev/sda2:${LUKS_NAME} root=/dev/mapper/${VGNAME}-${ROOTNAME}#" /etc/default/grub
# Finishing message