You are not logged in.
Hello everybody,
I have an encrypted home and encrypted SWAP partition. All other partitions are not encrypted. However, when booting something tries to decrypt
my root partition and obviously fails. The rest of the boot goes fine.
The message is:
Failed to open encryption mapping. Crypt= parameter was not specified. /dev/sda5 is not a LUKS volumn.
Does anyone have an idea what might be wrong in my setup or with my system?
swap /dev/sda7 SWAP -c aes-cbc-essiv:sha256 -s 256
home /dev/sda6 ASK
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /tmp tmpfs mode=1777,size=1G,nosuid,nodev,noexec 0 0
none /var/tmp tmpfs mode=1777,size=1G,nosuid,nodev 0 0
/dev/sda3 /boot ext2 defaults,noatime 0 1
/dev/sda5 / ext3 defaults,noatime 0 1
/dev/mapper/home /home ext3 defaults,noatime,data=ordered 0 1
/dev/mapper/swap swap swap sw 0 0
Thanks and Best Regards,
steve
Offline
YOu have encrypt in your hooks?
Offline
Hi,
boot works normally, beside this strange message. If encrypt would be missing I assume my system would not boot at all.
My hooks:
HOOKS="base udev autodetect sata keymap encrypt filesystems"
Best Regards,
steve
Offline
I take it the second listing is your /etc/fstab. Is the first one /etc/crypttab?
Offline
In the /etc/crypttab, you may see:
# There are two special keywords that cannot be used as passphrases:
# - ASK ask for a passphrase on boot
So, you may not use the ASK option for /home partition (and only / the root partition can use it).
Just try with a passphrase or a keyfile, for the encrypted /home partition.
Last edited by cwjiof (2009-09-19 23:04:54)
Offline
The encrypt hook in mkinicpio.conf is *only* if you have encrypted root partition (which you don't) [EDIT: and it's exactly this which tries to decrypt your root partition]. For decrypting other partitions, use /etc/crypttab, as noted above.
Last edited by bender02 (2009-09-20 07:14:54)
Offline
The encrypt hook in mkinicpio.conf is *only* if you have encrypted root partition (which you don't) [EDIT: and it's exactly this which tries to decrypt your root partition]. For decrypting other partitions, use /etc/crypttab, as noted above.
Makes sense. Thanks a lot!
Offline