Re: initramfs and loop-aes

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

 



After repeating loop-aes setup I'm sure, that it should work, but it doesn't. I'll give you all configurations:

I'm using gentoo with suspend2-sources kernel v. 2.6.20, compiled loop-AES v3.2a, dietlibc 0.30, util-linux 2.12r.
When booting from USB flashdrive, kernel boots ok until this:

RAMDISK: Compressed image found at block 0
Replacing swsusp.
No storage allocator is currently active. Rechecking weather we can use one.
Compression Driver: Argh! Nothing follows me in the pipeline!
Compressor didn't initialise okay.
Suspend2: Initialise modules failed!
VFS: Mounted root (minix filesystem) readonly.
Mounting /dev/sdc as /lib failed
md: stopping all md devices.
.
.
System halted.
.
.
(follow some suspend2 related messages)
Note that equal output comes if there is no encrypted root (I switch my sata drives sata1,sata2 <-> sda, sdb). No password is asked.


--configurations--

syslinux.cfg:
default linux
timeout 0
prompt 0
label linux
kernel vmlinuz
append initrd=initrd.gz root=100 init=/linuxrc rootfstype=minix


build-initrd.sh :
USEDEVFS=0
USEPIVOT=1
BOOTDEV=/dev/sdc
BOOTTYPE=vfat
CRYPTROOT=/dev/sda1
ROOTTYPE=reiserfs
CIPHERTYPE=AES128
LOINIT="-I 0"
USEGPGKEY=1
GPGKEYFILE=keyfile
EXTERNALGPGFILES=0
EXTERNALGPGDEV=/dev/fd0
EXTERNALGPGTYPE=ext2
USEMODULE=1
INITRDONLY=0
SOURCEROOT=
DESTINATIONROOT=
DESTINATIONPREFIX=/boot
INITRDGZNAME=initrd.gz
ROOTLOOPINDEX=5
TEMPLOOPINDEX=7
LOOPMODPARAMS=""
UTF8KEYBMODE=0
LOADNATIONALKEYB=0
INITIALDELAY=0
MOUNTDELAY=0
TOOLSPROMPT=0
USEROOTSETUP=0
USEDIETLIBC=1

initrd.conf:
BOOTDEV=/dev/sdc            # partitionless USB-stick device
BOOTTYPE=vfat
CRYPTROOT=/dev/sda1
ROOTTYPE=reiserfs
CIPHERTYPE=AES128
LOADNATIONALKEYB=0
INITIALDELAY=0

/etc/fstab:
/dev/sda2    none            swap     sw,loop=/dev/loop6, encryption=AES128 0 0
/dev/loop5    /         reiserfs defaults      0 1
none            /proc         proc     defaults        0 0
none            /dev/shm      tmpfs    defaults        0 0


USB flashdisk directory:
modules-2.6.20-suspend2-r6 ---> loop.ko
aespipe
gpg
initrd.conf
initrd.gz
insmod
ld-linux.so.2
ldlinux.sys
libc.so.6
libz.so.1
keyfile
losetup
syslinux.cfg
System.map-2.6.20-suspend2-r6
vmlinuz

kernel configuration is in attachment.
I would really appreciate some help!

Attachment: config-suspend2.bz2
Description: BZip2 compressed data


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