[CentOS] kickstart install using url location

Tue Jul 21 00:42:49 UTC 2009
Kwan Lowe <kwan.lowe at gmail.com>

On Mon, Jul 20, 2009 at 5:56 PM, Carlos Santana <neubyr at gmail.com> wrote:

> Hi,
> I am working on a kickstart install method and it works fine with
> cdrom as installation media. I would like change this media to an
> online resource. I saw option as - 'url --url http://<server>/<dir>'.
> I am not sure what should be the directory contents? Should we put all
> ISOs in that directory or what? Any insights?

Based on your original post, it seems that you want to install a system via
the network versus from a CD boot disk, correct?

If so, here's how I do it:

1) On a host machine, download the CentOS DVD to some location on the

2) Install the vsftpd package.

3) mkdir /var/ftp/centos_5.3_x86

4) mount -o loop /path/to/CentOS-5.3-i386-bin-DVD.iso

5) service vsftpd start

6) Edit your kickstart url to point to the location above:  url --url

7) Copy the kickstart file to /var/ftp/pub/kickstart001.ks

7) From a web browser or ftp client, retrieve the boot.iso file from the
host machine in the Images directory.  Or you can just cd to the
/var/ftp/centos_5.3_x86 directory on the host machine and copy the boot.iso
from there to your VMWare server.

8) On the VMWare server, set the boot.iso as the CD ROM image.

9) Boot the target server.   When the grub prompt appears:  linux ks=

10) Sit back :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090720/acbf1bae/attachment-0005.html>