Find the answer to your Linux question:
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.
  1. #1
    Just 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.

    Code:
    # dev/sda1 for /boot
    # /dev/mapper/system-swap for swap
    # /dev/mapper/system-root for /
    # /dev/mapper/system-usr for /usr
    After I have done everything, I can not get this partition, but I get

    Code:
    # /dev/mapper/swap
    # /dev/mapper/root
    # /dev/mapper/usr
    and if I still continue to do, goes mkinitrd not. Can someone give me help?

    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

  2. #2
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    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.

  3. #3
    Just 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.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    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.

  6. #5
    Just 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.

  7. #6
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •