Re: How to Automate Centos 5.7 CD bare bones build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: J.W. slone <jslonejr@xxxxxxxxx>

>Does anyone know how to automate a CD Centos 5.7 build.?
>1) new bare bones workstation ( PXE enabled)
>2) Boot from CD to the boot prompt
>3) At the boot: linux ks=http://x.x.x.x/ks/cfg/org/1/label/Centos5.7
>
>The workstation is able to connect to the server and the kick-start works great.!
>Question: how can I automate  linux ks=http://x.x.x.x/ks/cfg/org/1/label/Centos5.7 on the CD?
>Unattended installation after installing the cd into the workstation 

Something like that (untested)?

mkdir /tmp/cdrom
mount CentOS-5.7-x86_64-bin-DVD.iso /mnt/cdrom -t iso9660 -o loop
cp -a /mnt/cdrom /tmp/cdrom
umount /mnt/cdrom
cd /tmp/cdrom

vim isolinux/isolinux.cfg
  default linux ks=http://x.x.x.x/ks/cfg/org/1/label/Centos5.7
  timeout 3
chmod u+w isolinux/*

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/

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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux