1 1
alihaydar

Armbian/OrangePi Root File System Encryption Problem

Recommended Posts

(edited)

Hi everyone,

 

I use Orangepipc and want to make full encryption of the root file system,

I applied the following topics, but each time it says "starting kernel ..." and freezes on the booting

 

What is the problem?

 

I tried OS;

Armbian_5.59_Orangepipc_Debian_stretch_next_4.14.65

Armbian_19.11.3_Orangepipc_buster_current_5.3.9

Armbian_20.02.1_Orangepipc_buster_current_5.4.20

Armbian_20.02.1_Orangepipc_bionic_current_5.4.20

 

and

https://ch1p.io/armbian-fde/

 

IMG_20200518_010358.jpg

 

Edited by alihaydar
crypsetup

Share this post


Link to post
Share on other sites

Cryptoroot feature has been broken for almost a year now. Nobody had time to dig into and fix it yet AFAIk. The feature also was a community contribution and not directly introduced by Armbian.

Share this post


Link to post
Share on other sites

Thanks for your reply.

Also i tried https://github.com/armbian/build with options CRYPTROOT_ENABLE=yes CRYPTROOT_PASSPHRASE="1234"

but there was some errors during compilation.

 

How can I encrypt the root file system for Orangepi with any operating system?
Is there another way?

 

Best Regards

Share this post


Link to post
Share on other sites
14 minutes ago, alihaydar said:

but there was some errors during compilation.

 

14 minutes ago, alihaydar said:

Is there another way?


Start there and debug. IMHO this is your by the far shortest way of getting where you want. Other options will require much more efforts.

 

14 minutes ago, alihaydar said:

with any operating system?

 

This is Armbian support forum ... which has best support for the hardware you tend to use.
 

Share this post


Link to post
Share on other sites
On 5/19/2020 at 6:19 PM, Igor said:

Start there and debug. IMHO this is your by the far shortest way of getting where you want. Other options will require much more efforts.

 

error.png

 

This is the error that occurs. What is the problem?

Related function;
 

check_loop_device()
{
    local device=$1
    if [[ ! -b $device ]]; then
        if [[ $CONTAINER_COMPAT == yes && -b /tmp/$device ]]; then
            display_alert "Creating device node" "$device"
            mknod -m0660 "${device}" b "0x$(stat -c '%t' "/tmp/$device")" "0x$(stat -c '%T' "/tmp/$device")"
        else
            exit_with_error "Device node $device does not exist"
        fi
    fi

 

Share this post


Link to post
Share on other sites
1 hour ago, alihaydar said:

This is the error that occurs. What is the problem?

 

Support terms https://github.com/armbian/build#support I gave you hints how to start, but free solving problems is not on the menu. You are welcome to open a bug, but you have no influence on resolving speed.

 

Also, in the documentation, there is a clear notice that feature is experimental:
 

Quote

Warning: This feature was added as community contribution and mostly functional. Under some circumstances though the prompt will not be shown. Therefore it should be considered experimental.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1