Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Installation • Mounting LUKS root partition on beagleboard

$
0
0
Hello,

I have the following setup: Booting beagleboard black industrial (5.10.168-ti-r71) from SD card which has 2 partitions:
  • Partition 1 is ext4 format and contains only the standard /boot directory files
  • Partition 2 is LUKS1 encrypted and contains all other files(/home /etc/ …)
At the moment when the system boots from partition 1, it decrypts the LUKS1 root partition and mounts these files in the correct location, however there are many failures regarding system services (refer to boot logs image below). Also sudo commands don’t work and ssh only works over serial connection not TCP/IP.

I tested the same 2 partition setup without any LUKS encryption and the board booted and functioned properly so I’m assuming the issue is something to do with mounting the LUKS partition. It looks to me like some services are being started before partition 2 is fully decrypted which is confusing me since these services are stored on the root partition so if they're available at all, they all should be available. I tried adding delays to the services with failures, but this just led to more new failures so I don't think this is solving the primary issue at hand.

Any suggestions on how I can debug this issue or maybe restart all services after booting? :)

Thanks!
Ciarán
fstab.png
bootlogs.jpeg

Statistics: Posted by Ciaran1 — 2024-04-27 11:42



Viewing all articles
Browse latest Browse all 2849

Trending Articles