Closed ghost closed 3 months ago
Yes, something is broken, but you've provided literally no helpful information. Please describe how you used sdm to get to this point (sdm command line, etc), and the environment in which you're running it.
If you would like to move this process along more quickly, please also post /etc/sdm/history from the IMG you customized. If you added the encryption during the burn process, then also provide the sdm --burn
command line. Please remember to redact information you don't want shown (e.g., passwords and SSIDs)
I just followed this tutorial Disk-Encryption.md with these steps :
sudo curl --fail --silent --show-error -L https://github.com/gitbls/sdm/raw/master/sdm-cryptconfig -o /usr/local/bin/sdm-cryptconfig
sudo chmod 755 /usr/local/bin/sdm-cryptconfig
sudo sdm-cryptconfig --ssh --authorized-keys .ssh/authorized_keys
Reboot
sdmcryptfs /dev/nvme0n1 /dev/sda
-> Success
Reboot with error
So you now have it working?
No, as I indicated it doesn't work after the last restart
OK, thanks for clarifying. So this is on a system that you've already installed, booted, and run on disk /nvme0n1 and /dev/sda is your scratch disk? And, presumably this is on a Pi5?
PS Terse answers aren't very helpful. PPS I see now that the pictures have the above information, but would have been nice if you provided it in text along with the repro scenario at the outset of this.
Yes, I installed Raspberry Pi Os Lite 64 (for a Raspberry Pi 5) with Raspberry Pi Imager on a NVME disk then I directly followed the documentation to disk encryption.
I did the same installation on SD cards but I had no problems.
OK, thanks.
What NVME adapter? What manufacturer/model is your SSD?
Geekworm X1001 PCIe to M.2 NVMe SSD Shield
Needing to ask twice to get all the needed information is getting old.
As I previously asked: What manufacturer/model is your SSD?
I read a little quickly, sorry...
Crucial P1 1TB 3D NAND NVMe PCIe Internal SSD, up to 2000MB/s - CT1000P1SSD8
Thx. So just to confirm you used a Bookworm Lite IMG directly from the RPL downloads (presumably downloaded by rpi-imager)?
I'll be looking at this further later today.
I just did a complete repro on a Pi5 with a Geekworm X1001 and a Kingston NV2 NVMe drive
After the sdmcryptfs stage completes, the system continues through the boot process and then reboots itself again. Did you let it run to completion on this and reboot? This is a critical step.
So, no clue why yours is failing. It could be some weird problem with the Crucial NVMe SSD, you didn't wait (previous paragraph) or you modified the system in some way before running sdm-cryptconfig
If you want further help on this, let's start by you telling me every step you took, just as I did above. With as much detail as possible. If you made ANY changes to the system after it boots the first time, and before you ran sdm-cryptconfig, please describe them in detail.
Closing issue since the problem initiator (cAltaITc) no longer exists on GitHub.
Does anyone have any idea where this could be coming from please ?
I tried to reboot the raspberry pi but there is apparently a problem with cryptroot