From 0c2fde592933a2b9cfb0ffa50b7bcf073aa08b80 Mon Sep 17 00:00:00 2001 From: Denis Stoecklmeier Date: Thu, 15 Oct 2026 08:27:43 +0200 Subject: [PATCH] =?UTF-8?q?Unterst=C3=BCtze=20handels=C3=BCbliche=2016-GB-?= =?UTF-8?q?USB-Sticks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install-usb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-usb.sh b/scripts/install-usb.sh index 26c3c9b..d3e43f0 100755 --- a/scripts/install-usb.sh +++ b/scripts/install-usb.sh @@ -21,7 +21,7 @@ if lsblk -nr -o MOUNTPOINT "$DEVICE" | grep -q '[^[:space:]]'; then echo 'USB contains mounted partitions; unmount them before continuing.' >&2; lsblk "$DEVICE"; exit 2 fi size_bytes=$(blockdev --getsize64 "$DEVICE") -((size_bytes >= 16*1024*1024*1024)) || { echo 'USB must be at least 16 GiB.' >&2; exit 2; } +((size_bytes >= 12*1024*1024*1024)) || { echo 'USB must be at least 12 GiB.' >&2; exit 2; } iso_bytes=$(stat -c %s "$ISO") ((iso_bytes < 4294967295)) || { echo 'ISO exceeds the FAT32 single-file limit.' >&2; exit 2; } model=$(lsblk -dn -o MODEL "$DEVICE" | xargs)