Install Ubuntu by Netboot with a Windows PC

What is needed:
Network with router
Tftpd32 (freeware)
ubuntu netboot.tar.gz or alternate cd download
Internet connection

Network environment:

1. Setup a static ip
-Start -> Run -> type CMD -> ok
-in the command prompt type ipconfig and write down IP address, Subnet Mask, Default Gateway, DNS Servers
- Start -> Control Panel -> Network Connections -> right-click Local Area Network -> select Properties -> dbl click Internet Protocol (TCP/IP) -> select use the following ip address: and enter your information you wrote down, and click ok.

2. Disable DHCP on your router
- log onto your router with the web interface
- find the settings for DHCP Server and disable

3. Configure DHCP/Tftp Server in windows
- download tftpd32, create a folder on your pc (ie: C:\tftpd32)
- extract tftpd32 to your folder (C:\tftpd32) and run tftpd32.exe
- select the dhcp server tab
- IP Pool starting address: enter an IP address greater than the one you gave your windows machine
- Size of Pool: enter the # of machines you plan on having Ubuntu installed on
- Boot File: enter pxelinux.0
- WINS/DNS Server: enter your DNS Server address you wrote down
- Default router: enter the same number (DNS server address)
- Mask: enter you Subnet Mask you wrote down
- LAN: enter LAN

4. Extract & Configure Ubuntu
- extract the files from your Ubuntu using WinZip, WinRar, or 7zip(freeware)
- Copy the ubuntu-installer folder and its contents to your TFTP directory (ie C:\tftpd32\ubuntu-installer)
- copy the entire contents of \ubuntu-installer\i386\ folder to the TFTP directory (C:\tftpd32\)

5. Install Ubuntu
- with the tftpd32 running, boot the machine you want to install Ubuntu on (make sure boot to LAN is enabled in the BIOS)
- Choose boot from LAN in the boot menu
- The PXE Boot should appear and retrieve an IP Address, and it should begin loading the Ubuntu installer.

6. Restore settings
- Log back into your router and enable the DHCP Server
- I suggest leaving the Static IP but you can go back to network connections and tell it to obtain IP automatically if you want.

Leave a Reply