1

Using centos 6.2 I would like to kickoff installation via a kickstart file on a remote machine. In centos 5 I noticed that there is an initial prompt where the kickstart location can be set, but I haven't seen anything similar in the centos6 boot process.

At the moment I've attempted to use the netinstall ISO, but it seems to only give the option to select an "installation image".

Is there a way to point to a remote kickstart file (using minimal or netinstall ISOs) without the need to create a custom ISO?

ewwhite
  • 197,159
  • 92
  • 443
  • 809
monkut
  • 255
  • 3
  • 13
  • Is there any reason why you do not do a PXE install? – Nils Mar 07 '12 at 20:44
  • Just starting with what I know. PXE would be nice since I wouldn't even need to burn a disc to get started. I've briefly looked over PXE install, but haven't found a good guide. – monkut Mar 08 '12 at 04:18

2 Answers2

3

Using the netinstall or regular DVD, Press TAB to edit your kernel boot options.

enter image description here

After doing so, you will receive a prompt where you can add kernel options or change the boot lines.

In the example below, I've added a basic command to fetch the kickstart from a remote server.

Note - the format is no longer linux ks=http://blahblah.com/ks.cfg. You just need to append your settings to the existing line.

enter image description here

ewwhite
  • 197,159
  • 92
  • 443
  • 809
1

Here is a good link for PXE. Follow the "rescue mode" link for a quick working example.

The decribed example is from CentOS 4.4 but it should work with newer versions as well. I took the pxelinux.0 file from Ubuntu 10.4 LTS - that was newer than the CentOS 5.3 or SLES10 SP2 version for the PXE-Bootstrap-loader.

Nils
  • 7,695
  • 3
  • 34
  • 73