Table of Contents

The Slackware installer

Install to Logical Volumes (LVM)

FIXME

Encrypted partitions

FIXME

Installation to encrypted partitions works well with the stock Slackware kernels.
If you want to compile your own custom kernel to work with LUKS encrypted partitions you need to enable at least the following two options in your kernel configuration:

Multiple devices driver support (RAID and LVM) --->
 <*> Device mapper support
 <*> Crypt target support

This is equivalent to the following options in your .config file:

CONFIG_BLK_DEV_DM=y
CONFIG_DM_CRYPT=y

Do not compile these as module! They are required in your kernel.

Using an initrd with a big kernel

When you use an initrd file for your box(a requirement for installing Slackware to LVM or LUKS partitions) you will notice that there is a maximum to the size of the kernel you use with it. If the kernel grows to big (like with the 'huge' kernels of Slackware > 12.0) you will see the following lilo error message:

Warning: The initial RAM disk is too big to fit between the kernel and the 15M-16M memory hole.
It will be loaded in the highest memory as though the configuration file specified "large-memory"
and it will be assumed that the BIOS supports memory moves above 16M.

As far as I know there is no remedy against this message - you need to shrink your kernel until there is room for the initrd image. A Slackware 'generic' kernel is small enough. The recommendation for 'huge' kernels is that they are not meant for daily use anyway. Either you compile your own custom kernel, or use one of the generic kernels with an initrd.

Errata

README_CRYPT.TXT

I'd like to correct two things omitted in the README_CRYPT.TXT file for Slackware 12.0. They relate to setting up an encrypted root partition in Slackware.

I hope this clarifies the issues some people reported to me after Slackware 12.0 was released.

– Eric 03-july-2007