Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-01-2010, 01:13 AM   #1
Registered: Sep 2007
Posts: 245

Rep: Reputation: 32
PXE Install

So I picked up a rack mount server for pretty cheap, it doesn't come with any optical drives so I need to install an OS through the network. I want to install CentOS 5 on the setup, but I have never done a PXE install before. Should be a fun learning experience.

Now I've done some Google searches and can't really find a good article/tutorial that will show how to install CentOS specifically.

What I would REALLY like to do is to be able to run the PXE server through a "Live CD" on my laptop, that I'll connect to the server via network, and install it. I don't really have a dedicated Linux box to install a PXE server on.

What are my options here? Can someone point me in the direction of a good tutorial on how to do a PXE install with CentOS? Finding it rather difficult to find a descent tutorial on Google.
Old 09-01-2010, 01:34 AM   #2
Registered: Jan 2010
Location: Norway
Posts: 76

Rep: Reputation: 12

Try the drbl live-cd. Be aware that the drblserver starts a dhcpserver on its own - dont do this in a production environment, your other users might complain!
Old 09-01-2010, 02:15 AM   #3
Registered: Sep 2007
Posts: 245

Original Poster
Rep: Reputation: 32
Its a personal home network and I wont be doing this on a network that's connected to the internet, I have a separate switch I will connect the two devices together with to do the install, once I get it installed I'll put it on the live network with my other devices. Thanks for your reply, I will look into this.
Old 09-02-2010, 12:29 AM   #4
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, PCLinuxOS
Posts: 153

Rep: Reputation: 9
Following are the configuration has to done on your PXE server (You can use VMWare too.)

Disable firewall and selinux
Mount ISO file
mount -o loop /mnt/e/centos5/CentOS-5.0-i386-bin-DVD.iso /mnt/iso
Configure DHCP Server ...................
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample

ddns-update-style interim;
subnet netmask {
default-lease-time 3600;
max-lease-time 4800;
option routers;
option domain-name-servers;
option subnet-mask;
option domain-name "";
option time-offset -8;

host test {
hardware ethernet 00:10:F3:09:89:48;
option host-name "test";
filename "/linux-install/pxelinux.0";
Configure HTTP server...................
<Directory /mnt/iso>
Options Indexes
AllowOverride None

Alias /linux /mnt/iso
Enable TFTP server using chkconfig.. restart xinetd
#Chkconfig tftp on
#Service xinetd restart

Configure PXE Installation Service
#pxeos -a -i "test" -p HTTP -D 0 -s -L /linux test

Last edited by kaushalpatel1982; 09-02-2010 at 12:31 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OS install via pxe question(s) mauirixxx Linux - Software 4 08-12-2010 07:19 PM
pxe kickstart redhat install + vnc/smilar during install fishjohn Linux - Server 1 04-24-2010 10:22 AM
PXE install AroundMyHorn Linux - Server 2 02-27-2008 04:51 PM
Help how to install PXE ciquey27 Linux - Newbie 1 03-27-2006 09:47 PM
trying linux install over pxe paha Linux - General 0 12-14-2004 08:09 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration