mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Refine the comments
This commit is contained in:
parent
f6168f2205
commit
b81a8bcd9d
2 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue