I didn't get any reply from the address in README_CRYPT.TXT, then I'll try here...
The errata for Slackware 12.0 README_CRYPT.TXT (
http://alien.slackbook.org/dokuwiki/...e:setup#errata) mention the missing command:
Code:
# mount -o bind /dev /mnt/dev
I had the same problem in Slackware 12.1 and 12.2 (no LVM) but the updated README_CRYPT.TXT doesn't say anything about it.
I can see that the Slackware 12.1 and 12.2 installer mount /sys and /proc, but it doesn't seem to mount /dev, am I missing something?
I've never been able to mount /dev anyway, so I'd suggest to do this instead of just "lilo":
Code:
# exit #from the "chroot /mnt"
# lilo -C /mnt/etc/lilo.conf
(/boot is a symlink to /mnt/boot, the only thing out of place would be lilo.conf, requiring the -C option)
A couple of notes about README_CRYPT.TXT, "Encrypted root filesystem" section:
Quote:
When the LILO configuration pops up, tell lilo
that your root partition is '/dev/mapper/cryptroot'. Lilo will try to
install and fail, and will tell you so.
|
The expert lilo.conf setup menu actually asks for two devices: the root partition (root=) and the location to install the LILO boot block (boot=).
For the latter I assume I have to enter the correct location, in my case /dev/hda (the field was already filled correctly).
Quote:
Look up the line that says "boot = /dev/mapper/cryptroot"
which is the device for your root partition and which was the reason for
lilo failing to install.
|
That line shouldn't need fixing, as long as you answered correctly to liloconfig.
The reason for lilo failing to install in the setup is the line that says: "root = /dev/mapper/cryptroot", since liloconfig does a "lilo -r /mnt" (chroot to /mnt before doing anything else) and you get:
Code:
Fatal: Illegal 'root' specification: /dev/mapper/cryptroot
Thanks to all who worked on encrypted partition support for Slackware, it solved me a lot of problems!
-kc-