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