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
  •  


HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5

HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS

$52.00



Seagate Exos X22 ST22000NM001E 22TB 512E SATA 6Gb/s 3.5

Seagate Exos X22 ST22000NM001E 22TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$311.99



Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5

Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR

$24.99



881507-001 HPE 2.4TB SAS 12G 10K SC 512E DS G8-G10 Hard Drive 881457-B21 F/S  picture

881507-001 HPE 2.4TB SAS 12G 10K SC 512E DS G8-G10 Hard Drive 881457-B21 F/S

$274.95



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$79.99



HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5

HGST Ultrastar HE10 10TB SATA 6.0Gb/s 7200 3.5" Datacenter HDD - HUH721010ALE601

$79.99



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$87.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$110.00



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$24.15