WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Encrypt Full Hard Drive or Home Folder Like Ubuntu  (Read 4107 times)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Encrypt Full Hard Drive or Home Folder Like Ubuntu
« on: February 22, 2017, 02:49:10 PM »
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 .

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
« Reply #1 on: February 22, 2017, 03:01:32 PM »
See the  protect  boot code for "Password Encrypted Backup".
http://tinycorelinux.net/faq.html#bootcodes
Download a copy and keep it handy: Core book ;)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
« Reply #2 on: February 22, 2017, 03:13:42 PM »
Sir Misalf Thanks for reply but i am not using backup files. I am using persistence Home folder and opt

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
« Reply #3 on: February 23, 2017, 02:59:40 AM »
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 :-)

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
« Reply #4 on: February 24, 2017, 01:32:51 AM »
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.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
« Reply #5 on: February 25, 2017, 12:47:40 PM »
Please some one help regarding full disk encryption with tiny core

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
« Reply #6 on: March 02, 2017, 12:01:36 AM »
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.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Encrypt Full Hard Drive or Home Folder Like Ubuntu
« Reply #7 on: March 03, 2017, 01:55:39 AM »
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 :-)


« Last Edit: March 03, 2017, 01:58:04 AM by netnomad »