Follow these steps to create a custom Debian ISO with your preseed file:
mkisofs
or genisoimage
on your local machine to embed the preseed file.Follow these steps to create a custom ISO:
# Mount the original ISO
mkdir /mnt/iso
sudo mount -o loop debian.iso /mnt/iso
# Copy contents to a working directory
mkdir ~/custom-iso
rsync -a /mnt/iso/ ~/custom-iso/
# Place the downloaded preseed file in the appropriate directory
cp ~/Downloads/preseed.cfg ~/custom-iso/preseed/
# Create the new ISO
sudo mkisofs -r -V "Custom Debian ISO" \
-cache-inodes -J -l -b isolinux/isolinux.bin \
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
-boot-info-table -o ~/custom-debian.iso ~/custom-iso
debian.iso
with the name of your downloaded Debian ISO.Burn or deploy your custom ISO:
For better management of your Linux servers, visit LinuxPatch.com - A powerful patch management platform.