Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to automatically install Ubuntu on a client PC by using the PXE BOOT method....my Objectives are below:

I am following the steps given in this link installation using PXE BOOT

  1. the server will have a KICKSTART config file which contains the parameters for the OS installation and the files which are required for the OS installations.
  2. the client will have to detect this configuration along with the setup files and complete the installation without any input from the user.

In my server I have installed DHCP3-server,Apache2 and TFTP to help me with the installation.

I have nearly achieved my first objective, I am able to boot my client using the files stored in the server but during the installation stage it is asking me to

CHOOSE A MIRROR OF UBUNTU ARCHIVE

I gave the server's IP address and the path in the server where the files are located but then its giving me this error

BAD ARCHIVE MIRROR

  • So is it possible that instead of downloading all the files from the internet and storing them on my disk can I use the files which comes with the UBUNTU-CD, and how to store these files in what format (should I zip them) on the disk?
  • secondly I am also generating the ks.cfg which I wanted to give to the client for automatic installation of the OS. So how should the configuration file be given to the installation process?
share|improve this question
1  
The first part of your question is a dupe of this: askubuntu.com/questions/28349/… You might want to split up your questions into individual ones so that we can answer them better instead of all in one question. –  Jorge Castro Feb 27 '11 at 22:11
    
Are you already preseeding via kickstart? If so, please can you post your .ks file. Thanks. –  Daviey Mar 13 '11 at 9:22

2 Answers 2

You can save your mirror information in your kickstart file:

url --url http://192.168.1.1/ubuntu

You can specify the kickstarter file in the PXE boot line:

append vga=normal initrd=installers/jaunty/i386/initrd.gz ks=http://192.168.1.1/ks.cfg ksdevice=eth0 --

You should use apt-mirror to create a local copy of the ubuntu mirror. It's about 40GB and will take all night to generate. Please see questions directly about each of these things for further details.

share|improve this answer

check the nodes preseed_master: got down the file and find APT ,it must looks like :

APT

d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string 'your poroxy'

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.