On 31 Jul 2015, at 12:15, Richard W.M. Jones <[email protected]> wrote:

> On Wed, Jul 29, 2015 at 01:12:11PM +0100, Keith Roberts wrote:
>>> <rescue> cryptsetup open /dev/sda2 sysroot
>> Enter passphrase for /dev/sda2: 
>> [  355.726880] device-mapper: table: 253:0: crypt: unknown target type
>> [  355.727799] device-mapper: ioctl: error adding target to table
>> device-mapper: reload ioctl on temporary-cryptsetup-148 failed: Invalid 
>> argument
>> Failed to open temporary keystore device.
>> device-mapper: remove ioctl on temporary-cryptsetup-148 failed: No such 
>> device or address
>> ...
>>> <rescue> 
>> 
>> Any ideas why I cannot open the LUKS encrypted partition please?
> 
> It's a good question.  The error seems to indicate that the
> dm-crypt.ko kernel module is not loaded, so I guess you could try
> 'modprobe dm-crypt' before the cryptsetup command.  (Also check your
> *host* kernel supports dm-crypt).
> 
> Rich.

Thanks for your reply Rich.

I’ll take another look at this soon.

Kind Regards,

Keith


> -- 
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-top is 'top' for virtual machines.  Tiny program with many
> powerful monitoring features, net stats, disk stats, logging, etc.
> http://people.redhat.com/~rjones/virt-top


_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to