From 5bd90dc28568a5a9c7426187e9349853dd925268 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 15 Apr 2023 01:48:24 +0200 Subject: [PATCH] Use fallocate instead of truncate --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a1dd7f6..9aeec4c 100644 --- a/install.sh +++ b/install.sh @@ -101,7 +101,7 @@ echo "Install: Creating partition table..." SYSTEM="$TMP/sys.img" SYSTEM_SIZE="4954537983" -truncate -s "${SYSTEM_SIZE}" "${SYSTEM}" +fallocate -l "${SYSTEM_SIZE}" "${SYSTEM}" PART="$TMP/partition.fdisk"