Jump to content

Recommended Posts

Posted (edited)

 After my last update on my radxa5-ITX, apart from the name changes of the NIC (related?), I remarked that I could not cryptroot-unlock the root partition because of dm_mod apparently missing from initramfs. To give some context, this is how I set things up some while ago and things went pretty smooth until recently.
2025-12-11-20-39-09-363.thumb.jpg.e72f1ed0a5cb32bdd46ca98617aee40a.jpg

Too bad armbian does not keep the previous kernel (though I get the reason why). Inspecting the boot partition, 

cat config-6.1.115-vendor-rk35xx | grep DM_CRYPT
CONFIG_DM_CRYPT=m


the kernel seems to have been compiled with the proper option and 

 

lsinitramfs initrd.img-6.1.115-vendor-rk35xx | grep 'usr.*cryptsetup'

usr/lib/aarch64-linux-gnu/libcryptsetup.so.12
usr/lib/aarch64-linux-gnu/libcryptsetup.so.12.9.0
usr/lib/cryptsetup
usr/lib/cryptsetup/askpass
usr/lib/cryptsetup/functions
usr/sbin/cryptsetup

and initramfs seems properly linked to the relevant libraries so I do not understand why device mapper remains unavailable.  At this point, I have no hypothesis except a very unlikely one

An unlikely hypothesis

Could failure to initialize the device mapper have nothing to do with dm_mod availability but be solely the side effect of 
 

2025-12-11-20-40-21-581.thumb.jpg.d8f0d2b06d43a64c45ae82c87060853d.jpg

 

Because I always unlocked the root part either from console or from a dropbear session, I understood device mapper init as an anterior step, independent from NIC availability. But is it really the case. What am I missing?

Edited by David Zarebski

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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines