Installing Ubuntu or Fedora via PXE Netboot

If you plan to install without burning CDs or DVDs or using boot disks, then this could be what you want. This post will show you how I installed Fedora 7 on Dell Inspiron 6400 via PXE Netboot, and Fedora 7 installing data from a HTTP server which is run by Fedora Core 6. Since I was planning installing Ubuntu Feisty, therefore I will also mention the steps for Ubuntu Feisty. I won’t explain the detail steps of installing those services but I will provide links.



  • All services are on, and it is Fedora Core 6.
  • TFTP root directory is /tftproot/.
  • Install disc image is mounted onto /media/iso.
  • Installed computer with MAC address 00:11:22:33:44:55 and will be assigned IP

Note: Once you boot with Fedora’s netboot installing method, you will be able to use local or external(USB) disk, FTP, HTTP or NFS to retrieve installing data. Therefore, you can choose one of them to install Fedora.

Steps on

Setting the redirecting

Insert the following into correct subnet of /etc/dhcpd.conf

host pxeinstall {
hardware ethernet 00:11:22:33:44:55;
filename "pxelinux.0";

Note: next-server points to the IP of TFTP server.

Preparing Network Bootstrap Program pxelinux.0


cp /usr/lib/syslinux/pxelinux.0 /tftproot/


wget Other versions of Ubuntu.
tar zxvf netboot.tar.gz /tftproot/.

Preparing vmlinuz and initrd


cp /media/iso/pxeboot/vmlinuz /tftproot/
cp /media/iso/pxeboot/initrd.img /tftproot/


cp /media/iso/casper/vmlinuz /tftproot/
cp /media/iso/casper/initrd.gz /tftproot/

default configuration of pxeboot


mkdir /tftproot/pxelinux.cfg
vi /tftproot/pxelinux.cfg/default with

default install

label install
kernel vmlinuz
append initrd=initrd.img clocksource=acpi_pm

Note: clocksource=acpi_pm is necessary on my computer. You might be able to install without it.


vi /tftproot/pxelinux.cfg/default. Modify label install as

LABEL install
kernel vmlinuz
append vga=normal initrd=initrd.gz boot=casper netboot=nfs nfsroot= --

Preparing installing data

Depends on the method that you will take, make /media/iso can be access through the method.


Restart all services.

Steps on

Booting up with PXE


If everything is ok, vmlinuz and initrd.img will be loaded automatically. Once loaded, you will be prompted to choose the language.
Note: If you plan to use external disk, please plug it in before vmlinuz and initrd.img being loaded and don’t put the image iso in NTFS partition.


If everything is ok, you will see the Ubuntu logo. Press “Enter” to start installation.


If something doesn’t work, check out /var/log/messages or Google.


One Comment

  1. Posted December 7, 2008 at 2:28 am | Permalink

    On Fedora, pxelinux.0 is in the package syslinux:

    If you don’t have Fedora installed already, it’s also available in

    This helps resolve a chicken-and-egg problem: relevant if you are setting up netboot and do not have access to a Fedora machine until you have set up netboot.

%d bloggers like this: