Re: dd of device for usage

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

 



Ah, worked like a charm!
Thanks alot!


/Jesse.

On Tue, Oct 10, 2006 at 11:43:36PM +0200, Jan Reusch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> >
> > so;
> > new-lappy:~# (ssh -lroot old-lappy dd if=/dev/hda2 bs=1024) >
> > /home/chunks/crypto.iso
> >
> > clever huh? =)
> > and here's the problem;
> > new-lappy:~# cryptsetup luksOpen /home/chunks/crypto.iso hda2
> > Enter LUKS passphrase:
> > /home/chunks/crypto.iso is not a LUKS partition
> > Enter LUKS passphrase:
> >
> >
> > And that was not so fun =/
> > Aint everything I need within the device I dd'd? how come it suddenly
> > thinks it aint a LUKS partition?
> > Can anyone tell me what I'm doing wrong?
> >
> try
> losetup /dev/loop/0 /home/chunks/crypto.iso
> cryptsetup luksOpen /dev/loop/0 hda2
> just tested it on my machine (ubuntu) and it worked fine this way.
> cu
> Jan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFFLBQHBpRI6A8tC0MRAopuAJ9HQrZoltMcyirNvsO9BlA6/4oX4wCfXu3X
> UaJ9OWlC5q1UvAGLv2eaQrQ=
> =iZyh
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
> To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
> For additional commands, e-mail: dm-crypt-help@xxxxxxxx

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[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