Re: 2.5.69 Encrypted Root?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boyd Waters wrote:
> I cannot get util-linux-2.11z (patched with crypto-v2.diff) to work with
> the CryptoAPI; I get "invalid ioctl" errors. (I am sorry this is not
> more specific -- I will get my system working again in a few hours and
> can reproduce the errors.)

If you built cryptoloop+cryptoapi as modules, just make sure you have
necessary modules loaded.

> But I cannot get the build-initrd.sh script to work as expected.
> 
> I am able to use a the patches to create the kernel modules, and a
> patched losetup, and I am able to get things working from a command
> line. The initrd seems to load, but boots my unencrypted partition instead.
> 
> This may be an interaction with GRUB and devfs.

GRUB + devfs combination needs special care. Carefully read comments on the
beginning of build-initrd.sh script, it should be explained there. I only
tested GRUB + devfs combination on 2.4 kernels.

Regards,
Jari Ruusu <jari.ruusu@xxxxxxxxxx>

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux