Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


archlinux-raspberry-encrypted

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
archlinux-raspberry-encrypted [2017/06/07 19:23] adminarchlinux-raspberry-encrypted [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{tag>[hardware raspberry encrypted luks]}} {{tag>[hardware raspberry encrypted luks]}}
-~~TOC~~ 
 =====Raspberry Pi 3 - Arch Linux / encrypted root fs===== =====Raspberry Pi 3 - Arch Linux / encrypted root fs=====
 This how-to helps you to install Arch Linux on a Raspberry Pi, using an encrypted root filesystem. You will need to enter the passphrase every time you boot the device. Write speed will be slower, we got around 6-8MB/sec sequential write throughput. This how-to helps you to install Arch Linux on a Raspberry Pi, using an encrypted root filesystem. You will need to enter the passphrase every time you boot the device. Write speed will be slower, we got around 6-8MB/sec sequential write throughput.
Line 57: Line 56:
   * Update Arch Linux:<code>pacman -Suy   * Update Arch Linux:<code>pacman -Suy
 poweroff</code> poweroff</code>
-  * Enter the chroot again:<code>systemd-nspawn -bD /mnt/root</code>+  * Enter the chroot again:<code>systemd-nspawn --bind /usr/bin/qemu-arm-static -b -D /mnt/root</code>
   * Install LVM and cryptsetup:<code>pacman -S lvm2 cryptsetup</code>   * Install LVM and cryptsetup:<code>pacman -S lvm2 cryptsetup</code>
   * Add lvm2 and encrypt to HOOKS in ''/etc/mkinitcpio.conf'':<code>HOOKS="base udev autodetect modconf block lvm2 encrypt filesystems keyboard fsck"</code>   * Add lvm2 and encrypt to HOOKS in ''/etc/mkinitcpio.conf'':<code>HOOKS="base udev autodetect modconf block lvm2 encrypt filesystems keyboard fsck"</code>
archlinux-raspberry-encrypted.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1