Quantcast
Viewing all articles
Browse latest Browse all 4899

Raspberry Pi OS • Re: Disk Encryption

Rerunning the installer will get them this time.
Indeed that works flawlessly now!

I had my first try with some simple things like described in the getting started example. All worked a treat!

My first feedback on the docs: Impressive! Very extensive and very useful with the many examples. Also refreshing to read at it doesn't try to be to serious all the time Image may be NSFW.
Clik here to view.
:lol:


I might need to skip the encryption test for today as I need to organize a monitor and cabling to be able to do the interactive part in the initramfs - if I understood the docs correctly?
I hadn't tried this until now, but indeed, you CAN ssh into initramfs to do the interactive part! Nicely, the system continues on after sdmcryptfs completes.

Use:

Code:

--plugin cryptroot:"authkeys=/path/to/authorized_keys|ssh=y"
I use the same authorized_keys file that I use interactively on my LAN so that everything works seamlessly. Sounds like you don't need help with setting up ssh keys, but if you do, you might want to look at https://github.com/gitbls/rxapp a tool that makes starting remote X11 apps simple, but there are also very complete directions for setting up ssh keys.

And because I browsed the app install docs and examples a complete different topic - is their yet an example how to install docker with sdm? Could it be enough to have this two commands triggered from script maybe?

Code:

curl -fsSL https://get.docker.com -o install-docker.sh

Code:

sudo sh install-docker.sh
I'm not a big docker user (OK, I don't use it at all), and apparently none of the other sdm users do, since nobody has asked about this before.

That said, you can try another new feature in V12: The runscript plugin. To use it, create a script with the commands you want to run (e.g., the two you listed above), and feed it into runscript:

Code:

--plugin runscript:"script=/path/to/your/script|stdout=/path/to/stdout.txt|stderr=/path/to/stderr.txt"
runscript can take a additional arguments, but the above will run the specified script in sdm Phase 1 as user 'root', which should do what you want. stdout and stderr are optional but handy while debugging or if you run into problems.

Statistics: Posted by bls — Mon May 06, 2024 7:39 pm



Viewing all articles
Browse latest Browse all 4899

Trending Articles