Manjaro with LUKS on a UFS drive

Hi,

I’m trying to install Manjaro on a Surface Go 4, which (unlike the previous models of this device) uses a UFS drive.
The installation succeeds, including an encrypted LUKS partition, but after the installation I can’t boot.
After entering the LUKS password, I’m getting:

error: access denied.
error: disk 'cryptouid/006...' not found.
Entering rescue mode...

From searching online I got the impression this might be an issue of the UFS drivers not being loaded on time (or at all). Shooting a bit in the dark, I tried adding ufshcd and ufshcd-pci to the MODULES of mkinitcpio, but it complained about not finding ufshcd. I don’t know if that’s the direction though, and don’t know how to further troubleshoot the issue.
All help would be appreciated!

This might help.
The modules to access the usb must be present in the initrd.
(I suppose it is usb - I hah never heard of ufshcd)

If you do:
lsmod
and look for the name, you should see which module it depends on

UFS is what you get in phones, tablets, etc.

As far as I can tell, it uses MIPI M-PHY, not USB.

2 Likes

I didn’t think to check in lsusb, will do so as soon as I can get to it.
But I think @dmt is correct and I’m not optimistic I will find it there :frowning:
Any clue what would be the right module in this case? The Manjaro installer can access the drive, so it definitely exists, I just don’t know how to pinpoint it to add it via mkinitcpio.

lsmod
will list a lot - but also the one thing you need

Can’t be more specific - since I didn’t even know what @dmt mentioned.
I had never encountered it.