Re: [rock-user] Encrypted filessystem doesn't work ?

Benjamin Schieder <blindcoder-1k+CIuW/[email protected]> Thu, 27 Apr 2006 13:22:37 +0200
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tuan Anh TRINH wrote:
> Hi all,
> 
> I use crystal-rock-x86-rev6945-experimental.iso to install a new box for 
> testing encrypted filesystem function (on /home) with the partions look 
> like:
> 
> .../part1	256MB	swap
> .../part2	256MB	/home	(ext3)
> .../part3	3GB	/	(ext3)
> 
> I did things follow the instruction on the rocklinux.org to setup 
> encrypted filesystem on part2 (and mounted as /home). In stone, it show 
> part2 is encrypted.
> 
> I finish by run mkinitrd and reboot. After reboot, I check lsmod for 
> sure that all encrypt required modules are loaded and create some plain 
> text files on /home.
> 
> When I use livecd-x86-pentium-mmx-rev6454.iso to boot and mount part2 to 
> check for sure it is encrypted, unfortunately, all files and their 
> content still can be read? They are not encrypted?
> 
> How can I setup an encrypted /home like above? And how can I check that 
> is encrypted?

You can easily check that because after reboot, the initrd encrypts the
filesystem. It also asks you for a passphrase.
The encryption takes some time (on 256MB a few minutes, on 40 GB a few hours).
Anyway, could you pass me some information to help me analyze the problem?

The file /boot/grub/menu.lst
The file /etc/conf/dm/mounts
Your kernel version.
And the output of
ls -l /boot/

Greetings,
	Benjamin

- --
#!/bin/sh #!/bin/bash #!/bin/tcsh #!/bin/csh #!/bin/kiss #!/bin/ksh
#!/bin/pdksh #!/usr/bin/perl #!/usr/bin/python #!/bin/zsh #!/bin/ash

Feel at home? Got some of them? Want to show some magic?

	http://shellscripts.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFEUKl9r0OTeImXvg8RAmrEAKC5QOb16VILIhtkBUVZkXfVVIRdZgCdE11H
GzKf0wOv7JKdmRyBLMOW/dw=
=AmWA
-----END PGP SIGNATURE-----