Thats nice! I think it is remarkable how good encrypted root filesystem support in Slackware 12.0 is.
I used the the mentioned file README_CRYPT.TXT and I think everyone should read
http://alien.slackbook.org/dokuwiki/...lackware:setup for actually changes.
Everything works now really nicely but I was confused by the hints for your lilo.conf in Row 246. I think there is a typo in here:
Quote:
* We have one additional change to make, and that is almost at the top
of the file. Look up the line that says "boot = /dev/mapper/cryptroot"
and which was the reason for lilo to fail installing itself. Change the
boot device to name of the small *unencrypted* partition you've created
and which is mounted under '/boot'. Assuming the name of that partition is
'/dev/sda4', the "boot =" line must become like this:
boot = /dev/sda4
|
Because at the top of the lilo.conf file where it says "boot =" I put the the device not a partition. In my case it is "boot = /dev/hda" and the bootpartition (in my case /dev/hda1) is called in the line with "root = /dev/hda1". So my lilo.conf looks like that and works perfectly:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
compact # faster, but won't work on all systems.
#prompt
#timeout = 5
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.21.5-smp
initrd = /boot/initrd.gz
root = /dev/hda1
label = nemesis
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
So I'm not sure what the best lilo.conf would be, but I think the lilo.conf in README_CRYPT.TXT is not working as far as I'm concerned.