Rename encrypted partition from sda2_crypt to system

This commit is contained in:
Disassembler 2017-06-23 10:24:16 +02:00
parent 26a08986a8
commit 679ac7f77a

View File

@ -6,6 +6,11 @@ apt-get purge bsdmainutils dictionaries-common emacsen-common gnupg gnupg-agent
# Install basic services and dependencies
apt-get --no-install-recommends install openssh-server plymouth
# Rename encrypted partition
sed -i 's/sda2_crypt/system/' /etc/crypttab
dmsetup rename sda2_crypt system
update-initramfs -u
# Set grub options
cp basic/etc/default/grub /etc/default/grub
update-grub