Rename encrypted partition from sda2_crypt to system
This commit is contained in:
parent
26a08986a8
commit
679ac7f77a
5
basic.sh
5
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
|
Loading…
Reference in New Issue
Block a user