Results 1 to 1 of 1

Thread: encrypted persistent home with HD install

  1. #1

    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
  •  


WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN picture

WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN

$59.99



N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY) picture

N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY)

$389.95



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



SAMSUNG 6.4TB SSD NVMe PCIe 3.0 MU HHHL PM1725B MZ-PLL6T4C FW2K0 picture

SAMSUNG 6.4TB SSD NVMe PCIe 3.0 MU HHHL PM1725B MZ-PLL6T4C FW2K0

$599.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$13.99



Patriot P210 256GB SSD 2.5

Patriot P210 256GB SSD 2.5" SATA III 6GB/s Internal Solid State Drive For PC/MAC

$19.99



M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11 picture

M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11

$85.25



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99