Serva PXE Ubuntu Install

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9
At a glance
Powered by AI
The key takeaways are that Ubuntu can be installed over a network using PXE boot without requiring an internet connection by using a server running Serva32 to host the installation files.

The Ubuntu ISO image is copied to the server and served over the network. The target PC is configured for PXE boot and directed to the Serva32 server for the installation files. It performs a standard installation using the files from the server.

The Ubuntu installation files are copied to the server and configured for serving via PXE/TFTP. The Serva32 DHCP and HTML services are configured to provide network access to the installation files.

8/8/2017 Serva PXE - AN01: Ubuntu Install

Home Serva PXE - AN01: Ubuntu Install


Network install Ubuntu Lucid Lynx (10.04 & 12.04) without
Application Notes Internet connection.

The idea is being able to perform a network installation but not


Advanced
requiring of an Internet connection. The install can be performed
on a real PC or in a virtual environment (VMware). I tried this last
Troubleshooting method.

Tools
Note
References For an automated PXE approach please see Serva PXE/BINL - AN03: Non-Windows Boot/Install

Download

Contact
Required software :
ubuntu-10.04-server-i386.iso,
ubuntu-12.04-server-i386.iso (other versions could also work)
Serva 2.0 or higher

1- The hardware lay-out is very simple;

1. Server PC running Serva32 offers the Ubuntu CD + PXE


2. Target PC net boots (PXE Client) and installs Ubuntu

http://www.vercot.com/~serva/an/UbuntuPXE1.html 1/9
8/8/2017 Serva PXE - AN01: Ubuntu Install
2- The Ubuntu ISO image can be downloaded and burned on a CD or just mounted using Daemon
Tools. For the purposes of this application note let's consider it is being offered as drive G: on the
Server.

3- Unix install images are made with Rock Ridge extensions allowing longer file names, symbolic link
support, and other features not included on the Microsoft's chosen ISO-9660-Joliet standard. For this
reason we need a couple of workarounds; Let's copy from the read only CD image to the Server HDD

ubuntu-10.04:
copy G:\install\netboot\*.* to C:\netboot\
copy G:\install\netboot\ubuntu-installer\i386\pxelinux.0 to C:\netboot\
delete file C:\netboot\pxelinux.cfg
create directory C:\netboot\pxelinux.cfg\
copy G:\install\netboot\ubuntu-installer\i386\pxelinux.cfg\default
to C:\netboot\pxelinux.cfg\default

ubuntu-12.04:
copy G:\install\netboot\*.* to C:\netboot\
copy G:\install\netboot\ubuntu-installer\i386\pxelinux.0 to C:\netboot\
create directory C:\netboot\pxelinux.cfg\
copy/rename G:\install\netboot\ubuntu-installer\i386\boot-screens\syslinux.cfg
to C:\netboot\pxelinux.cfg\default

4-Let's configure Serva32. The IPs offered by the DHCP service belong to the network that link the
Serva32 Server and the Target PC. Router and DNS IPs are set to the IP of the Serva32 interface that
connects to the Target PC.

http://www.vercot.com/~serva/an/UbuntuPXE1.html 2/9
8/8/2017 Serva PXE - AN01: Ubuntu Install

http://www.vercot.com/~serva/an/UbuntuPXE1.html 3/9
8/8/2017 Serva PXE - AN01: Ubuntu Install

http://www.vercot.com/~serva/an/UbuntuPXE1.html 4/9
8/8/2017 Serva PXE - AN01: Ubuntu Install

5- Let's boot the PXE enabled PC or a VMware install without DHCP nor NAT enabled.

http://www.vercot.com/~serva/an/UbuntuPXE1.html 5/9
8/8/2017 Serva PXE - AN01: Ubuntu Install

6- follow the normal install until this screen; Choose a mirror of the Ubuntu achive

then press Home (enter information manually) and enter as Ubuntu mirror the name of the
computer running Serva32 obtained from the Server control Panel

7- We change the default /ubuntu/ option for just /

http://www.vercot.com/~serva/an/UbuntuPXE1.html 6/9
8/8/2017 Serva PXE - AN01: Ubuntu Install

-The install continues normally... Serva32 Log windows give a good idea about what's going on
8behind scenes.

9- Now the base system is downloaded from Serva32 HTML service, configured, and installed.

10-We are invited to create the default user and later to install additional packages.

11-We're finished. Everything network installed but w/o an Internet connection.

http://www.vercot.com/~serva/an/UbuntuPXE1.html 7/9
8/8/2017 Serva PXE - AN01: Ubuntu Install

No IP assignation allowed (proxyDHCP)


There are situations where we want to use PXE install but we cannot disturb the network with IP
assignations because the network already has a DHCP server. On these cases running our Serva DHCP
service is not an option; we need the Serva proxyDHCP service instead.
When proxyDHCP is selected the Serva's DCHP service remains silent except for providing the bootfile
name and the TFTP server IP address to PXE clients.

http://www.vercot.com/~serva/an/UbuntuPXE1.html 8/9
8/8/2017 Serva PXE - AN01: Ubuntu Install

Copyright 2010-2017 Patrick Masotta. All rights reserved.

http://www.vercot.com/~serva/an/UbuntuPXE1.html 9/9

You might also like