[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: root-crypto with loop-aes on debian-testing, 2.6.15-1-686--trying..
reverend@xxxxxxxxxxxxx wrote:
> Now it looks like there is no loop.ko for the used 2.6.15-kernel und
> /lib/modules, which, unfortunately, resides in the encrypted area of hda3.
> I have the 2.6.15 in use on another PC with multikey, but at the moment I don't
> have THAT right idea.
If you followed README instructions, including step 7 of "encrypting root
partition", then there should be a loop.ko module in
/boot/modules-KERNELRELEASE/ where KERNELRELEASE equals output of "uname -r"
command.
To copy that module using knoppix or other bootable/working installation,
you can do this:
su
mkdir /mnt2
mkdir /mnt3
mount -t ext2 /dev/hda1 /mnt2
mount -t ext2 /dev/hda3 /mnt3 -o loop=/dev/loop0,encryption=AES128,gpgkey=/mnt2/rootkey.gpg
mkdir /mnt2/modules-2.6.15
^^^^^^
cp -p /mnt3/lib/modules/2.6.15/block/loop.ko /mnt2/modules-2.6.15/
^^^^^^ ^^^^^^
umount /mnt2
umount /mnt3
And then reboot.
--
Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/