Install Multiple Linux Distributions Via PXE (The Easy Way)

Want to support HowtoForge? Become a subscriber!
 
Submitted by MTvermoes (Contact Author) (Forums) on Tue, 2010-02-09 11:47. :: Ubuntu

Install Multiple Linux Distributions Via PXE (The Easy Way)

The following script will set up a PXE config on your server, making it possible to install major Linux distributions via netboot.

How to set up DHCP/TFTP servers is described in other HOWTOS.

The script has been tested on Ubuntu Karmic.

Requirements: sed,wget and lftp in your path...running tftp server.

1. Edit config options.

2. Run script.

3. You can now install Linux via netboot.


Script now located in forum here

Thanks to: coreyspeed and falko.
Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Mon, 2010-02-15 09:12.

There is a problem with the script. All .cfg inside debian/lenny/i386/boot-screens/ shows "ubuntu/lenny/i386/"

 

Submitted by Anonymous (not registered) on Mon, 2010-02-15 05:58.

This script is nice however if we do not want to download all those distributions do we just comment out the distribution versions? I did that but it came out with an error

 install_installs.sh: 55: function: not found
Not Downloading (file exists) :
install_installs.sh: 63: Syntax error: "}" unexpected

-------------------

 #!/bin/bash
clear
#
# Configuration
#
tftp_boot_dir=/var/lib/tftpboot
menu_bg_png_url=http://www.howtoforge.com/images/pxe_install_server_ubuntu_9.10/howtoforge_pxe.png
#
ubuntu_stable=karmic
#ubuntu_testing=lucid
#
debian_stable=lenny
#debian_unstable=sid
 -------------------