Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Facing error in CRYPTROOT_ENABLE option with buster image for opi3

Featured Replies

Dear All,
I am trying to prepare the rootfs for opi3 board with CRYPTROOT_ENABLE option to yes using below command but getting error as below. 

./compile.sh  BOARD=orangepi3 BRANCH=current RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img CLEAN_LEVEL=images OFFLINE_WORK=yes CRYPTROOT_ENABLE=yes CRYPTROOT_PASSPHRASE="MYSECRECTPASS" CRYPTROOT_SSH_UNLOCK=yes CRYPTROOT_SSH_UNLOCK_PORT=2222 CRYPTROOT_PARAMETERS="custom cryptsetup options"

 

invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (241-7~deb10u4) ...
[ o.k. ] Calling image customization script [ customize-image.sh ]
[ o.k. ] Unmounting [ /home/sysadmin/Desktop/nikunj/build/.tmp/rootfs-current-orangepi3-buster-no-yes ]
[ o.k. ] Preparing image file for rootfs [ orangepi3 buster ]
[ o.k. ] Current rootfs size [ 654 MiB ]
[ o.k. ] Creating blank image for rootfs [ 944 MiB ]
[ .... ] dd:  944MiB [ 262MiB/s] [===================================================================================================================================================================>] 100%
[ o.k. ] Creating partitions [ /boot: ext4 root: ext4 ]
[ .... ] Encrypting root partition with LUKS... [ cryptsetup luksFormat /dev/loop0p2 ]
Device custom doesn't exist or access denied.
Device /dev/loop0p2 is not a valid LUKS device.

[ o.k. ] Root partition encryption complete. 
[ error ] ERROR in function check_loop_device [ image-helpers.sh:79 ]
[ error ] Device node /dev/mapper/armbian-root does not exist 

[ o.k. ] Process terminated 
[ o.k. ] Unmounting [ /home/sysadmin/Desktop/nikunj/build/.tmp/rootfs-current-orangepi3-buster-no-yes/ ]
Device armbian-root is not active.
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:66 ]
[ error ] debootstrap-ng was interrupted 
[ o.k. ] Process terminated 
 

it will be great support if anyone can guide me what should be wrong by me so i can move forward and validating this feature.

Thanks & Best Regards,
Nikunj Patel

Edited by Nikunj Patel
missing some points

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.