In d-i mirror/http/proxy string I was using https. Changed it to http and
got past the error.

Responding to your questions if it will benefit anyone else :-)

First tell us what you are trying to do.... - I'm installing Debian 7.4 and
want to use preseed method to automate the install

Are you adding the preseed.cfg to the CD *or* calling it from the boot
prompt?
What boot parameters are you using?

- I boot through the cd and at the boot prompt the following parameters is
used:
auto=true priority=critical locale=en_US keymap=us hostname=myname url=
http://192.168.124.2/preseed.txt

What is the rest of your preseed.cfg? -
http://paste.debian.net/hidden/264ce3e4/

Did you try Alt+F4 during the install to see what the problem was? If so
what were the messages? - The message I have posted is from Alt+F4

Have you selected the "Save debug logs" option which starts a simple web
server and allows you to get meaningful installation information? - How do
i do this, this sure will be pretty useful anytime


Few observation which I do not have answer yet.

# Even though I have replaced the ftp[ftp.iitm.ac.in] mirror link with a
http[debian.mirror.net.in], during install the old ftp mirror is being
referenced. Though its not a real problem now, from where is it reading the
old information.

# In the Apt section of the preseed file, I have added the following. Is
this supposed to go into the sources.list file for future reference as
well. I do not see them in the sources.list. What should be done in the
preseed file for the repos to be added in sources.list.

apt-mirror-setup apt-setup/main boolean true apt-mirror-setup
apt-setup/updates boolean true apt-mirror-setup apt-setup/contrib boolean
true apt-mirror-setup apt-setup/non-free boolean true

Thanks and Regards,
Sandeep.

On Sat, Feb 22, 2014 at 3:36 AM, Scott Ferguson <
scott.ferguson.debian.u...@gmail.com> wrote:

> On 22/02/14 07:00, Sandeep Raman wrote:
> > OS - Debian wheezy 7.4 amd64 iso cd1
> > Preseed section of mirror:
> > d-i mirror/protocol string ftp
> > d-i mirror/ftp/hostname string ftp.iitm.ac.in <http://ftp.iitm.ac.in>
> > d-i mirror/ftp/directory string /debian/
> > d-i mirror/ftp/proxy string
>
> That 'should' work - assuming the hostname line wasn't tried verbatim -
> and dependant on how you are using preseed.cfg and your boot parameters
> (see my questions further down).
> ftp 'can' be problematic and if you have a choice choose http.
>
> Try:-
> (protocol string doesn't seem to be required if not selecting ftp)
> d-i mirror/country string enter information manually
> d-i mirror/http/hostname string ftp.iitm.ac.in
> d-i mirror/http/directory string /debian/
> d-i mirror/http/proxy string
>
> <snipped>
>
> >
> > I have given different mirrors and even used http.
> > From console and browser, i'm able to
> > fetch ftp://ftp.iitm.ac.in/debian/dists/wheezy/Release
> >
> > Any pointers in solving this.
>
> First tell us what you are trying to do....
>
> Are you adding the preseed.cfg to the CD *or* calling it from the boot
> prompt?
>
> What boot parameters are you using?
>
> What is the rest of your preseed.cfg?
> NOTE: the answers to the previous two questions determine what's
> required for preseed.cfg to work - please put the preseed.cfg on
> paste.debian.net and link to it in your post.
>
> Did you try Alt+F4 during the install to see what the problem was? If so
> what were the messages?
>
> Have you selected the "Save debug logs" option which starts a simple web
> server and allows you to get meaningful installation information?
>
> >
> > Thanks,
> > Sandeep.
>
> You may find this preseed.cfg useful to compare yours to:-
> http://paste.debian.net/83397
> I use it *in* a CD, and boot the CD with:-
> "install auto DEBCONF_DEBUG=5".
> It auto-partitions, builds a stripped-down box, and includes ssh (ssh
> installer@ipAddress). Modify it suit your needs and circumstances.
>
> Kind regards
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/5307cde4.2030...@gmail.com
>
>

Reply via email to