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.

Cryptsetup not able to luksOpen

Featured Replies

[BANANA PI PRO - SO running on SD]

 

So, on every system upgrade I do, I end up with something broken. Normally it won't boot because of some kernel misconfiguration or due the encrypted HDD that I use connected to it.

 

On the last upgrade the same occurred. However, normally, I can solve stuff by myself. This time I couldn't fix everything (yet). I think that the only solution would be me compiling the kernel myself.

 

First the system wouldn't boot. After a few kernel replacements, I could make it boot, kind of.

 

If I have my encrypted LUKS HDD connected to it, it will boot to some degree and hang in there forever. If I take it out and put it back on, the boot continues.

If I boot without the HDD, it will boot "normally".

 

So, the setup I'm using is that the HDD would be decrypted on boot time. What I think that is happening is that it is not able to decrypt and hangs in there asking for the password (which shouldn't be asked as I'm using a key). Once the HDD is removed, it won't try to decrypt anymore and proceed.

 

So, I think after messing for a while that the kernel was not compiled with the crypto module:

 

root@bananapipro:~$ sudo cryptsetup luksOpen /dev/sda1 sdX_crypt
Cannot initialize device-mapper. Is dm_mod kernel module loaded?

 

I've tried different kernels: 4.11, 4.14, 4.9, ... All on the 4.x didn't work. Before the upgrade, if I'm not mistaken, I was running 3.10.x . So, my question is if these new kernels (4.x) are not being compiled with it and how can I compile it myself?

 

Thanks

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.