Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1507
  • Last Modified:

PXE Server That Boots ISOs

I have a small computer shop, and we use a bunch of different disks for diagnostics (from Knoppix live cds, to custom bootable cds) I'd like to configure a PXE server that can give you a list of ISO images to boot from so we can use it to do anything from install Windows or Linux, to running our diagnostic disks.  How do I do this? Thanks

PS: The PXE server can run on Windows, Linux, or OS X 10.6 Server, but I'd prefer CentOS 5.5 if possible.
0
NewMacAdmin
Asked:
NewMacAdmin
  • 8
  • 6
1 Solution
 
farzanjCommented:
From CentOS5.5 you can easily configure kickstart to do the installation.  It would work for CentOS and RedHat.

Basically, you need to configure
- DHCP
- tftp
- one of NFS, FTP, HTTP

For Windows installation, this would guide you.
http://www.savelono.com/linux/how-to-install-windows-7-over-a-network-using-linux-pxe-dnsmasq-and-samba.html
0
 
NewMacAdminAuthor Commented:
Yes, but I want to be able to PXE boot via a menu to ISO images of Windows intsall disks, Linux disks, AND custom ISOs such as my diagnostic cds, or other bootable disks.  This is so I can phase our cds, or do diagnostics on netbooks, or laptops with no cd drive/bad cd drive.
0
 
NewMacAdminAuthor Commented:
ie: PXE boot Menu:
Option 1: WIndows XP Pro install
Option 2: Ubuntu Install
Option 3: CentOS install
Option 4: Memtest
Option 5: Acronis TrueImage
Option 6: Custom bootable ISO
Option 7: Internal Tools
Option 8: Knoppix Live CD
0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
farzanjCommented:
RIght.

Menu is certainly the first step.
Details are here
http://wiki.centos.org/HowTos/PXE/PXE_Setup/Menus

Rest of the setup is done as follows
http://wiki.centos.org/HowTos/PXE/PXE_Setup

You need to setup a directory structure.
You need to provide the initrd

Then you would need a place where it would read the packages from.  For Customizing that you would need kickstart (for RedHat and CentOS).  Unfortunately, every other distribution uses its own customization.  SUSE uses autoyast, Solaris uses Jumpstart, Windows has its own "ghost scripts"

0
 
farzanjCommented:
Try installing CentOS and RedHat first.  Then keep enhancing your menu and options.

A word of caution.  PXE menu is extremely sensitive to white space.  Try having a blank line after the last menu item or you may get strange error messages
0
 
NewMacAdminAuthor Commented:
There is no way to just have it load a bootable ISO image as if the burned disk was in the drive?
0
 
farzanjCommented:
I basically work with CentOS/RedHat.  So let me deal with that first.

There are two boot stages.
When you PXE boot, it would start making calls to tftp and DHCP.  DHCP has to have setting for it to know about tftp, its IP address, etc.

In the first stage of booting you need initial RAM disk image.
Then you need to tell it about the kickstart file (in case of RedHat and CentOS).  So this stage is different for all OSes.

You can certainly provide DVDs but he wants to get rid of DVDs/CDs.

0
 
NewMacAdminAuthor Commented:
What about my custom boot software? It's a bootable tools disk made with EZBoot. I'd like to get that booting first if possible as I use it the most.
0
 
farzanjCommented:
Ok.  I got your point.

Did you check the EZBoot literature or their customer service?


I am not exactly sure how it would work.

Basically, you would extract the ISO image and make it available through the network.

mount -o loop may also work.

Then you have to provide the image via NFS/FTP or something.

But the driving force in the PXE menus is the part where you give your ks=<location> or autoyast=<location> command.  That tells the location of your automation script.  If you know how you would call your automation script, you can sure put it in the menu.
0
 
NewMacAdminAuthor Commented:
I think I got it.  When I get home later, I'll work on this with a test node.
0
 
NewMacAdminAuthor Commented:
Also the main menu on the ezboot disk is default.ezb.  I think that is what is booted.
0
 
farzanjCommented:
Here is the PXE driving force mechanism
In the PXE menu you tell the location of the automation script (ks, autoyast, or whatever).
That automation script tells the location of the packages or files
0
 
NewMacAdminAuthor Commented:
Sorry for the delay.  I could never get this to work.  
0
 
NewMacAdminAuthor Commented:
never got it to work
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now