Installing Ubuntu with no internet access

Pierre Equoy pierre.equoy at canonical.com
Tue Sep 15 03:50:18 UTC 2015


Hi Gerhardus,

In your preseed file I see this:
d-i clock-setup/ntp-server string ntp.ubuntu.com

That means, at least at this stage, the installer will try to sync with the
NTP server at Ubuntu.com.

There might be other stages where by default the installer tries to reach
out the Web (e.g. it might check for new versions of packages), and that
may need to be disabled using some additional preseed info.

Sorry to be so vague, I'm not familiar with the internals of the Ubiquity
installer.

Another option might be to set up the timeout to be very short, as
explained in this Wiki article [1].

Hope this helps!


[1] https://help.ubuntu.com/community/InstallCDCustomization


On Mon, Sep 14, 2015 at 7:56 PM, Gerhardus Geldenhuis <
gerhardus.geldenhuis at gmail.com> wrote:

> Hi
> I am trying to get Ubuntu installed without any internet access.
>
> For various reasons we have chosen to use Razor as our installation tool.
>
> Razor is creating a preseed file which I have attached.
>
> So a bit of background,
> razor allows you to create an install repo with either a CD/DVD image or
> with a http based repository. The problem seems to be that the ubuntu
> installer once it has pxe booted and got the preseed file, is trying to
> access the internet. Because it can't access the internet it then times out
> on every request and it means that installation takes forever.
>
> The relevant part of the preseed file I beli
> d-i live-installer/net-image string
> http://10.255.10.1:8080/svc/repo/gerrard_ubuntu14/install/filesystem.squashfs
> d-i mirror/protocol string http
> d-i mirror/country string manual
> d-i mirror/http/hostname string 10.255.10.1:8080
> d-i mirror/http/directory string /svc/repo/gerrard_ubuntu14/
> d-i mirror/udeb/components multiselect main
>
> The repo that is being referred here were created by Razor and is
> effectively an extract of the ISO image for Ubuntu server 14.04.
>
> I have created a separate mirror that I use afterwards to install updates
> and packages from but it seems that I need to somehow merge the ISO and
> mirror repos into one.
>
> I am not sure if razor is doing the correct thing and would really
> appreciate any steering with regards to what is wrong in my preseed file.
> How can I get the d-i to not try and access the internet but concern itself
> only with internal repositories and mirrors.
>
> Regards
>
>
> --
> Gerhardus Geldenhuis
>
> --
> Ubuntu-installer mailing list
> Ubuntu-installer at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer
>
>


-- 
Pierre Equoy
QA & Certification Engineer | Canonical
www.canonical.com | www.ubuntu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20150915/5195d736/attachment.html>


More information about the Ubuntu-installer mailing list