From 679ac7f77a49a25020403bf23894498c309f3bae Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 23 Jun 2017 10:24:16 +0200 Subject: [PATCH] Rename encrypted partition from sda2_crypt to system --- basic.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/basic.sh b/basic.sh index 5212466..d009228 100644 --- a/basic.sh +++ b/basic.sh @@ -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 \ No newline at end of file