In Part 3, we will install Debian Squeeze using our new PXE server.
First thing we’ll need is the network boot tarball off the Debian Website.
This tarball will let you start installing Debian, but it will then install the rest of the software from the internet. Naturally this means that the computer will need an Internet connection to get the most out of this method.
After you get the tarball, you’ll need to uncompress it, and grab a couple of files out of it, namely linux and initrd.gz and put them into a subdirectory under tftpboot called debian, so you should end up with a directory like this : /tftpboot/debian which should contain the 2 files linux and initrd.gz
Now that we have the files in the right spot, we will need to create a new entry in the /tftpboot/pxelinux.cfg/default file.
So at the moment, we have this in the file.
MENU TITLE PXE Boot
MENU LABEL Memtest86+ 4.10
We will need to add a code block to give us the option to boot to the Debian mini installer.
MENU LABEL Debian Squeeze 6.0.1a Net Install
So the configuration file should look like this in the end :
Once that’s done, you should be able to boot from the PXE server like previously with the Memtest kernel, except it will be loading the Debian Net install files.
Once it’s loaded, you will get this screen –
Which looks exactly like it does as if the computer was booted from a CD.
You can now install Debian straight from the network without the use of a CD.