Recently in Linux Category

How to create an encrypted partition on an usb stick or usb harddrive in 6 steps:

  1. Partition the stick/hard drive (we assume it is located under /dev/sdb)

    fdisk /dev/sdb

  2. Setup the encrypted partition with cryptsetup

    cryptsetup -c aes-cbc-essiv:sha256 -s 256 luksFormat /dev/sdb1

  3. Optionally add aditional keys

    cryptsetup luksAddKey /dev/sdb1

  4. Open the container

    cryptsetup luksOpen /dev/sdb1 some_name

  5. Create the file system

    mkfs.ext3 -L label -m 0 /dev/mapper/some_name

  6. Close the container

    cryptsetup luksClose some_name

working with kvm images

| No Comments | No TrackBacks

A collection of short recipies on how to

  • enlarge
  • mount

kvm images.

git step by step

| No Comments | No TrackBacks

This article is a collection of notes on how I use git. It is mainly intended for my personal use. If you want to learn more about git, you should better read the tutorial, the manual or gitmagic.

About this Archive

This page is an archive of recent entries in the Linux category.

Debian is the previous category.

Solaris is the next category.

Find recent content on the main index or look in the archives to find all content.