Bad archive mirror using PXE boot method

7,583

You can save your mirror information in your kickstart file:

curl --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 is about 40GB and will take all night to generate. Please see questions directly about each of these things for further details.

Share:
7,583
Tim
Author by

Tim

My name is Tim. I've graduated from the University of Nottingham with a First Class Computer Science BSc with Hons. In my spare time I do computer programming, often C or JavaScript, but also shell scripts, and answering questions on Stack Exchange. I used to spend most of my time on Ask Ubuntu; now I mostly browse the HNQ or Meta Stack Exchange. If you want to contact me it's [email protected] Do you need a reliable VPS? Try Digital Ocean. Sign up with this link for $10 free. One of my favourite sites is Kiva.org, a micro-funding organisation that allows people to lend money via the Internet to low-income entrepreneurs and students in over 80 countries. Kiva's mission is “to connect people through lending to alleviate poverty.” With just $25 you can make a difference - and 99% of loans are paid back in full - so you can lend again and again!

Updated on September 17, 2022

Comments

  • Tim
    Tim over 1 year

    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?
    • Jorge Castro
      Jorge Castro about 13 years
      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.
    • bouhmid_tun
      bouhmid_tun about 13 years
      Are you already preseeding via kickstart? If so, please can you post your .ks file. Thanks.