This article expains in step by step instruction how to install Ubuntu over the network (although it's easy to adapt the how-to to other linux distros) via a Windows 2000/XP client.
The Preboot Execution Environment (PXE) is nothing new, but rarely used in home office environments because it's most of the time easier to install any operating system from a CD, DVD or even a USB storage device. But what, if you have neither optical drives nor USB storage devices? The only requisites for a PXE installation are a working computer (any OS with TFTP Servers available will do) and Internet access.
With the new Intel Southbridge (ICH8R) parallel ATA Drives are no longer supported by the chipset natively, which means most motherboard manufacturers add third party controllers on their boards to provide p-ata interfaces. These third party controllers however are not well supported on Linux at the moment. Especially not directly in the kernel, which means you would have to pre-compile your own installer to access any p-ata CD-Rom. Another reason for using PXE might be subnotebooks without CD/DVD-ROM. The only option you have there is an installation via USB or over the network (PXE).
Step 1: Prerequisites
First get yourself a copy of the free TFTP server by Philippe Jounin. Second we need the ubuntu installer files. Of course it doesn't make much sense to download one of the ubuntu CD images if we only need the small installer. The installer will choose the nearest mirror and download all the files needed automatically during the installation.
The browsable Ubuntu archives are at http://archive.ubuntu.com/ubuntu/dists/. But as we only need the installer, we can ftp to ftp://archive.ubuntu.com/ubuntu/dists/edgy/main/installer-i386/current/images/ and download the folder netboot (ignore any symlinks, they may give you errors during the download).
That's all we need to boot our Ubuntu installer over the network. Let's setup the TFTP server.
- Create a directory, preferably on your C Drive. We'll name it tftp for now.
- copy the tftpd32.exe to c:tftp
- Start the server by clicking on the exe
- switch to the tab "DHCP Server" and fill in your network setup. Note that the PC you want to boot must be in the same Subnet. Enter pxelinux.0 as the boot file. The Screenshot on the right shows my setup.
Now we need to copy the Ubuntu netboot installer over to our tftp root directory:
- copy the folder ubuntu-installer to c:tftp
- copy the folder pxelinux.cfg from ubuntu-installer/i386/ to c:tftp
- copy the file pxelinux.0 from ubuntu-installer/i386/ to c:tftp
This is how your tftp folder should look like:
c:tftpubuntu-installeri386<some more files/folders>
Step 3: Booting Ubuntu
To boot from tftp you may need to activate booting from the network interface in the BIOS. This may be done in the boot sequence settings or directly in the onboard ethernet device settings. After that, restart, lean back and watch the activities in the log viewer tab of the tftpd.
Note: Ubuntu will let you choose a mirror and download all the files you need. The whole procedure will work with any other debian flavour almost identically. There is a nice how to on doing a PXE install via Linux instead of windows at the CCC Wiki.
Jack Crowley | 18/04/2007, 05:19
re: pxe install
reto | 19/04/2007, 22:37
Chance | 05/06/2007, 21:14
only site that had this info that was EASY
Joe P | 15/06/2007, 18:35
This guide is great
Nate | 24/08/2007, 02:44
error -> pxe e53 no bootfile name recieved
Bob | 10/09/2007, 03:35
RE: error -> pxe e53 no bootfile name recieved
reto | 10/09/2007, 22:33
unable to pxe boot
Ash | 15/09/2007, 08:35
Re: unable to pxe boot
reto | 17/09/2007, 22:00
Ubuntu PXE install via Windows
Oscar S | 19/09/2007, 13:27
Kaygroth | 25/09/2007, 16:01
gary | 26/09/2007, 03:14
YOU ARE A GENIUS AND I LOVE YOU
mh | 27/09/2007, 13:36
Re: Ubuntu PXE install via Windows
reto | 05/10/2007, 01:54
now able to do a PXE install
monty | 31/10/2007, 03:47
Re: Ubuntu PXE install via Windows
reto | 31/10/2007, 09:52
oscar bremer | 02/11/2007, 00:21
Xubuntu instead of Ubuntu ?
monty | 12/11/2007, 19:58
PXE with Xubuntu
reto | 12/11/2007, 22:11
Install on laptop with broken CD reader
Clive | 19/11/2007, 21:33
Dana | 19/11/2007, 23:36
easiest thing i have ever done
Charles | 30/11/2007, 09:15
HombreGrande | 06/12/2007, 05:40
PXE Inst from ISO
Peter | 07/12/2007, 06:52
reto | 09/12/2007, 15:37