I'm primarily a
User Developer Sysadmin A mixture Something else entirely .. ( 515 votes ~ 10 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the article System encryption on Debian Etch:
#3 Re: System encryption on Debian Etch Posted by wuzzeb (70.225.xx.xx) on Tue 15 Aug 2006 at 02:21 I am currently using everything in my message... posting from a computer with everything except /boot encrypted. The swap partition is set up with a random key. I am pretty sure the luks and swap options probably don't work together, but the swap by itself works fine. As for initramfs-tools, to autoconfigure it also needs the partitons to be mounted. On the other hand, you can pass all the options on the kernel command line in grub. root=/dev/mapper/zeuslvm-root cryptops="target=cryptroot,source=/dev/sda4,lvm=zeuslvm-root" then this is used instead of whatever the mkinitramfs script found, so could be used the first time you boot before mkinitramfs can run correctly. The lvm option tells the initramfs script to test the partiton created by the cryptmap for lvm, and if so configure it... the root= option then uses the lvm partition found. If you didn't have lvm, you could just use something like (I haven't tested this, but it should work) root=/dev/mapper/cryptroot cryptops="target=cryptroot,source=/dev/sda4" As for the installer, what I did is created a 2G swap partition, and installed debian (basic) into the swap partition. I then created the crypt partition and set up lvm and everything, and then used debootstrap to install. After it was installed and booting, I tured the swap partiton back into a swap partiton.
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account