diff --git a/image-recipe/build-auto-installer-iso.sh b/image-recipe/build-auto-installer-iso.sh index 59fe8f35..5206b282 100755 --- a/image-recipe/build-auto-installer-iso.sh +++ b/image-recipe/build-auto-installer-iso.sh @@ -236,6 +236,8 @@ RUN apt-get update && apt-get install -y \ firmware-realtek \ firmware-iwlwifi \ firmware-misc-nonfree \ + intel-microcode \ + amd64-microcode \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -1135,6 +1137,8 @@ fi # Format partitions echo " [2/6] Formatting partitions..." +# Zero out the BIOS boot partition to prevent FAT-fs read errors during boot +dd if=/dev/zero of="$BIOS_PART" bs=1M count=1 2>/dev/null || true mkfs.vfat -F32 -n EFI "$EFI_PART" mkfs.ext4 -F -L archipelago "$ROOT_PART"