Dev-mapper is now in the book.

--- old/crypt-rootfs.txt        2010-04-13 18:07:50.000000000 +0200
+++ new/crypt-rootfs.txt        2010-04-17 22:11:00.000000000 +0200
@@ -1,6 +1,6 @@
 AUTHOR: Lars Bamberger <Lars.Bamberger at gmx dot de>
 
-DATE: 2009-12-30
+DATE: 2010-04-17
 
 LICENSE: GNU Free Documentation License Version 1.2
 
@@ -48,35 +48,34 @@
 2. Required software and dependencies
 =====================================
 
-2.1 Software in the BLFS book
+2.1 Software in the BLFS book (BLFS-svn as of date of writing)
 
-You need to install 'Popt' as 'cryptsetup' depends on this.
+You need to install 'Popt' and 'Device-mapper' as 'cryptsetup' depends on this.
 Furthermore you need 'uuencode' to create key files. 'uuencode' is included in
 'sharutils' and 'GMime' which has further dependencies mentioned in the BLFS
-book. To create the initramfs, you need 'Cpio'.
+book. To create the initramfs, you need 'Cpio'. 
 
 2.2 Software not in the BLFS book
 
-2.2.1 devmapper
-
-Get it from http://packages.debian.org/stable/source/devmapper
-Compile and install it. Required for 'cryptsetup'.
-
-
-2.2.2 cryptsetup with LUKS extension
+2.2.1 cryptsetup with LUKS extension
 
 Get it from http://code.google.com/p/cryptsetup/
-Compile and install it. Required to handle encrypted partitions.
+Compile and install it. (CMMI-Standard) Required to handle encrypted 
partitions.
 
-
-2.2.3 busybox
+2.2.2 busybox
 
 Get it from http://www.busybox.net/
-The minimum required configuration includes:
-* cp
-* hush (interactive shell not required)
-* mount (with support for lots of -o flags) and
-* switch_root.
+
+The configuration system is quite similar to that of the Linux kernel.
+First, we build a minimalistic version of busybox:
+Do 'make allnoconfig' followed by 'make menuconfig' (or 'make config' if
+that doesn't work). Configure as follows:
+
+Busybox Settings -> Build Options -> Build as a static binary
+Coreutils -> cp
+Linux System Utilities -> mount with support for lots of -o flags
+Linux System Utilities -> switch_root
+Shells -> hush (interactive mode not required)
 
 Compile it, but DO NOT install it. Keep the binary and name it
 'busybox-minimum'. Next, reconfigure busybox for a full-blown desktop system.
@@ -166,6 +165,7 @@
    mkefs.$WHATEVER /dev/mapper/sd??
    Replace '$WHATEVER' with the type of filesystem you would like to use
    (e.g. ext2) and '/dev/mapper/sd??' with the corresponding partition.
+   NOTE: Do NOT use the -cc option. The system will hang forever!
 
 9) Adjust /etc/fstab
    Because the device for the partition has changed, you need to
@@ -424,6 +424,9 @@
 
 
 CHANGELOG:
+[2010-04-17]
+  * Dev-mapper is now in the BLFS book
+  * More verbosity for configuring busybox
 [2009-12-30]
   * Merged suggestions (typos, format and others) from Emmanuel Trillaud
   * More verbosity on the boot partition size
-- 
http://linuxfromscratch.org/mailman/listinfo/hints
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to