[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loop-AES 1.6f and gpg encrypted root trouble
mikael.laakso@bitstream.fi wrote:
> I'm having difficulties in booting with a GPG encrypted root partition,
> here is the relevant part of my dmesg:
>
> >RAMDISK: Compressed image found at block 0
> >Freeing initrd memory: 2k freed
> >VFS: Mounted root (minix filesystem) readonly.
> >Mounted devfs on /dev
^^^^^^^^^^^^^
> >Freeing unused kernel memory: 260k freed
> >Mounting /dev/hda1 as /lib failed
> >flushing ide devices: hda hdc
> >System halted.
You should use devfs names for /dev/hda1 and /dev/hda2 in build-initrd.sh if
you set USEDEVFS=1.
> I've used the updated build-initrd.sh together with the util-linux patches
> for util-linux-2.11t from
> http://loop-aes.sourceforge.net/updates/2002-07-17/.
Util-linux patches in loop-AES-v1.6f are newer than those in
http://loop-aes.sourceforge.net/updates/2002-07-17/
> build-initrd.sh has:
>
> BOOTDEV=/dev/hda1
BOOTDEV=/dev/discs/disc0/part1
> BOOTTYPE=ext2
> CRYPTROOT=/dev/hda2
CRYPTROOT=/dev/discs/disc0/part2
> ROOTTYPE=xfs
> USEGPGKEY=1
> GPGKEYFILE=rootkey.gpg
> USEMODULE=1
> USEPIVOT=1
> INITRDONLY=0
> SOURCEROOT=
> DESTINATIONROOT=
> DESTINATIONPREFIX=/boot
> USEDEVFS=1
Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/