User:TitanOfOld

My Hardware
I run Gentoo on a Lenovo ThinPad E525 (1200CT0).

Helpful Notes
I had an issue getting suspend to work properly on my laptop. It would go into suspend/sleep mode just fine, but on resume the screen would remain off. No backlight, no drawing, even though the system would be active. I read somewhere that the module for the wireless was the culprit, and it is. So, here's a little hook for you:

Full Disk Encryption
Just some notes. Full explanation later.

Follow handbook, at chapter 4, preparing disks, do the following instead:

Have USB drive for removable boot partition

Create key file

mount /dev/sdb1 /mnt/key

dd if=/dev/zero of=/mnt/key/key.luks count=2057 cryptsetup --align-payload=1 luksFormat /mnt/key/key.luks cryptsetup luksOpen /mnt/key/key.luks lukskey dd if=/dev/urandom of=/dev/mapper/lukskey

cryptsetup luksFormat /dev/sda -ctwofish-xts-plain:512 -s 512 --key-file /dev/mapper/lukskey

cryptsetup --key-file /dev/mapper/lukskey luksOpen /dev/sda enc

cryptsetup luksClose lukskey

umount /mnt/key

openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero > /dev/mapper/enc

Above took 2h 35m 46.114s to fill 320GB (approximately 298GiB) hard drive on the above laptop.

pvcreate /dev/mapper/enc

vgcreate vg0 /dev/mapper/enc

lvcreate -L 9G vg0 -n swap

lvcreate -l +100%FREE vg0 -n root

mkswap -L swap /dev/vg0/swap

swapon /dev/vg0/swap

mkfs.btrfs -L root /dev/vg0/root

mount -o compress=lzo /dev/vg0/root /mnt/gentoo

Continue with handbook.

Use grub to install to thumbdrive

Follow Custom_Initramfs have it included in the kernel.