Results 1 to 6 of 6
hi,
I try to encrypt root file system on Opensuse 11.1 and I have found up to two possibilities.
1. h**p://en.opensuse.org/Encrypted_Root_File_System - Encrypted Root File System - openSUSE
2. h**p://lizards.opensuse.org/2009/03/18/encrypted-root-file-system-on-lvm/ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-12-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 3
Encrypted Root File System on LVM
hi,
I try to encrypt root file system on Opensuse 11.1 and I have found up to two possibilities.
1. h**p://en.opensuse.org/Encrypted_Root_File_System - Encrypted Root File System - openSUSE
2. h**p://lizards.opensuse.org/2009/03/18/encrypted-root-file-system-on-lvm/ - openSUSE Lizards encrypted root file system on LVM
In the first case, i have a Problem with entering password, for each partition on encrypted disk, i must enter my password.(For 3 partition 3 times)
And in the second version to get i nowhere.
After I have done everything, I can not get this partition, but I getCode:# dev/sda1 for /boot # /dev/mapper/system-swap for swap # /dev/mapper/system-root for / # /dev/mapper/system-usr for /usr
and if I still continue to do, goes mkinitrd not. Can someone give me help?Code:# /dev/mapper/swap # /dev/mapper/root # /dev/mapper/usr

PS: I asked the question last week in the two German forums, but until now I have got no reply if I get an answer I keep lead.
Thank you,
Regards,
Mustafa
- 07-12-2010 #2Linux Newbie
- Join Date
- Mar 2007
- Posts
- 138
Normally, if you use an encrypted file or partition you need a password to mount it.
So while making an encrypted file or partition you need to make that password.
After creating that encrypted file or partition you can mount it with that password.
So this is not the user or root password.
This applies not only to linux but also other OS.
- 07-12-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 3
The problem in the first case that I must be enter the password three times in succession, even though the same password. So I try with the second.
- 07-12-2010 #4Linux Newbie
- Join Date
- Mar 2007
- Posts
- 138
That's quite normal I would say.
Everytime you mount an encrypted file or partition, you must enter a password.
Even if you use the same password.
Mounting without a password is not possible.
This is inherent to encryption.
- 07-12-2010 #5Just Joined!
- Join Date
- Jul 2010
- Posts
- 3
yep, I know, but at each start 3 times enter password annoying, so I try with LVM, there comes only once.
- 07-12-2010 #6
Just wonder why you encrypt the the root partition? Generally you need only to protect the data and data should be on its own partition like the home partition or special data partition. Encrypting program files seem a bit much. Also to me encrypting swap is a bit paranoid unless you are dealing with state secrets....maybe. With enough memory you never use swap anyway.


Reply With Quote
