Re: Unencrypting file system

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 29 August 2001 20:56, mclinden@xxxxxxxxxxxx wrote:
> Excuse me if the answer is obvious but this is one of these cases
> where I cannot afford to make a mistake. I need to unencrypt a file
> system for the purposes of moving it. The data on it is dynamic but I
> can, if need be, put the system into single user mode to do this. The
> question is, what is the best way to convert to an unencrypted file
> system? I'm using the 2.4.3 release.
<snip>

I assume you use the kerneli patches.

You can losetup the source cryptfile, but not mount it. Then losetup 
the target cryptfile; also don't mount it. Let's call /dev/loop1 the 
source and /dev/loop2 the destination. Do

dd if=/dev/loop1 of=/dev/loop2 bs=4k

bs should be <= the blocksize of your (source) underlying filesystem.

Marc

- -- 
The sickening fundamentalists [Talibans] brought a misery on our
people that few people, even those under other fascist and
bloodthirsty religious or non-religious regimes have ever faced. But
unfortunately the world is silent even in the face of all these crimes
and cruelties.
    -- "28th April is gloomier than 27th of April"
       RAWA statement on the black day of Apr 28, http://www.rawa.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7jZLk3oWD+L2/6DgRAi3BAKCJ+JYl+ZdUxlkT/qFA5Ugzz0cZsACg0iCz
zsvkCkS+I1CU0ypcrtGJ33E=
=SZnS
-----END PGP SIGNATURE-----


Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux