#umount /crpt
#vim /etc/fstab
delete entry
:wq! (save n quit)
#mount -a
#vim /dev/crypttab
delete the entry
:wq!
#cryptsetup luksClose /dev/mapper/storage
#cryptsetup luksRemoveKey /dev/sda5 /root/key
#rm -rf key
#ll /dev/mapper
fdisk /dev/sda
delete the partition
#partx -a /dev/sda (run 2 times.)
No comments:
Post a Comment