2011/3/20 Andrey Borzenkov <arvidjaar@xxxxxxxxx>: > 2011/3/20 jaivuk <jaivuk@xxxxxxxxx>: >> 2011/3/20 Amadeusz ÅoÅnowski <aidecoe@xxxxxxxxxxxx>: >>> First of all I haven't taken into consideration fact, that one can want >>> to use dracut for mounting something more than root. That's why there's >>> only key or only password. But it probably would be possible to >>> optionally ask for password, too. I will have to think of cases with >>> multiple devices to be decrypted and improve the module. >> >> Anaconda by added swap as well, and other things can be added manually >> as a kernel parameter... >> >>> What happens? Doesn't decrypt anything? Or just one of devices? >> Apparently anything. >> > [...] >>> 4) dmesg >> http://pastebin.com/nA4qVFcZ >> > > It shows that no additional device was seen by dracut. Have you > connected your USB key before booting? > Oops, sorry :( [ 9.326667] dracut: Probing /dev/sdc1 for /mykey... [ 13.161241] dracut: Found /mykey on /dev/sdc1 > [...] >> I added four more points: >> 6) To prove my key is OK, I tried below from dracut shell: (I'm sure >> key for other partitions is fine as well) >> #mkdir /mnt >> #mkdir /mnt/USB >> #mount /dev/sdc1 /mnt/USB >> (successful) >> >> #cryptsetup -d "/mnt/USB/mykey" luksOpen /dev/md1 >> luks-6508ce25-91d1-469a-9423-7b10ef00754e >> (successful) >> >> #ls /dev/mapper >> control >> luks-6508ce25-91d1-469a-9423-7b10ef00754e >> > > Could please paste dmesg *after* you have done it? > -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html