- 1. To run the "Create-Custom-ISO.sh" program, the following files are required to be in the SAME directory as the script:
- a) CentOS-5.5-x86_64-bin-DVD-1of2.iso (not included here)
- b) CentOS-5.5-x86_64-bin-DVD-2of2.iso (not included here)
- c) comps.xml
- d) rpm.list
- e) ks.cfg (to create a kickstart image only)
- NOTE: You will need to copy the two CentOS 5.5 DVD images to this directory in order to run the script.
- Also be aware that you do not need to modify the "rootpw" or "user" fields in the "ks.cfg" file; this is done within the script when you run it.
- 2. To create an image file, you must change permissions to make the "Create-Custom ISO.sh" file executable. The options to run the "Create-Custom-ISO.sh" program are outlined below:
- USAGE: Create-Custom-ISO.sh -k | -r filename
- -k Create a DVD that installs CentOS automatically using a customized kickstart file.
- -r Create a customized CentOS installation DVD that boots with user interaction.
- You must enter either "-k" for a kickstart DVD or "-r" for a regular DVD.
- A valid (in Microsoft Windows) name for your new ISO file is also a required argument.
- 3. You may modify the supplied kickstart to your own needs. Note that the (modified) groups and software listings can be found in the "comps.xml" file. If you decide to customize further and add new software or software groups, you need to resolve all dependencies for RPM packages, add the names of all required RPM files to the "rpm.list" file, add any (new) RPMs to the all_rpms folder (once the script creates it) and lastly, you need to add any new groups and RPM package installation names to the "comps.xml" file. CentOS will automatically resolve all your dependencies at installation time (provided that you have all the necessary packages included in the image and your comps.xml file is correct).
- I have tried to make this revision of the CentOS 5.5 installation software more compatible and intuitive for a user to install in a virtual environment; the streamlining of groups and rearrangement of software packages were meant to make an installation that was more suited to a smaller hard drive installation. Feel free to add or improve on any of the supplied scripts or configuration files (such as getting the checksum for the created image to function).
- Happy coaster burning!!!
a guest Jan 22nd, 2011 1,066 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data