using decrypt_derived on a second (non-swap) partition

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

 



Hi,

Is it possible to use the decrypt_derived script to mount a second
(non-swap) partition with the same passphrase as the root partition?

I tried the following et /etc/crypttab:

	cmd1 /dev/md1 none luks
	# cmd2 /dev/md2 none luks
	cmd2 /dev/md2 cmd1 keyscript=/lib/cryptsetup/scripts/decrypt_derived,luks

(/dev/mapper/cmd2 is mounted on /backup)

But I get this error when running "/etc/init.d/cryptdisks restart":

	galba:/home/ldm# /etc/init.d/cryptdisks restart
	Stopping remaining crypto disks...cmd1 (busy)...cmd2 (stopped)...done.
	Starting remaining crypto disks...cmd1 (running)...cmd2 (starting)...
	No key available with this passphrase.
	No key available with this passphrase.
	No key available with this passphrase.
	cmd2 (failed)...failed.
	done.

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux