[ILUG] Ubuntu netboot question

Braun Brelin bbrelin at gmail.com
Wed Jan 28 16:54:43 GMT 2009


Hello all,

i'm currently in the process of setting up a linux ubuntu system that will
act as a server for remote installation of some laptops.
So far, I've managed to get most of it working...

I can get dhcp/tftp/pxeboot to work correctly.
however, I now seem to have some sort of problem with the preseed.cfg file.


Specifically.

The network installation manages to successfully download the preseed.cfg
file via http from my server, however, it can't seem to
access the ubuntu .iso image.

the .iso image is mounted via loopback on my Document root like so:

under /var/www

mount -o loop /var/www/ubuntu-8.10-desktop-i386.iso /var/www/ubuntu

Just for background:  i'm running Intrepid Ibex (8.10) with the apache2 web
server

Checking the access.log file, I see: 192.9.200.2 - - [28/Jan/2009:15:53:56
+0000] "GET /ubuntu/dists/intrepid/Release
 HTTP/1.1" 200 1766 "-" "Wget"


When I try and run it manually like so:   I get:


------------------------------------------------------------------------------------------------------------------------------------------
wget -S 192.9.200.1 /ubuntu/dists/intrepid/Release
--2009-01-28 16:26:49--  http://192.9.200.1/
Connecting to 192.9.200.1:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Wed, 28 Jan 2009 16:26:49 GMT
  Server: Apache/2.2.9 (Ubuntu)
  Vary: Accept-Encoding
  Content-Length: 1316
  Keep-Alive: timeout=15, max=100
  Connection: Keep-Alive
  Content-Type: text/html;charset=UTF-8
Length: 1316 (1.3K) [text/html]
Saving to: `index.html.2'

100%[======================================>] 1,316       --.-K/s   in 0s

2009-01-28 16:26:49 (98.7 MB/s) - `index.html.2' saved [1316/1316]

/ubuntu/dists/intrepid/Release: Unsupported scheme.
FINISHED --2009-01-28 16:26:49--


-------------------------------------------------------------------------------------------------------------------------


A couple of questions pop up to my mind:

1.  What is "unsupported scheme"?  A google of this doesn't reveal much
information of use.
2.  Does the error "unsupported scheme" have to do with my manual use of
wget?  Or is this an indication of what might be wrong?

My relevant preseed.cfg file looks like this:



---------------------------------------------------------------------------------------------------------------
### Mirror settings
# If you select ftp, the mirror/country string does not need to be set.
d-i mirror/protocol string http
d-i mirror/country string enter information manually
d-i mirror/http/hostname string 192.9.200.1
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string

# Suite to install.
#d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing
d-i mirror/suite string intrepid

-----------------------------------------------------------------------------------------------------------------

Another odd problem that may or may not have anything to do with this is
that the installation also gives an error about an invalid hostname "", this
despite
the fact that i've set the hostname via the dhcpd.conf file and I've
commented out the

d-i netcfg/get_hostname string unassigned-hostname

Any help gratefully appreciated...

Thanks,

Braun Brelin



More information about the ILUG mailing list