[CentOS] Redhat CD with kickstart file

2010-06-17 Thread Anthony Davis
Hi,

I am trying to create a custom iso that I can use to install machines.  
I want to include my custom kickstart file on the distro and when its  
put in get the system to build using it.

I have done some reading about this process, but i still havent been  
able to get it working with out any problems.

I have ripped the contents of the iso by mounting it on a loop back device.

I then put my kickstart file names ks.cfg into /isolinux/ on the ripped cd.

I then use mkisofs to recreate the iso, but every time i boot from it  
i get either unknown keyword in config file, could not find kernel  
image: linux or invalid or corrupt kernel image error messages.

Has anyone got a step by step guid to how to do this as this is  
driving me nuts!

Hope someone can help.

Thankyou!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Redhat CD with kickstart file

2010-06-17 Thread John Doe
From: Anthony Davis t...@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


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


Re: [CentOS] Redhat CD with kickstart file

2010-06-17 Thread kalinix
On Thu, 2010-06-17 at 11:15 +0100, Anthony Davis wrote:

 Hi,
 
 I am trying to create a custom iso that I can use to install machines.  
 I want to include my custom kickstart file on the distro and when its  
 put in get the system to build using it.
 
 I have done some reading about this process, but i still havent been  
 able to get it working with out any problems.
 
 I have ripped the contents of the iso by mounting it on a loop back device.
 
 I then put my kickstart file names ks.cfg into /isolinux/ on the ripped cd.
 
 I then use mkisofs to recreate the iso, but every time i boot from it  
 i get either unknown keyword in config file, could not find kernel  
 image: linux or invalid or corrupt kernel image error messages.
 
 Has anyone got a step by step guid to how to do this as this is  
 driving me nuts!
 
 Hope someone can help.
 
 Thankyou!
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


http://www.harkness.co.uk/other/RHEL4_custom_dvd.html

HTH,


-- 


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=
If you can read this, you're too close.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Redhat CD with kickstart file

2010-06-17 Thread Anthony Davis
Hi klanix,

Thanks for your help, will try it out.

Kind Regards

Tony


On 17 Jun 2010, at 11:53, kalinix wrote:

 On Thu, 2010-06-17 at 11:15 +0100, Anthony Davis wrote:
 
 Hi,
 
 I am trying to create a custom iso that I can use to install machines.  
 I want to include my custom kickstart file on the distro and when its  
 put in get the system to build using it.
 
 I have done some reading about this process, but i still havent been  
 able to get it working with out any problems.
 
 I have ripped the contents of the iso by mounting it on a loop back device.
 
 I then put my kickstart file names ks.cfg into /isolinux/ on the ripped cd.
 
 I then use mkisofs to recreate the iso, but every time i boot from it  
 i get either unknown keyword in config file, could not find kernel  
 image: linux or invalid or corrupt kernel image error messages.
 
 Has anyone got a step by step guid to how to do this as this is  
 driving me nuts!
 
 Hope someone can help.
 
 Thankyou!
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 http://www.harkness.co.uk/other/RHEL4_custom_dvd.html
 
 HTH,
 
 
 -- 
 
 
 Calin
 
 Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857
 
 =
 If you can read this, you're too close.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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