Automatic installation without internet

Asked by Sergey Cheskis

I am going to made a custom CD for automatic installation from CD only, without internet connection. I can do it using preseed file,
but the system demands mirror addresses and if I provide it it start to use retrieving packages from internet repositories. If I cut the internet connection the installer cannot connect to mirrors and stop. Please advise what is possible to do. I need this CD to install ubuntu on computers without any external connection.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jesus Gamio (jgamio) said :
#1

To install Ubuntu without internet connection you should use the alternative version.

If you want install another than the default packages maybe try do a Cd with Apt on CD

Revision history for this message
Sergey Cheskis (cheskis) said :
#2

Actually I use the alternative version with the preseed file were there is the following:
### Mirror settings
# If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string ftp
d-i mirror/country string enter information manually
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
I call my pressed file through changed isolinux.cfg.
Now the problem:
If in preseed file there are lines shown above the installer connect with mirrors and retrieve the files from the internet.
If I cut the internet connection the system report about error " Cannot connect to the mirrors".
If I comment these lines the system ask question about mirrors during the installation and I cannot give the answer to this question.
Please advice is it possible to avoid these questions about the mirrors?

Revision history for this message
Jesus Gamio (jgamio) said :
#3

Excuse me but I am lose

The alternative CD does not need internet connection, maybe you are doing something wrong when you custimeze the CD.

How do you exactly do the customizate CD ?

Revision history for this message
Sergey Cheskis (cheskis) said :
#4

Probably you are right, the problem is in the making of the customized disk. I used instruction from https://help.ubuntu.com/community/InstallCDCustomization,
but since I did not change anything on disk except addition of the preseed file and "Generating a new ubuntu-keyring .deb to sign CD" I skipped the part "Building the repository with apt-ftparchive". I suspect that it is can be the problem. I will check it today.

Revision history for this message
Jesus Gamio (jgamio) said :
#5

Can you help with this problem?

Provide an answer of your own, or ask Sergey Cheskis for more information if necessary.

To post a message you must log in.