I did a fully encrypted installation (execept /boot) of Slackware (220.127.116.11) on my netbook using this nice howto > http://slackware.osuosl.org/slackwar...ADME_CRYPT.TXT
(starting at section "Combining LUKS and LVM
"), which works just fine.
Now I found out, that my Broadcom wireless chip only works with the b43 drivers on kernel 2.6.32.x (the original linux drivers from Broadcom work, but won't let me put the card in monitor mode).
So I updated to 18.104.22.168 using the config-generic-smp-22.214.171.124-smp from the boot folder and 'make oldconfig', because it looks like you can not use the 'huge' kernel with an initrd image.
Now, when I boot into the new kernel, he finds and activates the encrypted volumes, but fails to mount them.
Enter LUKS passphrase for /dev/sda2:
key slot 0 unlocked.
Reading all physical volumes. This may take a while...
Found volume group "cryptvg" using metadata type lvm2
3 logical volume(s) in volume group "cryptvg" now active
mount: mounting /dev/cryptvg/root on /mnt failed: No such device
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
You can try to fix it. Type 'exit' when things are done.
/bin/sh: can't access tty: job control turned off
When I try to mount it manually I get 'Invalid argument'
This was my first kernel update and I was not sure about some things, It seems like at some point I messed up.
Here is what I did after 'make oldconfig' and 'make modules_install':
copied the kernel and System.map to /boot
cp arch/i386/boot/bzImage /boot/bzImage
cp System.map /boot/System.map.new
ln -s /boot/System.map.new /boot/System.map
created a new initrd.gz
mkinitrd -c -k 126.96.36.199-smp -m ext2 -f ext2 -r /dev/cryptvg/root -C /dev/sda2 -L
The following is one of the steps I wasn't sure about (took it from a howto), because linking to the old modules will not include the modules I chose during 'make oldconfig' I suppose. Would be nice If someone could tell me something about this as well.
cp rc.modules-188.8.131.52-smp rc.modules-184.108.40.206-smp
ln -s /etc/rc.d/rc.modules-220.127.116.11-smp /etc/rc.d/rc.modules
created new entry in lilo.conf
image = /boot/bzImage
initrd = /boot/initrd.gz
label = 18.104.22.168
ran lilo and rebooted
Any help is appreciated.