I can decrypt, but not mount my HDD

I am having trouble mounting this luks-encrypted ext4 HDD

I couldn’t find any relevant documentation or forums threads. I read threads from other people who had similar-ish problems on other systems (like this) and found the suggested solutions are:

  1. upgrade software (mount or some related program, or the linux kernel) — can’t do this in coreELEC AFAIK
  2. use tune2FS to disable the feature indicated by “unsupported optional features (10000)” (10000 is a reference but I can’t find out what it means) — I don’t want to do this without a better understanding of the issue to avoid creating more problems
  3. reformat the drive to avoid using the optional features — not doable right now

I would like to know if it is expected to be able to mount a drive in this situation? If not I will stop hitting my head against the wall!

ssh -p 22 root@myDevice.lan
##############################################
#                  CoreELEC                  #
#            https://coreelec.org            #
##############################################

CoreELEC (official): 21.3-Omega (Amlogic-ne.aarch64)
      Machine model: Amlogic
     CoreELEC dt-id: sc2_s905x4_4g_1gbit
      Linux version: 5.4.210 (portisch@ubuntu) #1 Tue Nov 4 19:31:24 CET 2025
      Kodi compiled: 2025-11-04 19:35:54 +0000

myDevice:~ # dmesg -c > /dev/null

myDevice:~ # cryptsetup open --type luks "/dev/sda1" "SDA1"
WARNING: Locking directory /run/cryptsetup is missing!
Enter passphrase for /dev/sda1: [entered password]

myDevice:~ # blkid | grep SD
/dev/mapper/SDA1: LABEL="myHdd" UUID="6beba89c-8ec6-4ef4-ac05-874fc0a5c893" BLOCK_SIZE="4096" TYPE="ext4"

myDevice:~ # mkdir -p /storage/mnt/mountPoint/

myDevice:~ # mount -t ext4 /dev/mapper/SDA1 /storage/mnt/mountPoint
mount: /storage/mnt/mountPoint: wrong fs type, bad option, bad superblock on /dev/mapper/SDA1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

mount /dev/mapper/SDA1 /storage/mnt/mountPoint
mount: /storage/mnt/mountPoint: wrong fs type, bad option, bad superblock on /dev/mapper/SDA1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

myDevice:~ # mount /dev/mapper/SDA1 /media
mount: /var/media: wrong fs type, bad option, bad superblock on /dev/mapper/SDA1,missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

myDevice:~ # dmesg
[  762.827293@1]  EXT4-fs (dm-5): couldn't mount RDWR because of unsupported optional features (10000)

myDevice:~ # journalctl 
Dec 27 09:12:55 myDevice kernel: EXT4-fs (dm-5): couldn't mount RDWR because of unsupported optional features (10000)

(I couldn’t find a line that included only relevant journalctl lines but there were not other entries for the time I was trying to get the drive to mount.)

TIA!

CE-NE is EOL and outdated. Try with CE-NO.

When I go to https://coreelec.org/#download, click the button for “Stable” and select my device details the download link I am provided is

https://github.com/CoreELEC/CoreELEC/releases/download/21.3-Omega/CoreELEC-Amlogic-ne.aarch64-21.3-Omega-Generic.img.gz

I think that’s the same one I have installed. It is EOL?

Where do I get NO? All I can find is this page CoreELEC nightly builds that has a warning at the top saying it’s unstable and annoying to use. I can’t see my device listed there.

2 Likes

But I use Nighties as I can always go back to an earlier working one if any issues and they often included a fix for reported issues.:slight_smile:

Its easy to do just drop earlier release in Update folder if it cocks up.