-
encrypted persistent home with HD install
Hi! I am a beginner. I wanted to have an encrypted home (for my data, software configs, cookies, etc.) with an HD install of Knoppix 7 (yes it's just a Debian this way but I like the tools that are provided).
My OS is on /dev/sdc2. My free drive was /dev/sda1. To configure:
Code:
sudo cryptsetup luksFormat -c aes -h sha256 /dev/sda1
sudo cryptsetup luksOpen /dev/sda1 home
sudo mkfs.ext3 /dev/mapper/home
Then I have to create a knoppix directory, a Desktop one, all with the right owner
Code:
sudo cryptsetup luksClose home
It's ready! To use:
Code:
cd /
sudo cryptsetup luksOpen /dev/sda1 home
sudo mount -t ext3 /dev/mapper/home /home/
To leave:
Code:
sudo umount /dev/mapper/home
sudo cryptsetup luksClose home
Now I have to understand how I can bootup with Knoppix asking me for the password during the boot sequence...
PS sorry for the long paragraph, I don't know what I should do to avoid that (I used the Enter key...)
-------------------------
Formatted by moderator
Last edited by Werner P. Schulz; 04-03-2013 at 07:55 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested
$35.00

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i7-9700K Octa-Core 3.6 GHz Desktop CPU
$99.99

INTEL CORE I9-10980XE PROCESSOR | 3.00GHZ | SRGSG
$299.99

Intel Core i7-14700K Processor (BRAND NEW)
$330.00