From 172f65763f78edbd4cfa73bc5029672cd2eec5c9 Mon Sep 17 00:00:00 2001 From: Jeffrey Alan Scudder Date: Tue, 24 Mar 2026 21:48:49 -0700 Subject: [PATCH] fix: modprobe vfat/nls before USB mount, 10 retries Co-Authored-By: Claude Opus 4.6 (1M context) --- fedac/native/initramfs/init | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fedac/native/initramfs/init b/fedac/native/initramfs/init index 386dd91e38..e6bc0b4c50 100755 --- a/fedac/native/initramfs/init +++ b/fedac/native/initramfs/init @@ -52,9 +52,12 @@ export SSL_CERT_DIR="/etc/ssl/certs" export HOME="/tmp" # ── Mount USB EFI partition (for config.json, wifi_creds.json, logs) ── -# Retry a few times — USB devices may take a moment to appear +# Load filesystem modules and retry — USB takes time to appear +modprobe vfat 2>/dev/null +modprobe nls_cp437 2>/dev/null +modprobe nls_ascii 2>/dev/null USB_MOUNTED=0 -for attempt in 1 2 3 4 5; do +for attempt in 1 2 3 4 5 6 7 8 9 10; do for p in /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/nvme0n1p1; do if [ -b "$p" ]; then mkdir -p /mnt -- knotmirror 0.0.1