Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: malikawan on February 22, 2017, 11:49:10 AM

Title: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: malikawan on February 22, 2017, 11:49:10 AM
I am using tinycore 4.7.7. Is there any way to Encrypt Full Hard Drive or Home Folder Like Ubuntu. Basically i need when my system is going off or shutdown my data is encrypted and when system on then my persistence home folder Decrypt .
Title: Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: Misalf on February 22, 2017, 12:01:32 PM
See the  protect  boot code for "Password Encrypted Backup".
http://tinycorelinux.net/faq.html#bootcodes
Title: Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: malikawan on February 22, 2017, 12:13:42 PM
Sir Misalf Thanks for reply but i am not using backup files. I am using persistence Home folder and opt
Title: Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: netnomad on February 22, 2017, 11:59:40 PM
hi malikawan,

perhaps a luks-encrypted container-file could provide you some features that you are looking for.
the encrypted "file system" is mounted over a directory and you can use a nice link in your home-dir..
for that approach you can open the container only when it is needed or you open it at every reboot.
this could be a secure way to encrypt data in a safe way.

keep on hacking :-)
Title: Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: malikawan on February 23, 2017, 10:32:51 PM
Thanks for reply netnomad...
If i create 2 partitions one Partition Encryption with LUKS and i have place home folder and tce folder in it and in other partition i placed boot folder then how i link home and tce folder after decryption in extlnux.conf file.
Title: Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: malikawan on February 25, 2017, 09:47:40 AM
Please some one help regarding full disk encryption with tiny core
Title: Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: malikawan on March 01, 2017, 09:01:36 PM
I have created 2 partition one is encrypted and set up partitions LVM on LUKS and other partition is ext2 for grub install. After that i am confused how to configure with tinycore to decrypt the encrypted patition. Please if any oe help regarding this.
Title: Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
Post by: netnomad on March 02, 2017, 10:55:39 PM
hi malikawan,

i recommend you a luks-encrypted container-file.
thats very handy... you can copy and move this file wherever you want.
... and you can decrypt and open the file just for needed purposes, in other cases it stays encrpted.
just search for "luks encrypted file" in the web and you will find many howtos.

keep on hacking :-)