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
Last revisionBoth sides next revision
archlinux-raspberry-encrypted [2017/06/07 19:21] – [Configure Arch Linux, using a QEMU chroot] adminarchlinux-raspberry-encrypted [2017/06/07 19:25] admin
Line 49: Line 49:
   * Install QEMU.<code>dnf install qemu</code>   * Install QEMU.<code>dnf install qemu</code>
   * Enter the chroot:<code>cd /mnt/root   * Enter the chroot:<code>cd /mnt/root
-systemd-nspawn --bind /usr/bin/qemu-arm-static --bind /lib64 -b -D /mnt/root+systemd-nspawn --bind /usr/bin/qemu-arm-static -b -D /mnt/root
  
 # exit when finished with 'poweroff'</code> # exit when finished with 'poweroff'</code>
Line 57: Line 57:
   * 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