Jump to content

Recommended Posts

Posted (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
Posted

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.

Posted

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

Posted
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.
 

Posted
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

 

Posted
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.

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines