-
Notifications
You must be signed in to change notification settings - Fork 11
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/
- sudo mkdir -p /mnt/iso
- cd Downloads (or location of Ubuntu iso)
- sudo mount -o loop UbuntuServer.iso /mnt/iso
- sudo mkdir -p /opt/serveriso
- sudo cp -rT /mnt/iso /opt/serveriso
- sudo chmod -R 777 /opt/serveriso/
- cd /opt/serveriso
- echo en >isolinux/langlist (to set default/only Language of installer)
- sudo apt-get install system-config-kickstart (to create ks.cfg with encrypt password)
- Add the %POST commands from my example to your KS.cfg file for it to transfer the myapp folder over to Home Dir
- save the kickstart file ks.cfg to /opt/serveriso
- 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
- Add myapps to /opt/serveriso
- 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
- 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