commit bc6118911f670c7a01e7a9153b8b01340f3f448f
parent fb1dfc8f99625045e1204f1b4aafec3dc6223adc
Author: torter <koubbamohamedrayan@gmail.com>
Date: Sat, 14 Nov 2026 23:23:30 +0000
initramfs: import the pool with -f
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iso/init b/iso/init
@@ -23,7 +23,7 @@ mkdir -p /mnt/root
if [ -n "$zfs" ]; then
while read -r ko; do insmod "$ko" || fail "cannot load $ko"; done < /modules.zfs
n=0
- until zpool import -N -d /dev "${zfs%%/*}" 2>/dev/null; do
+ until zpool import -N -f -d /dev "${zfs%%/*}" 2>/dev/null; do
n=$((n + 1))
[ $n -lt 15 ] || fail "cannot import the pool ${zfs%%/*}"
sleep 1