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
  •  


Supermicro 1U X11DPU 2x Xeon Gold 6132 2.6GHz / 128gb / 10x 2.5 Trays / 2x 750w picture

Supermicro 1U X11DPU 2x Xeon Gold 6132 2.6GHz / 128gb / 10x 2.5 Trays / 2x 750w

$649.99



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories  picture

Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories

$294.95



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Supermicro E300-8D Xeon D-1518 2.20GHz Mini Server picture

Supermicro E300-8D Xeon D-1518 2.20GHz Mini Server

$575.00



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$802.70



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Pent picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Pent

$651.42



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00