Raspberry Pi: Full disk encryption

Ask questions about Arch Linux ARM. Please search before making a new topic.

Raspberry Pi: Full disk encryption

Postby cypher » Sun Dec 01, 2013 2:42 pm

Hi,

I'm trying to set up an arch linux with full disk encryption on my RPi. I created two partitions with vfat and ext4, (the latter one is located in a LUKS encrypted partition) and copied the files from the Arch RPi Image into.

Now I'm not quite sure how to proceed. My long term goal is unlocking the system via ssh (using the initramfs) but as a first step unlocking by entering the password via keyboard should be ok. For the latter case (the unlocking via keyboard), do I have to recompile the kernel to load the appropriate modules? And what changes do I have to apply to the cmdline.txt?

By the way, is there already an initramfs build into the Arch RPi kernel?

Best,
cypher
cypher
 
Posts: 2
Joined: Sun Dec 01, 2013 2:11 pm

Re: Raspberry Pi: Full disk encryption

Postby moonman » Mon Dec 02, 2013 12:30 am

THere was a thread in the raspberrypi section about exactly the same thing you are trying to do, with success. If I remember correctly ssh was built into initrd. Take a search.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Raspberry Pi: Full disk encryption

Postby cypher » Wed Dec 11, 2013 9:16 am

Thank you! I already did a quick search and found nothing. Same thing after your post. In the end i found it by looking over all the topics in the RPi-section :D. Strange.

However, for everybody else looking for ful disk encryption on the RPi, this is the link:
viewtopic.php?f=31&t=3770&p=30138&hilit=raspberry+initrd#p30138

Here's the link to the Tutorial based on the discusion: https://gist.github.com/pezz/5310082

A big thank you for pezz tutorial and for you pointing me at it :)!
cypher
 
Posts: 2
Joined: Sun Dec 01, 2013 2:11 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 12 guests