user89
04-02-2013, 10:37 PM
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:
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
sudo cryptsetup luksClose homeIt's ready! To use:
cd /
sudo cryptsetup luksOpen /dev/sda1 home
sudo mount -t ext3 /dev/mapper/home /home/
To leave:
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
My OS is on /dev/sdc2. My free drive was /dev/sda1. To configure:
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
sudo cryptsetup luksClose homeIt's ready! To use:
cd /
sudo cryptsetup luksOpen /dev/sda1 home
sudo mount -t ext3 /dev/mapper/home /home/
To leave:
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