Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


archlinux-raspberry-encrypted

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
archlinux-raspberry-encrypted [2017/06/07 18:48] adminarchlinux-raspberry-encrypted [2017/06/07 19:21] – [Configure Arch Linux, using a QEMU chroot] admin
Line 48: Line 48:
 The next steps will modify the Arch Linux install on the SD card. So it can use the encrypted root filesystem. The next steps will modify the Arch Linux install on the SD card. So it can use the encrypted root filesystem.
   * Install QEMU.<code>dnf install qemu</code>   * Install QEMU.<code>dnf install qemu</code>
-  * Copy the qemu-arm-static:<code>cd /mnt 
-cp /bin/qemu-arm-static /mnt/root/usr/bin</code> 
   * Enter the chroot:<code>cd /mnt/root   * Enter the chroot:<code>cd /mnt/root
-systemd-nspawn -bD /mnt/root+systemd-nspawn --bind /usr/bin/qemu-arm-static --bind /lib64 -b -D /mnt/root
  
 # exit when finished with 'poweroff'</code> # exit when finished with 'poweroff'</code>
   * Log in with ''root:root'' or ''alarm:alarm''.   * Log in with ''root:root'' or ''alarm:alarm''.
 +  * You might need to configure ''/etc/resolv.conf'' manually.<code>rm /etc/resolv.conf #symlink
 +vi /etc/resolv.conf</code>
   * Update Arch Linux:<code>pacman -Suy   * Update Arch Linux:<code>pacman -Suy
 poweroff</code> poweroff</code>
archlinux-raspberry-encrypted.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1