[CentOS] Redhat CD with kickstart file

John Doe jdmls at yahoo.com
Thu Jun 17 10:47:01 UTC 2010


From: Anthony Davis <tony at specialistdevelopment.com>
> I am trying to create a custom iso that I can use to install 
> machines.  

This used to work for me (I think):

mount CentOS-XXX.iso /mnt/cdrom -t iso9660 -o loop
cp -a /mnt/cdrom /tmp/cdrom
cp ks.cfg /tmp/cdrom/
vi /tmp/cdrom/isolinux/isolinux.cfg
  default linux ks=cdrom:/ks.cfg

Mini iso (without packages):
cd /tmp/cdrom
mkisofs -o ../mini.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T isolinux/

Or full iso (with packages):
cd /tmp
mkisofs -o full.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T cdrom

JD


      



More information about the CentOS mailing list