Skip to content

Media Setup to Create Ubuntu install

tazboyz16 edited this page Jul 24, 2017 · 3 revisions

Steps on Ubuntu Desktop to create the Custom ISO
Credit for beginning work on Creating Custom Auto Install Server ISO
https://pricklytech.wordpress.com/2013/04/21/ubuntu-server-unattended-installation-custom-cd/

  1. sudo mkdir -p /mnt/iso
  2. cd Downloads (or location of Ubuntu iso)
  3. sudo mount -o loop UbuntuServer.iso /mnt/iso
  4. sudo mkdir -p /opt/serveriso
  5. sudo cp -rT /mnt/iso /opt/serveriso
  6. sudo chmod -R 777 /opt/serveriso/
  7. cd /opt/serveriso
  8. echo en >isolinux/langlist (to set default/only Language of installer)
  9. sudo apt-get install system-config-kickstart (to create ks.cfg with encrypt password)
  10. Add the %POST commands from my example to your KS.cfg file for it to transfer the myapp folder over to Home Dir
  11. save the kickstart file ks.cfg to /opt/serveriso
  12. edit /opt/serveriso/isolinux/txt.cfg to make changes on default install, At the end of the append line add ks=cdrom:/ks.cfg. You can remove quiet — and vga=788
  13. Add myapps to /opt/serveriso
  14. create ISO with sudo mkisofs -D -r -V "ATTENDLESS_UBUNTU" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /opt/autoinstall.iso /opt/serveriso
  15. Rerun sudo chmod -R 777 /opt to gain rights to iso file

Edit files for xxxusernamexxx, xxxpasswordxxx, xxxPcnamexxx, and xxxdomainxxx to help with replacing with credentials easy

Clone this wiki locally