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
  •  


Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$188.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5"SATA III Drive Desktop MAC Lot

$268.70



New SSD 870 EVO SATA III SSD 1TB 2.5'' Solid State Drive Upgrade PC Laptop 4TB picture

New SSD 870 EVO SATA III SSD 1TB 2.5'' Solid State Drive Upgrade PC Laptop 4TB

$59.99



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

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

$108.29



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

$13.99



WD BLUE 3D NAND 250GB 2.5

WD BLUE 3D NAND 250GB 2.5" SATA Laptop SSD Solid State Tested,Wiped -WDS250G2B0A

$16.99



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

$21.99



Crucial M500 480GB SED MLC 2.5

Crucial M500 480GB SED MLC 2.5" 6Gbps SATA Drive CT480M500SSD1 - PRICE PER UNIT

$24.99



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

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

$118.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

$119.99