emerge tipps

To show the dependencys of a package
emerge -pet sys-app/foo

Show use flag description:
grep $foo /usr/portage/profiles/use.desc

My public key

Put it on as many servers as possible!
I want to dominate the world!

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDmk+GEY5F+/QsldQ5qoifNPu1n99PP3MUsWtXjLMlBZzCslpA/8KywmEI19GUS9SEu9Nd86eZy3M5OufzRQwa331g2Ks5rpjzMRGNyanQYmdbPNXjCyDQmlxR5DJMystgxyiGyYooidFKFZat9GSLd8mEpE9AbR7hz4cFs4M0u1NDZZ4xwpraERExZzmRhmWvRt63ACLhiO66tLGMEfgUN9r2TrUfvxo5lh/FfuMg2DK+F2cbbNZcgcyy/DnmtAzZEnkrVFsH1OZJwzLllPefa3qdGhGx5Fn/3tm9JsrnTFDOyhtPyY23VpPEy+YXOddmootd9+Hvwu1ldJ9n7AGuwit86pL/S1ZgkouJpR/HhRrEe09k8gS46+I8N8/4BO5RWJj3WCKnoz9GotagL2wAbmiiCMPG46R2zGoj4AB0x0SKEidKmP...

Create Partion on Linux

Create Partition smaller then 2 TB

Use cfdisk (it is self-explanatory)

cfdisk /dev/sda

Create Partition larger then 2 TB

You need a GPT Partition table but cfdisk and fdisk doesn't support GPT at the moment.

But you can use parted.

Start parted

parted /dev/sda

You get an output like this

GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)

Create a GPT partition table

(...

Manual setup raid, encryption and lvm with Linux

This is done with Gentoo Linux. I assuming a correct kernel configuration.

  1. Create Partitions

In this example I use /dev/sdd1, /dev/sdc1 and /dev/sdf1. You need at least two partitions.

  1. Clear superblock

mdadm --zero-superblock /dev/sdd1 /dev/sdc1 /dev/sdf1
  1. Create RAID (I make a RAID 0 because I don't need fault tolerance)
    ------------------------------------------------------------------...