Re: [rock-user] Encrypted filessystem doesn't work ?
Benjamin Schieder <blindcoder-1k+CIuW/[email protected]> Thu, 27 Apr 2006 14:08:58 +0200
| Newsgroups | gmane.linux.distributions.rock.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tuan Anh TRINH wrote: >>You can easily check that because after reboot, the initrd encrypts the >>filesystem. It also asks you for a passphrase. > > Hm, after reboot it doesn't as any password except the common login prompt. > > >>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? > > It seems not processing like your description aboved. While I setting up > with stone, it also reports no error. > >>The file /boot/grub/menu.lst > > No such file, do you mean grub.cfg? > >>The file /etc/conf/dm/mounts >>Your kernel version. > > Here they are: http://www.vhc.com.vn/26/capture-01.JPG > >>And the output of >>ls -l /boot/ > > Here they are: http://www.vhc.com.vn/26/capture-02.JPG I think the problem is the root= parameter to your kernel. You have: linux (hd0,2)/boot/vmlinuz root=/dev/hda3 ro You should have: linux (hd0,2)/boot/vmlinuz root=/dev/ram0 ro Also, in the 6945 iso you need this additional kernel parameter: init=/linuxrc Which makes the complete line you need: linux (hd0,2)/boot/vmlinuz root=/dev/ram0 init=/linuxrc ro Hope that helps, 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) iD8DBQFEULRZr0OTeImXvg8RAsgnAJ9sHCQ2mt9JjTpLI8LuUz/FxienQQCgxNBf JN4IJQWOxfNRkOaceFZXI18= =q3DA -----END PGP SIGNATURE-----