Visit Our UNIX and Linux User Community


Network Install PXE/BootP/TFTP


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Network Install PXE/BootP/TFTP
# 1  
Old 06-06-2004
Network Install PXE/BootP/TFTP

Im trying to help my professor at school, were trying to setup a linux server, that is configured with bootp/tftp/PXE. the client computer NICs have support to boot off PXE. What we would like to do is if a client computer does not have an OS, it would boot off the server, and display a menu to the end user, the menu will display a list of Operating Systems to install on the local system, including Slackware, Redhat, Mandrake, Freebsd, Windows 2000, etc. The end user just has to pick one and it will bring up the installation of that OS on the local computer and will get all the files that it needs to install from the file server, the file server will be running samba, nfs, ftp, httpd. How would i go about setting this type of envroment up. thankyou =)
# 2  
Old 06-08-2004
Trying to explain it all in a forum post is going to be very difficult but I will try to get you going in the write direction and give you some pointers.

First, understand how kickstart works. Redhat and other sites have plenty of docs on this subject.

Make sure you don't have a competing dhcp/bootp server on that segment of the network. If you do, you will never be able to guarantee your PXE clients get an address and boot from your server.

If you install RedHat, /root/anaconda-ks.cfg is a complete kickstart file based on the system you just installed. It's a helpful starting point

Once you have mastered that stuff, figure out how dhcp and tftp work. Not too difficult. I can't remember off the top of my head but certain tftp programs work better then others. Look at the PXE docs to see what is recommended.

H. Peter Anvin (spelling?) - you know the guy who's name pops up when ever you start linux - has some pretty detailed docs on the vmlinux and initrd stuff. I think there is a link off kernel.org. He also has a home page somewhere with tons of usefull stuff on building boot images (you know, for your PXE clients). Just search for his name.

At this point you should be ready to put all the pieces together. This is the hardest part. You have to build some images and serve them up. Basically you create a conf file that looks at the incoming DHCP/bootp request, decides if it should server out a menu or just grant an address, then "pushes" the image to the client.

I know this is not a step by step procedure but that would be pages and pages of material. Get started and when you hit a roadblock just post it and someone will be able to help you. There is a lot of trial and error in setting up a PXE server, but that is how you learn.
 

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Using VM for Network Install Failing

If this question has been answered, please provide a link. We have several Old Solaris stations that don't have a DVD but a CD. We are required to upgrade the OS on these systems from Solaris 8 to Solaris 10, and since Solaris 10 no longer provides CD's we were thinking of doing a network... (3 Replies)
Discussion started by: Wrongway
3 Replies

2. Solaris

Bootp/tftp issue neeeeeed help plz

i find a solution (2 Replies)
Discussion started by: shady_2005
2 Replies

3. Red Hat

Disable up2date --register during PXE install

Hi, I really hope someone can help me (soon :) ) as I can't work out what I'm doing wrong and google is not helpful either. Basically I have to setup 20 Dell servers with RHEL 4.8 (no, not 5, must be 4.8). Of course I have tftp and I'm trying to install them via nfs with kickstart and PXE. OS... (0 Replies)
Discussion started by: columb
0 Replies

4. Emergency UNIX and Linux Support

Disable up2date --register during PXE install

Hi folks, I really hope someone can help me (soon :) ) as I can't work out what I'm doing wrong and google is not helpful either. Basically I have to setup 20 Dell servers with RHEL 4.8 (no, not 5, must be 4.8). Of course I have tftp and I'm trying to install them via nfs with kickstart and... (4 Replies)
Discussion started by: columb
4 Replies

5. Ubuntu

Install over network

Hello, I have a desktop with ubuntu installed and i want to install ubuntu also to the laptop over network. I have an iso image of the ubuntu and i want to use this as install source. So i installed tftpd-hpa apache2 and dhcp3-server. mkdir /var/lib/tftpboot/ubuntu mount - o loop ... (2 Replies)
Discussion started by: @dagio
2 Replies

6. UNIX for Dummies Questions & Answers

How to install a network card

Hey guys, Sorry, this question might look stupid but I have no idea how to install a network card. My server is a Dell PowerEdge T105 with Debian 5.0 Lenny. My network card is a Broadcom NetXtreme BCM5722 Gigabit Ethernet PCI Express. I've plugged the card innside my server and I can see... (2 Replies)
Discussion started by: chebarbudo
2 Replies

7. Solaris

Install Solaris 10 through network

Hi all, I got a Fujitsu P650 server running on Solaris 9 and we are going to re-install Solaris 10 . W have a build server in a different IP segment. So we setup a boot server and /etc/ethers and /etc/bootparams are all updated. When I issue boot net -install, I'm getting the following... (3 Replies)
Discussion started by: mohzub
3 Replies

8. SCO

Network PXE load for SCO 5.0.6

I have a Dell 1850 and trying to load OS and my applications using PXE. How can I stage new servers using Network drive. Want to move away from Tape and go towards network load. Thx Sean. (0 Replies)
Discussion started by: smoaref
0 Replies

9. HP-UX

HPUX -- Network Install

I have a HP box (PA RISC) rp3440. The machine does not have a CD-ROM. I need to re-install the OS. Basically a network install... How did I do a network install? Anybody know of a document for Network Installs for a HPUX 11.23? (1 Reply)
Discussion started by: truejack
1 Replies

10. UNIX for Dummies Questions & Answers

bootp/tftp

Hi, Setting up print queue, using SMIT on AIX And I have an option saying do I wish to make this a BOOTP/TFTP server. What exactly does this do? Thanks (3 Replies)
Discussion started by: maverick
3 Replies

Featured Tech Videos