August 15, 2015 by Daniel P. Clark

Install Ubuntu 15 Over the Network PXE/BootP/TFTP NetBoot

No Floppy?  No CD/DVD?  No Bootable USB ports?  No Problem!

What I used for the installation:

  • Debian based Linux Distro (CrunchBang++) on my Netbook to act as a Network boot server.
  • Crossover cable (possible with 2nd hub/router setup)
  • External USB Wifi adapter

Software for implementation:

The Process

Install relevant packages with:

Configure DHCP to allow the other computer to get an IP address from the network server via the crossover cable.

This was all I used in my configuration file

Select the appropriate architecture of the system you want to install to from the Ubuntu Netbook installation file page.  Download the file labelled: netboot.tar.gz

Create a ftp directory to extract this file into and then extract it:

Set permissions:

Configure the FTP server:

And this is what I used (disable INETD) and set the directory:

Start the FTP server:

Set the network interface:

And this is what I used:

You may need to start the DHCP service (not sure if this is required)

At this point I needed to reboot my Netbook (the server) and then everything was working.

The client computer

Now hook the crossover cable from the client computer into the server computer.  Also hook up the USB wifi adapter.  You will need internet access outside of the crossover cable for installation thus the need for the USB wifi adapter.  (a second ethernet port will work as well if it’s plugged into your home network with internet access).

Turn the client computer on while the server PC is running.  The client computer should have the Boot From Network option set in the BIOS as the first boot device.  When the computer boots up the network device will acquire an IP address from the server, then it checks for a network boot and finds the files in the tftp server and starts the Ubuntu installation on the client PC.  Once start going through your settings Ubuntu will let you connect to your network via your wireless USB adapter to complete the installation.

Summary

I discovered this after going on vacation and trying to help out some family by installing Ubuntu on their PC.  The only problem was their Pentium 4 would NOT boot from USB.  So I followed bits of blog post instructions from, maybe, 5 different sources to get this working.  Most instructions asked me to install packages that weren’t available to me.

One thing that’s really nice about the NetBoot install is that they offer many flavors of Ubuntu to install.  My advice is pick a minimal installation with your desktop of choice and install your preferred packages after the main OS is installed and running.

Hopefully you found this useful!  I didn’t plan on installing this way.  But when you come across a computer where you can’t use bootable mediums then this is the way to do it!

Please feel free to comment, share, subscribe to my RSS Feed, and follow me on twitter @6ftdan!

God Bless!
-Daniel P. Clark

#bios#bootable#bootp#install#linux#medium#netboot#pxe#tftp#ubuntu