[clug] Can't mount an encrupted backup file system
jhock
jhock at iinet.net.au
Thu Jun 14 18:14:09 MDT 2012
Hi Ian,
I did the 'modprobe sha256' command with no improvement. I then did a
'sudo apt-get update' and noticed lots of packages were updated or
loaded. I then tried the 'sudo cryptsetup luksAddKey /dev/sdb1 backup'
command and got a little bit further this time:
$ sudo su -
# cryptsetup luksAddKey /dev/sdb1 backup
Enter any passphrase:
Verify passphrase:
NO key available with this passphrase.
#
There is no entry for 'backup' in the /dev/mapper directory.
On previous occasions I wasn't even prompted for a passphrase so the
update and/or 'modprobe sha256' command has moved me along slightly.
Thanks.
John
On Thu, 2012-06-14 at 10:30 +1000, Ian Munsie wrote:
> > This command on the old eeePC for the 1Tb backup disk gives:
> >
> > # cryptsetup luksDump /dev/sdc1
> > LUKS header information for /dev/sdc1
> >
> > Version: 1
> > Cipher name: aes
> > Cipher mode: cbc-essiv:sha256
> > Hash spec: sha1
> ...
> > old:
> > ====
> > $ cat /proc/crypto
> > name : ecb(aes)
> > name : sha256
> > name : sha224
> > name : cbc(aes)
> > name : cbc(aes)
> > name : aes
> > name : aes
> > name : stdrng
> > name : md5
> >
> > new:
> > ====
> > $ cat /proc/crypto
> > name : cbc(aes)
> > name : ecb(aes)
> > name : aes
> > name : aes
> > name : ecb(arc4)
> > name : arc4
> > name : stdrng
> > name : md5
>
> The hash you are using (sha256) is missing from your new kernel, can you try
> running (as root):
>
> modprobe sha256
>
> Then try mounting the filesystem again.
>
> Cheers,
> -Ian
More information about the linux
mailing list