From e761bff96821cba04e671a9f6d201c85863f1ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roddy=20Gonz=C3=A1lez?= Date: Mon, 19 Aug 2024 14:46:06 +0200 Subject: [PATCH] Add info about critical_filesystems_local rc variable --- content/posts/uefi-full-disk-encryption.md | 5 ++++- content/posts/uefi-netbsd-archlinux-dual-boot.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/content/posts/uefi-full-disk-encryption.md b/content/posts/uefi-full-disk-encryption.md index 2605ad1..ed155e9 100644 --- a/content/posts/uefi-full-disk-encryption.md +++ b/content/posts/uefi-full-disk-encryption.md @@ -327,7 +327,8 @@ The file rc.confg also needs to be edited rc_configured=YES # Add local overrides below. -# +critical_filesystems_local="OPTIONAL:/var OPTIONAL:/usr" + hostname=marte.local dhcpcd=YES dhcpcd_flags="-qM wm0" @@ -343,6 +344,8 @@ For example, my network device is `wm0`. And this example hostname is `marte.local`. Your network card and requirements may be different. +Also `critical_filesystems_local` variable is quite important. Since our `/usr` filesystem is not mounted at the beginning, some tools may not be available. We need to wait for it to be mounted before executing binaries from `/usr`. + # Unmount and reboot Umount the new system: diff --git a/content/posts/uefi-netbsd-archlinux-dual-boot.md b/content/posts/uefi-netbsd-archlinux-dual-boot.md index 81e003a..21bcce6 100644 --- a/content/posts/uefi-netbsd-archlinux-dual-boot.md +++ b/content/posts/uefi-netbsd-archlinux-dual-boot.md @@ -500,6 +500,7 @@ Then we edit `rc.conf`. ``` rc_configured=YES +critical_filesystems_local="OPTIONAL:/var OPTIONAL:/usr" # Add local overrides below. dhcpcd=YES