-
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

Vintage 2006 Juicy Couture House of Juicy Velour Laptop Sleeve Y2K NWT Rare
$199.99

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00

Vintage Microsoft Visual Studio.NET Professional Software suite Version 2002 New
$82.00

Huge Lot of Vintage Computer Brochures, Catalogs, etc. - 1980's - SEE PICS
$100.00

5x Vintage Intel D8212 S1002 IC Chips 1975 Hong Kong P0153 P0982
$99.99

Vintage Fujitsu Scrap Board with 4 CPU's for Gold Recovery
$89.95

VINTAGE ESS ES1868 16 BIT ISA SOUND CARD COMPAQ 247428-001 - USA SELLER RM2-SC
$24.95

🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP
$299.99

🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE
$249.00