Follow these steps to create a custom Ubuntu 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 ubuntu.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 Ubuntu 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-ubuntu.iso ~/custom-iso
ubuntu.iso
with the name of your downloaded Ubuntu ISO.Burn or deploy your custom ISO:
For better management of your Linux servers, visit LinuxPatch.com - A powerful patch management platform.