From 4a33d9ff91d38cbd16a42f0ce57d5d5a5a72e1e2 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Sun, 19 Apr 2020 13:30:11 +0200 Subject: [PATCH] Solved typo mistakes --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b77461..1d0f9e8 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ pacman -S nano ```bash pacman -S busybox mkinitcpio-dropbear mkinitcpio-utils mkinitcpio-netconf ``` -#### 3.3 Copy authorized keys to dropbear +#### 3.2 Copy authorized keys to dropbear > :warning: I don't know if the following step is correct. Later during executing ***mkinitcpio -p linux*** the following error appears: ```bash -> Running build hook: [dropbear] @@ -116,21 +116,24 @@ Error: Unrecognised key type Error reading key from '/etc/ssh/ssh_host_ecdsa_key' ``` I assume this is connected to this. +The following links may help to solve the problem: +* https://github.com/grazzolini/mkinitcpio-dropbear/issues/8 ```bash cp -v ~/.ssh/authorized_keys /etc/dropbear/root_key ``` -#### 3.2 Modify /etc/mkinitcpio.conf + +#### 3.3 Modify /etc/mkinitcpio.conf :minidisc: : ```bash nano /etc/mkinitcpio.conf ``` ##### Replace -Old: +**Old:** ``` HOOKS=(base udev autodetect modconf block mdadm_udev lvm2 filesystems keyboard fsck) ``` -New: +**New:** ``` HOOKS=(base udev autodetect modconf block mdadm_udev lvm2 netconf dropbear encryptssh filesystems keyboard fsck) ``` @@ -308,7 +311,7 @@ mount --bind /proc /mnt/proc chroot /mnt ``` ### 7.2 Logout from chroot environment -:ghost: :ambulance : +:ghost: :ambulance: : ```bash exit umount /mnt/boot /mnt/proc /mnt/sys /mnt/dev