can't access extra-packages list preseeding PXE install

2016-04-27 Thread garage num
Hello everybody,

I'm trying to install Debian over PXE.
I want to include extra packages in preseed conf with "d -i pkgsel/include".
Extra packages are listed in /PACKAGES, and that list is generated by a
debconf question included in early_command.

My preseed file contains:
[code]d-i preseed/early_command string tftp -g -r PACKAGES.tar TFTP_SERVER;
tar -x PACKAGES.tar
d -i pkgsel/include string $(for i in $(cat PACKAGES/debconf_answer.txt);
do for l in $(ls PACKAGES/$i/*); do cat $l ; done ; done)[/code]
But installer does not have access to /PACKAGES at the moment
pkgsel/include is called (installer might use /target as root?)

If I modify preseed :
[code]d-i preseed/early_command string tftp -g -r PACKAGES.tar
 TFTP_SERVER; tar -x PACKAGES.tar ; mkdir /target ; cp -R /PACKAGES /target
d -i pkgsel/include string $(for i in $(cat PACKAGES/debconf_answer.txt);
do for l in $(ls PACKAGES/$i/*); do cat $l ; done ; done)[/code]
it doesn't get better, because installer overwrites /PACKAGES when /target
is created.

I also tried to access /PACKAGES located on the server but of course it
didn't work either:
[code]d -i pkgsel/include string $(for i in $(cat
http://APACHE-SERVER/PACKAGES/debconf_answer.txt); do for l in $(ls
http://APACHE-SERVER/PACKAGES/$i/*); do cat $l ; done ; done)  [/code]

How can I do it?
Thanks all for your help!!


Re: PXE install

2016-04-08 Thread Lisi Reisz
On Friday 08 April 2016 16:00:30 Andy Smith wrote:
> Hi Ethan,
>
> On Thu, Apr 07, 2016 at 11:50:57PM -0400, Ethan Rosenberg wrote:
> > Dear List -
> >
> > After a little bit of searching the problem causing the "no boot
> > filename found" error is the lack of a PXE server.
>
> Please back up a bit and tell us what exactly you're trying to do,
> what works and what doesn't.
>
> You seem to have attached a dhclient config file but that isn't
> correct for doing PXE boot. To do PXE boot you would normally add an
> entry to your local network's DHCP server, and run a tftp server
> that serves the netboot archive.
>
> So, how far in doing that did you get?
>
> Cheers,
> Andy

On this new computer I am struggling with you also have to tell the BIOS if 
you want a PXE boot.

Lisi



Re: PXE install

2016-04-08 Thread Andy Smith
Hi Ethan,

On Thu, Apr 07, 2016 at 11:50:57PM -0400, Ethan Rosenberg wrote:
> Dear List -
> 
> After a little bit of searching the problem causing the "no boot
> filename found" error is the lack of a PXE server.

Please back up a bit and tell us what exactly you're trying to do,
what works and what doesn't.

You seem to have attached a dhclient config file but that isn't
correct for doing PXE boot. To do PXE boot you would normally add an
entry to your local network's DHCP server, and run a tftp server
that serves the netboot archive.

So, how far in doing that did you get?

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting



PXE install

2016-04-07 Thread Ethan Rosenberg

Dear List -

After a little bit of searching the problem causing the "no boot filename found" error is the lack 
of a PXE server.   I tried to modify a template for a server 
https://wiki.debian.org/PXEBootInstall.  The modified file is attached.


Running Debian 8.4..

Whatismyip gives 67.83.96.189
The Arris modem is 192.168.1.145
This feeds into a Cisco wireless switch 192.168.1.1

TIA

Ethan
 Configuration file for /sbin/dhclient, which is included in Debian's
#   dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#   man page for more information about the syntax of this file
#   and a more comprehensive list of the parameters understood by
#   dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#   not leave anything out (like the domain name, for example), then
#   few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

#send host-name "andare.fugue.com";
send host-name = gethostname();
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send host-name "andare.fugue.com";
send host-name = gethostname();
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
dhcp6.name-servers, dhcp6.domain-search,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
#require subnet-mask, domai#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#domain-name-servers;
#timeout 60;
alias {
#  interface "eth0";
#  fixed-address 192.5.5.213;
  option subnet-mask 255.255.255.255;
}

#lease {
#  interface "eth0";
#  fixed-address 192.33.137.200;
#  medium "link0 link1";
  option host-name "wmcomputersystems.com";
  option subnet-mask 255.255.255.0;

  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.1.145
  range 192.168.0.3 192.168.0.253;
;
   option routers 192.168.1.145;
   option domain-name-servers 192.168.1.145;
  filename "pxelinux.0"; # (this we will provide later)
}
group {
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;

  next-server 192.168.0.2;# our Server
  host tftpclient {
filename "pxelinux.0"; # (this we will provide later)

}





Re: PXE install, without internet?

2014-02-05 Thread Anubhav Yadav
 Please post:-
 /etc/dhcpd.conf
 /etc/default/dhcp3-server

Like I said, these files are not there on my box!
-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9ahhoo6ss0eufxt7fbmggzyan_wgvlk-fee5qrdabif...@mail.gmail.com



Re: PXE install, without internet?

2014-02-05 Thread Scott Ferguson
On 06/02/14 14:54, Anubhav Yadav wrote:
 Please post:-
 /etc/dhcpd.conf
 /etc/default/dhcp3-server
 
 Like I said, these files are not there on my box!
 


Sorry, I haven't been monitoring the list.

(I don't currently have access to a pxe server, so you'll need to check
my memory). Try:-
/etc/dhcp/dhcpd.conf

ensure authoritative; and ddns-update-style none; are un-commented
(if you haven't done so already)

# grep dhcp /var/log/syslog | tail -n 32


To see current leases and compare against configured number of leases
(lease address range) in order to determine how many free addresses are
available, consult:-
/var/lib/dhcp/dhcpd.leases


 Also just wanted to say that the guys at our college has something called
 cyberoam filter, which also acts as a dhcp server, but now the dhcp
 server is disabled.

I assume you mean the dhcp server on the cyberoam device has been disabled..
. and yes, more than one dhcp server on the LAN can cause problems. If
you the cyberoam device is the LAN DNS server I'm not sure what the best
solution would be (Cyberoam is non-user user-friendly, otherwise not so
much).
Temporarily isolate the LAN segment you are working with from the DNS
server?

Perhaps the administrators will add a directive for the pxe server and
tftp server. From what limitations I recall of the web interface they'd
need to use a serial console and edit dhcpd.conf (based on what you
already have on your DNS) to add:-
next-server yourTftpServer
file name pxelinux.0

I'm not certain about how you'd modify dnsmasq on it.


I'd also try starting an install with just two boxes, one that
previously failed and one that previously succeeded - starting the
previously failed one first.



 For starters I installed the server packages from this guide.
 http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3
 
 And the dns and tftp configurations was done using this guide.
 http://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny
 
 And finally placed the tftp boot files in the directory as specified
 in the official debian guide.
 https://wiki.debian.org/PXEBootInstall#Set_up_TFTP_server

The last reference looks good, and refers to the following.

This is a good guide:-
https://www.debian.org/releases/stable/i386/ch04s05.html.en


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/52f31151.7010...@gmail.com



Re: PXE install, without internet?

2014-02-04 Thread Tom Furie
On Tue, Feb 04, 2014 at 05:35:31PM +1100, Scott Ferguson wrote:
  iface eth0 inet static
  address 172.16.4.104
 
  netmask 255.255.248.0
 
 Just in case it makes a difference - that's a /29 network
 i.e. 192 possible hosts (32 subnets with 6 hosts each) unless that's not

Easy mistake to make (I've made it myself more than once), but just for
clarification that's a /21 network.

Cheers,
Tom

-- 
The little pieces of my life I give to you, with love, to make a quilt
to keep away the cold.


signature.asc
Description: Digital signature


Re: PXE install, without internet?

2014-02-04 Thread Scott Ferguson
On 05/02/14 01:03, Tom Furie wrote:
 On Tue, Feb 04, 2014 at 05:35:31PM +1100, Scott Ferguson wrote:
 iface eth0 inet static address 172.16.4.104
 
 netmask 255.255.248.0
 
 Just in case it makes a difference - that's a /29 network i.e.
 192 possible hosts (32 subnets with 6 hosts each) unless that's
 not
 
 Easy mistake to make (I've made it myself more than once), but just
 for clarification that's a /21 network.

Indeed (easy), I had to look at that for a bit. That's 11 host bits,
not 3 (255.255.255.248) giving 2048 addresses - which 'may' make a
difference. From 1st coffee of the day memory (dodgy) that's a class B
instead of a C.

Thanks for the pointer, a full refund is on it's way to the OP now.


 
 Cheers, Tom
 


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/52f15cbb.2020...@gmail.com



Re: PXE install, without internet?

2014-02-04 Thread Anubhav Yadav
 In case it's an issue with insufficient free dhcp leases, on the box
 with the dhcp server try:-
 (for isc-dhcp-server) cat /var/lib/dhcpd.leases and compare that against
 the number available in your settings

No such file or directory. Maybe because I am using isc-dhcp-server, not dhcp3?


 also:-
 service dhcpd restart
It was service isc-dhcp-service on my box, it restarted, but the other
clients were not able to


 Then try booting the PXE clients again.
Same result, unable to find the PXE server.

 At the DHCP server (first)?




 Please post:-
 /etc/dhcpd.conf
 /etc/default/dhcp3-server

Right now away from my colleges, but I feel the requested files wont
be available on the server since I am using isc-dhcp-server and not dhcp3.
Just a thought. I will post the required files as soon as I reach the lab again.

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9ag1vjmefd245+penpqhuolzh7dm2vupf_f-bqmeyxg...@mail.gmail.com



Re: PXE install, without internet?

2014-02-04 Thread Anubhav Yadav
 Indeed (easy), I had to look at that for a bit. That's 11 host bits,
 not 3 (255.255.255.248) giving 2048 addresses - which 'may' make a
 difference. From 1st coffee of the day memory (dodgy) that's a class B
 instead of a C.

 Thanks for the pointer, a full refund is on it's way to the OP now.

I can't explain more on why I choose the combination of the above IP addresses
because those were given by my administrator. I will ask him some questions on
what network is that, and maybe then we can find out how is that
conflicting with
the dhcp server that I have built.

Also just wanted to say that the guys at our college has something called
cyberoam filter, which also acts as a dhcp server, but now the dhcp
server is disabled.

I also want to make a small confession, that although there was a
small introductory
course last year on computer networks, but I am sure a super noob in
these IPs and subnet things.

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/CA+Jf9AEBbadBfqmXK1SFeBvvt2TSe=d2-0-vpfnbj6sk0wv...@mail.gmail.com



Re: PXE install, without internet?

2014-02-03 Thread Anubhav Yadav
I had replaced the splash.png in my tftp boot folder, which was
working at first but was not working later.
Replacing those files again solved the issue of PXE server not working!

I will keep posting again, if it gave some problem!

Thanks everyone.


-- 
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/CA+Jf9AE30vnq1MK4d12iHGB_LW-j=2jG2=ObfaRkTqFKc_KE=a...@mail.gmail.com



Re: PXE install, without internet?

2014-02-03 Thread Anubhav Yadav
Sorry for revoking this thread so early.
I installed like say 10 PCs simultaneously using apt-cacher-ng and PXE
server. Afterwards when I started other PCs to install from network,
they are refusing to identify the PXE server.

I also tried replacing the tftp files again but no help.

When I try to restart the tftp-hp service, I don't get the Ok prompt.

root@server1:/home/neo1691# /etc/init.d/tftpd-hpa restart
[] Restarting HPA's tftpd: in.tftpdroot@server1:/home/neo1691#


The above is exact output of the prompt.

Here's is my networking configuration:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 172.16.4.104
netmask 255.255.248.0
gateway 172.16.0.1

and here's is my tftp configuration: /etc/default/tftpd-hpa

TFTP_USERNAME=tftp
TFTP_DIRECTORY=/srv/tftp
TFTP_ADDRESS=0.0.0.0:69
TFTP_OPTIONS=--secure

Any idea where should I start debugging?


-- 
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/CA+Jf9AFabWsC9_Ra53DqC4Y4iU_1c7Mjpw=r5famtbf2tra...@mail.gmail.com



Re: PXE install, without internet?

2014-02-03 Thread Scott Ferguson
Re-sending to list

On 04/02/14 16:51, Anubhav Yadav wrote:
 Sorry for revoking this thread so early.
 I installed like say 10 PCs simultaneously using apt-cacher-ng and PXE
 server. Afterwards when I started other PCs to install from network,
 they are refusing to identify the PXE server.
 
 I also tried replacing the tftp files again but no help.
 
 When I try to restart the tftp-hp service, I don't get the Ok prompt.
 
 root@server1:/home/neo1691# /etc/init.d/tftpd-hpa restart
 [] Restarting HPA's tftpd: in.tftpdroot@server1:/home/neo1691#

In case it's an issue with insufficient free dhcp leases, on the box
with the dhcp server try:-
(for isc-dhcp-server) cat /var/lib/dhcpd.leases and compare that against
the number available in your settings

also:-
service dhcpd restart

Then try booting the PXE clients again.

Also make sure it's not a general network problem (it happens). i.e. try
booting a live CD (or the installed OS) from a client and pinging the
PXE server.

 
 
 The above is exact output of the prompt.
 
 Here's is my networking configuration:
 
 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).
 
 # The loopback network interface
 auto lo eth0
 iface lo inet loopback
 iface eth0 inet static
 address 172.16.4.104
 netmask 255.255.248.0
 gateway 172.16.0.1
 
 and here's is my tftp configuration: /etc/default/tftpd-hpa
 
 TFTP_USERNAME=tftp
 TFTP_DIRECTORY=/srv/tftp
 TFTP_ADDRESS=0.0.0.0:69
 TFTP_OPTIONS=--secure
 
 Any idea where should I start debugging?

At the DHCP server (first)?

 

Please post:-
/etc/dhcpd.conf
/etc/default/dhcp3-server


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/52f087a5.4020...@gmail.com



Re: PXE install, without internet?

2014-02-03 Thread Scott Ferguson
On 04/02/14 17:21, Scott Ferguson wrote:
 On 04/02/14 16:51, Anubhav Yadav wrote:
 Sorry for revoking this thread so early.
 I installed like say 10 PCs simultaneously using apt-cacher-ng and PXE
 server. Afterwards when I started other PCs to install from network,
 they are refusing to identify the PXE server.

snipped
 


 The above is exact output of the prompt.

 Here's is my networking configuration:

snipped

 # The loopback network interface
 auto lo eth0
 iface lo inet loopback
 iface eth0 inet static
 address 172.16.4.104

 netmask 255.255.248.0

Just in case it makes a difference - that's a /29 network
i.e. 192 possible hosts (32 subnets with 6 hosts each) unless that's not
a point-to-point network...




snipped

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/52f08a33.30...@gmail.com



Re: PXE install, without internet?

2014-01-30 Thread Anubhav Yadav
 No. Probably a DNS problem, alt+f4 in the affected installation to see
 where the error is.

 I've seen the problem but don't recall a specific cause - I also don't
 know your DNS, PXE and TFTP server setup. I generally use an IPCop
 Firewall and DNS, with PXE and TFTP on a separate (VirtualBox) machine,
 so my experience may not translate.

I will be back next monday or tuesday.
For starters I installed the server packages from this guide.
http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3

And the dns and tftp configurations was done using this guide.
http://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny

And finally placed the tftp boot files in the directory as specified
in the official debian guide.
https://wiki.debian.org/PXEBootInstall#Set_up_TFTP_server

As soon as I reach my college the first thing I will do is share my
/etc/networking/interfaces files to
show how I have set up my server.

And thanks for the kind words. Appreciated everyone efforts.


-- 
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/ca+jf9ag5t9syhjfz0e8vzsc2n7b33o8sefdnyv_pakrb8fh...@mail.gmail.com



Re: PXE install, without internet?

2014-01-30 Thread Klaus

On 30/01/14 05:42, Anubhav Yadav wrote:

Somebody above mentioned that there is a bug in the debian installer
and you need to manually give the proxy.


That somebody above was me: Sorry for this red herring, my memory 
obviously didn't serve me right there and I should have searched the 
list archive for any mentioning of this (non-existent) bug.

Glad to see it all worked out at the end!

Incidentally, I've now had time and tried two different netinstall 
images (7.3 and 7.0, both amd64) in a VirtualBox install. At the point 
during the installation when the installer asks about any proxy, it 
makes no difference whether or not I add the trailing slash:

http://192.168.0.127:3142  and
http://192.168.0.127:3142/
both work fine. In other words, I can't reproduce the original error 
described in Anubhav's original question (24/01/14)



When I get on the network mirror page on the installation of client, I
try the following

http://{PXE_IP_Address}:3142

but it just won't work.


Could it just be that the OP typed this in when asked for a mirror 
rather than for the proxy?


--
Klaus


--
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/52ea686d.10...@gmail.com



Re: PXE install, without internet?

2014-01-30 Thread Scott Ferguson
On 30/01/14 22:47, Anubhav Yadav wrote:
 No. Probably a DNS problem, alt+f4 in the affected installation to see
 where the error is.
 
 I've seen the problem but don't recall a specific cause - I also don't
 know your DNS, PXE and TFTP server setup. I generally use an IPCop
 Firewall and DNS, with PXE and TFTP on a separate (VirtualBox) machine,
 so my experience may not translate.

I had a think about your DNS problem last night and recalled similar
issues when the DNS had run out of leases. You might want to check that.

 
 I will be back next monday or tuesday.
 For starters I installed the server packages from this guide.
 http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3
 
 And the dns and tftp configurations was done using this guide.
 http://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny
 
 And finally placed the tftp boot files in the directory as specified
 in the official debian guide.
 https://wiki.debian.org/PXEBootInstall#Set_up_TFTP_server
 
 As soon as I reach my college the first thing I will do is share my
 /etc/networking/interfaces files to
 show how I have set up my server.
 
 And thanks for the kind words. Appreciated everyone efforts.
 
Thanks for the additional info, I take a look at those articles (when I
get a chance).




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/52eada05.3020...@gmail.com



Re: PXE install, without internet?

2014-01-29 Thread Scott Ferguson
On 29/01/14 16:51, Anubhav Yadav wrote:
 Okay, Thanks for everything guys!! But still I am not able to get this work.
 
 So is what I am trying to do:
 
 Case I : Without Preseed:
 
 I boot from the PXE server. I go to the mirror selection page on the
 debian installer.

Yes.

 I execute a shell. I create the directories
 #mkdir -p /etc/apt/apt.conf.d

NO. Stop there! :)

Don't open a shell. Just proceed to the next step in the installer and
enter the proxy information as asked.

The Debian installer will do all that for you.

NOTE: if you insist on manually creating the directive then do it in
/target/etc/apt/apt.conf.d  as /etc during installation is not /etc on
the machine you are building.

snipped, but not checked

 
 When I boot a client from tftp, and I select the amd64 label on the
 installer, many pages on the installer are skipped. Yet the packages
 are downloaded from the internet.

Had those packages previously been downloaded by apt-cacher-ng? (see
hits and misses as suggested in an earlier part of the thread).


 
 I know I am little persistent,

Hardly a bad quality :D

 maybe I am missing something, but I
 feel I am almost there. I apologize if you guys feel that I am doing
 my research properly, or I am asking too noob questions. I just don't
 know why I am doing this, this thing is not in my syllabus, I am not
 supposed to do this, I am not getting paid for this, but still, I just
 want to get it to work!
 
 Please help!
 


Take a look at the resulting installation:-
; does it have the correct proxy directive?
; if you install a package does is come through/from apt-cacher-ng (look
at the admin page hits and misses)?
; consult debconf-get-selections for clues as to what happened


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/52e8b790.8050...@gmail.com



Re: PXE install, without internet?

2014-01-29 Thread Anubhav Yadav
 NO. Stop there! :)

 Don't open a shell. Just proceed to the next step in the installer and
 enter the proxy information as asked.

 The Debian installer will do all that for you.

Somebody above mentioned that there is a bug in the debian installer
and you need to manually give the proxy.
If not what am I supposed to enter there.
First page on the proxy says that if you need a proxy to access the
outside world.
The format on this page is
http://[user][:pass]@host[:port]/;

So I gave http://172.16.4.104:3142/  # I never gave the trailing / before
and now its working. Feels great to see the packages retrieved at the
speed of light.

Now if I use this as preseed string will it work?

### 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 manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy http://172.16.4.104:3142/  #This line?

###

It should work right?

Now  I ran into some other problems. Only a few computers are able to
find the PXE server
Not all.
Is there a limit on the number of machines that can be installed at a
time using a PXE server?

Thanks for all your support! I finally got the apt-cacher-ng part working.

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9aex+u0u133hg5xhx-8g_dal1qfiopbb2-fhg8tum+a...@mail.gmail.com



Re: PXE install, without internet?

2014-01-29 Thread Scott Ferguson
On 30/01/14 16:42, Anubhav Yadav wrote:
 NO. Stop there! :)

 Don't open a shell. Just proceed to the next step in the installer and
 enter the proxy information as asked.

 The Debian installer will do all that for you.
 
 Somebody above mentioned that there is a bug in the debian installer

Perhaps there is, but I haven't noticed it with Wheezy.

 and you need to manually give the proxy.
 If not what am I supposed to enter there.
 First page on the proxy says that if you need a proxy to access the
 outside world.
 The format on this page is
 http://[user][:pass]@host[:port]/;
 
 So I gave http://172.16.4.104:3142/  # I never gave the trailing / before
 and now its working. Feels great to see the packages retrieved at the
 speed of light.

Yes, and it save so much bandwidth.
Might I suggest you install VirtualBox on a development server? It can
make testing builds so much easier.

 
 Now if I use this as preseed string will it work?
 
 ### 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 manual
 d-i mirror/http/hostname string http.us.debian.org
 d-i mirror/http/directory string /debian
 d-i mirror/http/proxy http://172.16.4.104:3142/  #This line?

Leave the slash off e.g.:-
d-i mirror/http/proxy http://172.16.4.104:3142

 
 ###
 
 It should work right?

Now it will :)

 
 Now  I ran into some other problems. Only a few computers are able to
 find the PXE server
 Not all.
 Is there a limit on the number of machines that can be installed at a
 time using a PXE server?

Yes, sort of.
If they all boot simultaneously e.g. you're using WOL to start the
install then you may encounter problems with DNS. Try extending timeouts
or staggering the boots.
TFTP doesn't handle more than about 100 simultaneous installations - the
solution there is to use GPXE (which also allows greater flexibility
with the location of the server) - and use http instead of tftp. For
more than 1000 simultaneous installs I'd suggest GPXE with http via slamd.

 
 Thanks for all your support! I finally got the apt-cacher-ng part working.
 

I love apt-cacher-ng (we're just good friends, 'really'). Apt-cacher and
squid are also good for the same thing - but apt-cacher-ng has much
lower resource requirements. Glad to hear it's all working for you. When
it comes to administering all those boxes you might also find Steve
Kemps debian-admin site interesting:-
http://debian-administration.org/

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/52e9f4dc.7020...@gmail.com



Fwd: PXE install, without internet?

2014-01-29 Thread Anubhav Yadav
[frwding to the liist, sent by mistake only to Scott]

Thanks for everything. I have observed that a few packages are being downloaded
from the internet. They maybe the security packages and updates released after
package the iso. ( I have imported the packages from the iso )

Now taking all this to a new level, is there a way to mirror official
debian ftp repositories
like debian main, debian security, debian updates etc on the
apt-cacher-ng database,
and maybe update those repositories once twenty days?


 Leave the slash off e.g.:-
 d-i mirror/http/proxy http://172.16.4.104:3142


 ###

 It should work right?

 Now it will :)

I will test the preseed and let you know whether its working or not!
I am taking some days off from the college for a well deserved holiday.

 TFTP doesn't handle more than about 100 simultaneous installations - the
 solution there is to use GPXE (which also allows greater flexibility
 with the location of the server) - and use http instead of tftp. For
 more than 1000 simultaneous installs I'd suggest GPXE with http via slamd.


There are only 20 PCs in the lab that I am trying to manage.
So that shouldn't be a problem right?

When I boot the PCs and escape to boot menu, I select network from
list of devices to boot
from and after the PC stucks on finding the PXE server.

When I try to restart the tfpt-hpa service from the service, the
service never starts sometimes.

I am not able to find out the real pattern as to when the tftp server
stops working.

Sometimes just restarting the isc-dhcp-server service on the server
will solver the issue, and sometimes
restarting the dhcp service wont help.



 Thanks for all your support! I finally got the apt-cacher-ng part working.


 I love apt-cacher-ng (we're just good friends, 'really'). Apt-cacher and
 squid are also good for the same thing - but apt-cacher-ng has much
 lower resource requirements. Glad to hear it's all working for you. When
 it comes to administering all those boxes you might also find Steve
 Kemps debian-admin site interesting:-
 http://debian-administration.org/


Thanks for the website, maybe one day I will be telnet-ing or ssh-ing
to the same PXE
server that I have setup and will be installing so many packages
together on so many machines at the same
time right from my bed. :)

--
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9ag2toplqtmyzde+hjgtg9sgr4viujjaj86auzx9_pv...@mail.gmail.com



Re: PXE install, without internet?

2014-01-29 Thread Scott Ferguson
On 30/01/14 18:07, Anubhav Yadav wrote:
 Thanks for everything. I have observed that a few packages are being
 downloaded from the internet. They maybe the security packages and
 updates released after package the iso. ( I have imported the
 packages from the iso )

See the apt-cacher-ng management page (more details further down this
post), click on
the button and look at the hits and misses for more information.

 
 Now taking all this to a new level, is there a way to mirror
 official debian ftp repositories like debian main, debian security,
 debian updates etc on the apt-cacher-ng database, and maybe update
 those repositories once twenty days?

Yes, yes, and, yes. :)
Look at the bottom of the apt-cacher-ng management page (Apt-Cacher NG
Command And Control Page):-
http://$yourAptCacherNgServer:3142/acng-report.html

And read the installed documentation

 
 
 Leave the slash off e.g.:- d-i mirror/http/proxy
 http://172.16.4.104:3142
 
 
 ###
 
 It should work right?
 
 Now it will :)
 
 I will test the preseed and let you know whether its working or not!

Please do, I'm sure others will also appreciate a link to working
preseed examples.

 I am taking some days off from the college for a well deserved
 holiday.

Enjoy, you deserve it for persevering. I hope the experience and the
self-confidence that came with it proves useful.

 
 TFTP doesn't handle more than about 100 simultaneous installations
 - the solution there is to use GPXE (which also allows greater
 flexibility with the location of the server) - and use http instead
 of tftp. For more than 1000 simultaneous installs I'd suggest GPXE
 with http via slamd.
 
 
 There are only 20 PCs in the lab that I am trying to manage. So that
 shouldn't be a problem right?

No. Probably a DNS problem, alt+f4 in the affected installation to see
where the error is.

 
 When I boot the PCs and escape to boot menu, I select network from 
 list of devices to boot from and after the PC stucks on finding the
 PXE server.

I've seen the problem but don't recall a specific cause - I also don't
know your DNS, PXE and TFTP server setup. I generally use an IPCop
Firewall and DNS, with PXE and TFTP on a separate (VirtualBox) machine,
so my experience may not translate.

 
 When I try to restart the tfpt-hpa service from the service, the 
 service never starts sometimes.

Logs?

 
 I am not able to find out the real pattern as to when the tftp
 server stops working.
 
 Sometimes just restarting the isc-dhcp-server service on the server 
 will solve the issue, and sometimes restarting the dhcp service wont
 help.

Sorry, I don't have any insights there, I'd look at the logs and also
see if only a certain type of machine is affected.

snipped

 When it comes to administering all those boxes you might also find
 Steve Kemps debian-admin site interesting:- 
 http://debian-administration.org/
 
 
 Thanks for the website, maybe one day I will be telnet-ing or
 ssh-ing to the same PXE server that I have setup and will be
 installing so many packages together on so many machines at the same 
 time right from my bed. :)


Test them first, perhaps on a VirtualBox machine, you'll find change
control is the belt *and* suspenders that enables you to avoid the
occasional problem/s that may overshadow the gains mass deployment and
management give.

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/52ea000b.6000...@gmail.com



Re: PXE install, without internet?

2014-01-28 Thread Anubhav Yadav
 It can't work as the snippet name is in the wrong format

 The correct snippet name is /etc/apt/apt.conf.d/NNproxy
 where NN is a number e.g.:-
 /etc/apt/apt.conf.d/90proxy

 Make sure you use the ip address not the server name

I did the above. When I come to the page where I am supposed to select
a mirror I execute a shell, create the required directory and put the above
line it it.

Next I go back to the miror page, select any mirror on the installer and
then
leave the proxy blank.

Yet all the packages and release files seems to be downloading from the
internet!

Thanks for your time and and effort. Appreciated.

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune


Re: PXE install, without internet?

2014-01-28 Thread Klaus

On 28/01/14 05:48, Scott Ferguson wrote:

On 28/01/14 14:54, Anubhav Yadav wrote:


I exited to shell and created the directory apt.conf.d in /etc and put
the following lines in it.
#nano /etc/apt.conf.d/proxy

Acquire::http { Proxy http://CacheServerIp:3142;; };

Still doesn't seem to work.


From man apt.conf

THE ACQUIRE GROUP
   http
   http::Proxy sets the default proxy to use for HTTP URIs. It 
is in

   the standard form of http://[[user][:pass]@]host[:port]/

Note the trailing slash, so it would be
Acquire::http::Proxy http://CacheServerIp:3142/;;



It can't work as the snippet name is in the wrong format

The correct snippet name is /etc/apt/apt.conf.d/NNproxy
where NN is a number e.g.:-
/etc/apt/apt.conf.d/90proxy


Scott, could you explain that a little more? In man apt.conf there is 
no mentioning of numbers; they would only help with making the 
alphanumeric ascending order more visible:


   When an APT tool starts up it will read the configuration files 
in the

   following order:

1. the file specified by the APT_CONFIG environment variable 
(if any)


2. all files in Dir::Etc::Parts in alphanumeric ascending order 
which

   have either no or conf as filename extension and which only
   contain alphanumeric, hyphen (-), underscore (_) and period (.)
   characters.



---

Disclaimer: I'm using the older apt-cacher instead of apt-cacher-ng 
and there are subtle differences in syntax.


--
Klaus


--
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/52e78035.8000...@gmail.com



Re: PXE install, without internet?

2014-01-28 Thread Scott Ferguson
On 28/01/14 19:41, Anubhav Yadav wrote:
 It can't work as the snippet name is in the wrong format

 The correct snippet name is /etc/apt/apt.conf.d/NNproxy
 where NN is a number e.g.:-
 /etc/apt/apt.conf.d/90proxy

 Make sure you use the ip address not the server name
 
 I did the above. When I come to the page where I am supposed to select
 a mirror I execute a shell, create the required directory and put the
 above line it it.

I'm not sure where you got the advice to manually add the proxy during
installation, though it 'should' work. I expect it would work better if
you did that step *after* the installer asks the proxy question.
I use:-

snipped start of preseed.cfg
# Network setup
d-i netcfg/disable_autoconfig boolean true
# see http://lists.debian.org/debian-boot/2012/10/msg00054.html
d-i netcfg/target_network_config select ifupdown
d-i netcfg/choose_interface select eth0
d-i netcfg/get_hostname string preseed
d-i netcfg/get_domain string dev
# Static network configuration.
d-i netcfg/get_nameservers string 8.8.8.8
d-i netcfg/get_ipaddress string 192.168.0.56
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.0.6

snipped middle of preseed.cfg
### Mirror settings
d-i mirror/country string enter information manually
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string http://192.168.0.2:3142

snipped rest of preseed.cfg

 
 Next I go back to the miror page, select any mirror on the installer and
 then
 leave the proxy blank.

Perhaps that sets the proxy to blank (no proxy)??

 
 Yet all the packages and release files seems to be downloading from the
 internet!

That will happen if the packages have not been previously installed
through apt-cacher-ng

Check your hit/miss ratio at:-
http://whateverYourAptCacherNgAdressIs:3142/acng-report.html

 
 Thanks for your time and and effort. Appreciated.
 
 -- 
 Regards,
 Anubhav Yadav
 Imperial College of Engineering and Research,
 Pune
 

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/52e78359.6010...@gmail.com



Re: PXE install, without internet?

2014-01-28 Thread Scott Ferguson
On 28/01/14 21:02, Klaus wrote:
 On 28/01/14 05:48, Scott Ferguson wrote:
 On 28/01/14 14:54, Anubhav Yadav wrote:

snipped

 
 Note the trailing slash, so it would be
 Acquire::http::Proxy http://CacheServerIp:3142/;;

1++

 
 
 It can't work as the snippet name is in the wrong format

 The correct snippet name is /etc/apt/apt.conf.d/NNproxy
 where NN is a number e.g.:-
 /etc/apt/apt.conf.d/90proxy
 
 Scott, could you explain that a little more?

Yes, if you 'really' want - but it'd be pointless.
Because I was wrong.
:)

 In man apt.conf there is
 no mentioning of numbers; they would only help with making the
 alphanumeric ascending order more visible:
 
snipped
 
 2. all files in Dir::Etc::Parts in alphanumeric ascending order
 which
have either no or conf as filename extension and which only
contain alphanumeric, hyphen (-), underscore (_) and period (.)
characters.

I hadn't paid attention to that section before (thanks for the pointer).
So it seems that /etc/apt/apt.conf.d/proxy should work fine for the OP's
purposes (it's my understanding that package maintainers should use a
2-digit prefix though).
Unless there's another file (/etc/apt/apt.conf or
/etc/apt/apt.conf.d/loweraphanumericIndex), but I can't imagine how that
would happen.. the OP said he created the snippet (fragment?) before the
d-i proxy question, but if the answer was no /etc/apt/apt.d/90proxy
shouldn't be created.


 
 
 
 ---
 
 Disclaimer: I'm using the older apt-cacher instead of apt-cacher-ng
 and there are subtle differences in syntax.
 


I no longer use apt-cacher, but I don't recall any differences in how
they process proxy directives in apt.conf or snippets in apt.conf.d/

From memory apt.conf seems to take precedence over apt.conf.d directives

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/52e78bc8.3060...@gmail.com



Re: PXE install, without internet?

2014-01-28 Thread Klaus

On 28/01/14 10:51, Scott Ferguson wrote:

On 28/01/14 21:02, Klaus wrote:

Disclaimer: I'm using the older apt-cacher instead of apt-cacher-ng
and there are subtle differences in syntax.


I no longer use apt-cacher, but I don't recall any differences in how
they process proxy directives in apt.conf or snippets in apt.conf.d/



It's been too long since I set up my apt-cacher, (and I haven't got 
access to my old notes right now) but I need something like


Acquire::http::Proxy http://server-ip:3142/apt-cacher/;;

in my 02proxy config file. That's the only reason I noticed this little 
hint at the very end of 
http://www.unix-ag.uni-kl.de/~bloch/acng/html/config-servquick.html#config-servquick


Additionally, leading path component containing apt-cacher/ or
apt-cacher?/ might be ignored by the server during the URL processing.
This is intended behavior and exists to maintain backwards compatibility
to sources.list entries configured for early versions of Apt-Cacher
(based on CGI technology).



--
Klaus


--
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/52e799b2.5060...@gmail.com



Re: PXE install, without internet?

2014-01-28 Thread Anubhav Yadav
Okay, Thanks for everything guys!! But still I am not able to get this work.

So is what I am trying to do:

Case I : Without Preseed:

I boot from the PXE server. I go to the mirror selection page on the
debian installer.
I execute a shell. I create the directories
#mkdir -p /etc/apt/apt.conf.d

then using the nano editor: I write the following line.

Acquire::http { Proxy http://172.16.4.104:3142/;; };

I have also tried this syntax ( as suggested by Klaus)
Acquire::http::Proxy http://172.16.4.104:3142/;;

Still it downloads all the packages and the release files from the internet.

Yes on my server where apt-cacher-ng is installed, all packages have
been successfully imported from the iso.
I can confirm it as I have installed many packages from cacher from an
pre installed debian client. Works like a charm.

Now Case II:- With preseed:

1) I got the example pressed file from debian.org.Here is a link to
it. http://paste.debian.net/78953/

More specifically I have this as my repositories in preseed:

### 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 manual
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy http://172.16.4.104:3142

Now I have saved the above in /var/www/ and this is my entry in
/srv/tftp/pxelinux.cfg/default file

# D-I config version 2.0
include debian-installer/amd64/boot-screens/menu.cfg
default debian-installer/amd64/boot-screens/vesamenu.c32
prompt 0
timeout 0

label amd64
kernel debian-installer/amd64/linux
append vga=normal initrd=debian-installer/amd64/initrd.gz
netcfg/choose_interface=eth0 domain=WORKGROUP
debian-installer/country=IN debian-installer/language=en
auto-install/enable=false preseed/url=http://172.16.4.104/preseed.cfg
DEBCONF_DEBUG=5 -- quiet

When I boot a client from tftp, and I select the amd64 label on the
installer, many pages on the installer are skipped. Yet the packages
are downloaded from the internet.

I know I am little persistent, maybe I am missing something, but I
feel I am almost there. I apologize if you guys feel that I am doing
my research properly, or I am asking too noob questions. I just don't
know why I am doing this, this thing is not in my syllabus, I am not
supposed to do this, I am not getting paid for this, but still, I just
want to get it to work!

Please help!


-- 
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/CA+Jf9AHEbOaCQr8gpLi=ueVzqZOkKKoPmYP+QF+aWh=gxvn...@mail.gmail.com



Re: PXE install, without internet?

2014-01-27 Thread Anubhav Yadav
On Fri, Jan 24, 2014 at 4:02 PM, Klaus klaus.doering...@gmail.com wrote:
 Didn't we have a recent thread about this? I seem to remember that there
 might be a bug in the current installer, and you have to escape the
 installer process at that point. Then, enter a shell and edit the file
 /etc/apt.conf.d/proxy (this is now on the to-be-installed machine) to point
 to your apt-cacher. Exit shell, back to the installer, and live happily ever
 after :-)

I exited to shell and created the directory apt.conf.d in /etc and put
the following lines in it.
#nano /etc/apt.conf.d/proxy

Acquire::http { Proxy http://CacheServerIp:3142;; };

Still doesn't seem to work.



Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/CA+Jf9AHgc-9g_bs=LzdL-Kf=t5rmz-sjrgq0zted7fppnvc...@mail.gmail.com



Re: PXE install, without internet?

2014-01-27 Thread Scott Ferguson
On 28/01/14 14:54, Anubhav Yadav wrote:
 On Fri, Jan 24, 2014 at 4:02 PM, Klaus klaus.doering...@gmail.com wrote:
 Didn't we have a recent thread about this? I seem to remember that there
 might be a bug in the current installer, and you have to escape the
 installer process at that point. Then, enter a shell and edit the file
 /etc/apt.conf.d/proxy (this is now on the to-be-installed machine) to point
 to your apt-cacher. Exit shell, back to the installer, and live happily ever
 after :-)
 
 I exited to shell and created the directory apt.conf.d in /etc and put
 the following lines in it.
 #nano /etc/apt.conf.d/proxy
 
 Acquire::http { Proxy http://CacheServerIp:3142;; };
 
 Still doesn't seem to work.
It can't work as the snippet name is in the wrong format

The correct snippet name is /etc/apt/apt.conf.d/NNproxy
where NN is a number e.g.:-
/etc/apt/apt.conf.d/90proxy

Make sure you use the ip address not the server name

You can just preseed the creation of 90proxy, but it's kind of redundant
as you can preseed the proxy.


 
 
 
 Regards,
 Anubhav Yadav
 Imperial College of Engineering and Research,
 Pune.
 
 


I have no problems with either method and apt-cacher-ng



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/52e744a3.2000...@gmail.com



Re: PXE install, without internet?

2014-01-24 Thread Anubhav Yadav
 set the proxy on the pxe server to localhost:3142 using
 /etc/apt/apt.conf.d/90proxy or (/etc/apt/apt.conf)


I did the above and now on my PXE server I have 12 gb of packages cached.

What I want to do is when I boot the other computers via network, (ie
the boot from tftp on my PXE server) I want them to download all
packages from the apt-cacher-ng, instead of downloading from the
internet repositories.

When I get on the network mirror page on the installation of client, I
try the following

http://{PXE_IP_Address}:3142

but it just won't work.

I have also been advised to use a proxy in the preseed.cfg. However I
am not using any preseed file. My directory listing of tftp folder is

drwxrwxr-x 3 root root 4096 Dec 12 11:48 debian-installer
lrwxrwxrwx 1 root root   33 Dec 12 11:48 pxelinux.0 -
debian-installer/amd64/pxelinux.0
lrwxrwxrwx 1 root root   35 Dec 12 11:48 pxelinux.cfg -
debian-installer/amd64/pxelinux.cfg
-rw-rw-r-- 1 root root   64 Dec 12 11:48 version.info

Please advice.

Thanks


-- 
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/CA+Jf9AGexz0yqWy6NTRk3=1cfyni897wfgpvh+tfmospntv...@mail.gmail.com



Re: PXE install, without internet?

2014-01-24 Thread Klaus

On 24/01/14 08:44, Anubhav Yadav wrote:

When I get on the network mirror page on the installation of client, I
try the following

http://{PXE_IP_Address}:3142

but it just won't work.


Didn't we have a recent thread about this? I seem to remember that there 
might be a bug in the current installer, and you have to escape the 
installer process at that point. Then, enter a shell and edit the file 
/etc/apt.conf.d/proxy (this is now on the to-be-installed machine) to 
point to your apt-cacher. Exit shell, back to the installer, and live 
happily ever after :-)



I have also been advised to use a proxy in the preseed.cfg.


And? Wasn't that good advice? From 
http://www.debian.org/releases/wheezy/example-preseed.txt


d-i mirror/http/directory string /debian
d-i mirror/http/proxy string


--
Klaus


--
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/52e2412b.5070...@gmail.com



Re: PXE install, without internet?

2014-01-24 Thread Anubhav Yadav
On 24 Jan 2014 16:02, Klaus klaus.doering...@gmail.com wrote:

 On 24/01/14 08:44, Anubhav Yadav wrote:

 When I get on the network mirror page on the installation of client, I
 try the following

 http://{PXE_IP_Address}:3142

 but it just won't work.


 Didn't we have a recent thread about this? I seem to remember that there
might be a bug in the current installer, and you have to escape the
installer process at that point. Then, enter a shell and edit the file
/etc/apt.conf.d/proxy (this is now on the to-be-installed machine) to point
to your apt-cacher. Exit shell, back to the installer, and live happily
ever after :-)

Just now left from my college. This is the first thing I'll do on Tuesday.

Just a question.  Will this work now for both bootable USB and PXEA server
methods.


 I have also been advised to use a proxy in the preseed.cfg.


 And? Wasn't that good advice? From 
http://www.debian.org/releases/wheezy/example-preseed.txt

 d-i mirror/http/directory string /debian
 d-i mirror/http/proxy string


Dont know why, i am afraid of preeseeding as of now. I should gice that a
try.

Cheers

 --
 Klaus



 --
 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/52e2412b.5070...@gmail.com



Re: Re: PXE install, without internet?

2014-01-15 Thread Anubhav Yadav
I installed apt-cacher-ng:

I did the following:

1) Mounted my debian iso on /media/iso1/

2) Tweaked my sources.list as
deb file:/media/iso1/ wheezy main contrib
(just in case)

3) And made changes in fstab to auto mount the iso.

4) created a symlynk to the pool folder in the iso to
/var/cache/apt-cacher-ng/_import/


I did all the above on a 32 bit debian 7 box, pre configured with PXE server.

Now, when I run import from apt-cacher-ng web interface I get the
following errors:

No index files detected. Unable to continue, cannot map files to
internal locations.

Apparantly I thought running apt-get update from the iso should solve
problems, but apt-get update fails as I have 64bit repository and the
server has 32 bit debian installed on the server.

Last step and I am through!


-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9af7fvw8cp9vp_6ae6bkobebydqxk9myk8rfdnmjnvq...@mail.gmail.com



Re: Re: PXE install, without internet?

2014-01-12 Thread Anubhav Yadav
One of the most user friendly lists you'll find! :)


-- 
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/ca+jf9agkqgv1+d6vnkvgcxgroxk-_5xpz9rpvo21+g1_vg0...@mail.gmail.com



Re: PXE install, without internet?

2014-01-12 Thread Anubhav Yadav
 I suspect apt-cacher-ng is the best long-term solution for the OP or I'd
 have suggested just adding the entire DVD repo. to the TFTP directory
 used by PXE.

Still I'll be trying both! Never bad to learn anything new! Thanks again! :)


-- 
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/CA+Jf9AHwD=ar+vw5unqxv429+yctma8xkmxlbtwazmxb5xi...@mail.gmail.com



PXE install, without internet?

2014-01-11 Thread Anubhav Yadav
Hey folks,
I managed to convince my staff to switch to debian from windoze, and they
agreed. So I managed to install a PXE server and successfully booted debian
installer simultaneously on 20 machines using dhcp server.

But they required an active internet connection to fetch packages over a
mirror, and the bandwidth was very low, so at then end of the day, only one
PC was able to set up.

So is there a way to boot an entire 4gb dvd-iso from a server, so that I
can install it on PC connected on a network??

Thanks!

-- 


*Regards,Anubhav Yadav*

*Imperial College of Engineering and Research,*
*Pune.*


Re: PXE install, without internet?

2014-01-11 Thread Ralf Mardorf
On Sat, 2014-01-11 at 13:21 +0530, Anubhav Yadav wrote:
 Imperial College of [...] Research

That's a good joke :D. Are you a teacher or student? Sorry, I couldn't
resist.

http://lmgtfy.com/?q=boot+debian+iso+from+server

Never send your messages in HTML; use plain text instead. -
http://www.debian.org/MailingLists/




-- 
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/1389429660.13250.130.camel@archlinux



Re: PXE install, without internet?

2014-01-11 Thread Артур Истомин
On Sat, Jan 11, 2014 at 01:21:30PM +0530, Anubhav Yadav wrote:
 Hey folks,
 I managed to convince my staff to switch to debian from windoze, and they
 agreed. So I managed to install a PXE server and successfully booted debian
 installer simultaneously on 20 machines using dhcp server.
 
 But they required an active internet connection to fetch packages over a
 mirror, and the bandwidth was very low, so at then end of the day, only one
 PC was able to set up.
 
 So is there a way to boot an entire 4gb dvd-iso from a server, so that I
 can install it on PC connected on a network??

You can create local mirror of repos.

http://www.debian.org/mirror/ftpmirror


-- 
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/2014004003.ga21...@yandex.ru



Re: PXE install, without internet?

2014-01-11 Thread Stan Hoeppner
On 1/11/2014 4:40 AM, Артур Истомин wrote:
 On Sat, Jan 11, 2014 at 01:21:30PM +0530, Anubhav Yadav wrote:
 Hey folks,
 I managed to convince my staff to switch to debian from windoze, and they
 agreed. So I managed to install a PXE server and successfully booted debian
 installer simultaneously on 20 machines using dhcp server.

 But they required an active internet connection to fetch packages over a
 mirror, and the bandwidth was very low, so at then end of the day, only one
 PC was able to set up.

 So is there a way to boot an entire 4gb dvd-iso from a server, so that I
 can install it on PC connected on a network??
 
 You can create local mirror of repos.
 
 http://www.debian.org/mirror/ftpmirror

Yes, with 20 machines to install via PXE boot, setting up a local mirror
is the best method by far.

-- 
Stan




-- 
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/52d125e1.9040...@hardwarefreak.com



Re: PXE install, without internet?

2014-01-11 Thread Tom Furie
On Sat, Jan 11, 2014 at 10:40:03AM +, Артур Истомин wrote:
 On Sat, Jan 11, 2014 at 01:21:30PM +0530, Anubhav Yadav wrote:

  So is there a way to boot an entire 4gb dvd-iso from a server, so that I
  can install it on PC connected on a network??
 
 You can create local mirror of repos.

A full mirror might be overkill. Another option could be an apt proxy,
such as apt-cacher.

Cheers,
Tom

-- 
Proper treatment will cure a cold in seven days, but left to itself,
a cold will hang on for a week.
-- Darrell Huff


signature.asc
Description: Digital signature


Re: PXE install, without internet?

2014-01-11 Thread Scott Ferguson
On 11/01/14 22:07, Stan Hoeppner wrote:
 On 1/11/2014 4:40 AM, Артур Истомин wrote:
 On Sat, Jan 11, 2014 at 01:21:30PM +0530, Anubhav Yadav wrote:
 Hey folks,
 I managed to convince my staff to switch to debian from windoze, and they
 agreed. So I managed to install a PXE server and successfully booted debian
 installer simultaneously on 20 machines using dhcp server.

 But they required an active internet connection to fetch packages over a
 mirror, and the bandwidth was very low, so at then end of the day, only one
 PC was able to set up.

 So is there a way to boot an entire 4gb dvd-iso from a server, so that I
 can install it on PC connected on a network??

 You can create local mirror of repos.

 http://www.debian.org/mirror/ftpmirror
 
 Yes, with 20 machines to install via PXE boot, setting up a local mirror
 is the best method by far.
 


Mirror means even packages *not* required, apt-caching allows a local
repository of only the packages that are actually required, with the
additional benefits of handling multiple releases and repostories.

Presuming that at least one box will be built before building all:-
If time and bandwidth are concerns just apt-cdrom add then install
packages on one box (gateway?) then apt-get install apt-cacher-ng,
followed by cp /var/cache/apt/archives/*.deb
/var/cache/apt-cacher-ng/_import, then go to
http://localhost:3142/acng-report.html and click on Start Import.
on that box # echo Acquire::http { Proxy http://localhost:3142;; };
 /etc/apt/apt.conf.d/90proxy
Now when you install packages on that box it'll check apt-cacher-ng first.

You can add then add all the contents of the DVD/s to apt-cacher-ng:-
http://www.unix-ag.uni-kl.de/~bloch/acng/html/howtos.html#howto-importiso

In the preseed.cfg for the pxe set the repositories as normal and the
proxy as $apt-cacher:3142

If all the boxes are identical then simply copying or networkmounting
/var/cache/apt/archives/*.deb and, dpkg --set-selections might save some
time and bandwidth also.



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/52d131ba.9070...@gmail.com



Re: Re: PXE install, without internet?

2014-01-11 Thread Anubhav Yadav
I am student.
I did a google research already,and thanks for the link :)

-- 


*Regards,Anubhav Yadav*

*Imperial College of Engineering and Research,*
*Pune.*


Re: Re: PXE install, without internet?

2014-01-11 Thread Anubhav Yadav
Yes, it should be a perfect option, given the fact that students can
later install any package from the mirror. I'll try this and the
apt-cacher solution too.

Only one question. Suppose I want to update my packages, then should I
update my ftp mirror once a week, or should I update it from an
official debian mirror?

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9afd9tga77cwg5+rf62mha5cvs5e62bhqa3mfxbxe-a...@mail.gmail.com



Re: Re: PXE install, without internet?

2014-01-11 Thread Anubhav Yadav
Thanks for replying Scott,appreciated your time and effort.

If I do apt-cdrom add, It will look for the cd-rom right, not the iso.
So I'll first need to mount the iso somewhere and tweak the
sources.list to point to a file, rather than a dvd.

And yes, one box is already ready with debian 7 32 bits, which is also
a PXE server and I'll be now using the same server to install 64 bit
version of debian on 20 PCs. (Which are 32 bit debian now)

Thanks a lot again :)

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9ahbltqgy5djhomea0op4e2nhdazfj86vcwsby+7vew...@mail.gmail.com



Re: PXE install, without internet?

2014-01-11 Thread Reco
 Hi.

On Sat, 11 Jan 2014 22:57:46 +1100
Scott Ferguson scott.ferguson.debian.u...@gmail.com wrote:

 on that box # echo Acquire::http { Proxy http://localhost:3142;; };
  /etc/apt/apt.conf.d/90proxy

A small nit - correct syntax would be:

echo 'Acquire::http::Proxy http://localhost:3142;;'  
/etc/apt/apt.conf.d/90proxy

Reco


-- 
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/2014085541.e4b0d27c9ad6f63542159...@gmail.com



Re: Re: PXE install, without internet?

2014-01-11 Thread Ralf Mardorf
On Sat, 2014-01-11 at 19:45 +0530, Anubhav Yadav wrote:
 I did a google research already

My apologies, I had another impression.



-- 
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/1389454812.13250.170.camel@archlinux



Re: PXE install, without internet?

2014-01-11 Thread Hans
 
 So is there a way to boot an entire 4gb dvd-iso from a server, so that I
 can install it on PC connected on a network??
 
 Thanks!
If the machines are all the same hardware, you might additionally try other 
ways. Just ideas:

1. FAI (see http://fai-project.org) - just create a FAI-DVD and you can 
install every machine with it. More DVD's mean faster installation.

2. Try clonezilla, once you setup the first PC, you can create more images and 
install via multicasting.

3. You might also try to run rsync in combination with a livefilesystem to get 
access to the harddrive of the target.

4. And of course, try DRBL, which sets up a cloneserver.

As I said, just ideas

Have fun!

Hans


-- 
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/3645794.97IP4dNiPn@protheus2



Re: PXE install, without internet?

2014-01-11 Thread Anubhav Yadav
On Sat, Jan 11, 2014 at 10:32 PM, Hans hans.ullr...@loop.de wrote:

 So is there a way to boot an entire 4gb dvd-iso from a server, so that I
 can install it on PC connected on a network??

 Thanks!
 If the machines are all the same hardware, you might additionally try other
 ways. Just ideas:

 1. FAI (see http://fai-project.org) - just create a FAI-DVD and you can
 install every machine with it. More DVD's mean faster installation.

 2. Try clonezilla, once you setup the first PC, you can create more images and
 install via multicasting.

 3. You might also try to run rsync in combination with a livefilesystem to get
 access to the harddrive of the target.

 4. And of course, try DRBL, which sets up a cloneserver.

 As I said, just ideas

 Have fun!

 Hans


 --
 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/3645794.97IP4dNiPn@protheus2


There you go. So many options.I have got a whole lab for experimenting
and learning.
Will try them out!! Thanks again! :)

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/ca+jf9agudslbhiwm5kcg1deypfgrsmmg1q2nalqhjbv5bma...@mail.gmail.com



Re: Re: PXE install, without internet?

2014-01-11 Thread Anubhav Yadav
On Sat, Jan 11, 2014 at 9:10 PM, Ralf Mardorf
ralf.mard...@alice-dsl.net wrote:
 On Sat, 2014-01-11 at 19:45 +0530, Anubhav Yadav wrote:
 I did a google research already

 My apologies, I had another impression.
Ralf, I understand I should have been more precise with my question.
Nevertheless, you have solved a lot of my problems here alone alongwith
many others!! Cheers!! :)





-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
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/CA+Jf9AFU8t4RCQzx2_bZVZEqC4EJVvCV21BD=cdjzy6wi7k...@mail.gmail.com



Re: Re: PXE install, without internet?

2014-01-11 Thread Ralf Mardorf
On Sat, 2014-01-11 at 22:52 +0530, Anubhav Yadav wrote:
 On Sat, Jan 11, 2014 at 9:10 PM, Ralf Mardorf
 ralf.mard...@alice-dsl.net wrote:
  On Sat, 2014-01-11 at 19:45 +0530, Anubhav Yadav wrote:
  I did a google research already
 
  My apologies, I had another impression.
 Ralf, I understand I should have been more precise with my question.
 Nevertheless, you have solved a lot of my problems here alone alongwith
 many others!! Cheers!! :)

No :( I only was harsh, just the others helped you :). It's ok this way,
live isn't perfect ;).



-- 
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/1389461512.13250.179.camel@archlinux



Re: PXE install, without internet?

2014-01-11 Thread Scott Ferguson
On 12/01/14 01:55, Reco wrote:
  Hi.
 
 On Sat, 11 Jan 2014 22:57:46 +1100
 Scott Ferguson scott.ferguson.debian.u...@gmail.com wrote:
 
 on that box # echo Acquire::http { Proxy http://localhost:3142;; };
 /etc/apt/apt.conf.d/90proxy
 
 A small nit - correct syntax would be:
 
 echo 'Acquire::http::Proxy http://localhost:3142;;'  
 /etc/apt/apt.conf.d/90proxy
 
 Reco
 
 


Only if you want it to actually work :)

I probably should have mentioned that /etc/apt/apt.conf is also an
option, and should be checked for anyway.


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/52d1e987.5030...@gmail.com



Fwd: Re: PXE install, without internet?

2014-01-11 Thread Scott Ferguson
Resending to correct location


 Original Message 
Subject: Re: PXE install, without internet?
Date: Sun, 12 Jan 2014 12:02:14 +1100
From: Scott Ferguson scott.ferguson.debian.u...@gmail.com
To: Anubhav Yadav anubhav1...@gmail.com

On 12/01/14 01:29, Anubhav Yadav wrote:
 Thanks for replying Scott,appreciated your time and effort.
 
 If I do apt-cdrom add, It will look for the cd-rom right, not the iso.

Yes.

 So I'll first need to mount the iso somewhere and tweak the
 sources.list to point to a file, rather than a dvd.

Or just temporarily symlink to where the cdrom is.


If the first box (PXE server) is already built, make that the
apt-cacher-ng server, and add the contents to any DVDs to it
(apt-cacher-ng). i.e. don't do the apt-cdrom add

set the proxy on the pxe server to localhost:3142 using
/etc/apt/apt.conf.d/90proxy or (/etc/apt/apt.conf)

Then add proxy to any new machines as http://pxeserver:3142
After that any box will get it's packages from the pxeserver. If the
pxeserver doesn't have them it'll pull them from whatever repository
*and* release is requested (a mirror can't do that).

On the other hand if you do run a mirror you 'could' make it public and
help other Debian users in your local area. Your budget and bandwidth
may be deciding factors.

Apt-cacher-ng is fast, simple, and has a nice web-interface for
management purposes.
http://103.1.185.162/images/misc/apt-cacher-ng.jpg

 
 And yes, one box is already ready with debian 7 32 bits, which is also
 a PXE server and I'll be now using the same server to install 64 bit
 version of debian on 20 PCs. (Which are 32 bit debian now)
 
 Thanks a lot again :)
 


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/52d1e9df.4070...@gmail.com



Re: PXE install, without internet?

2014-01-11 Thread Stan Hoeppner
On 1/11/2014 5:57 AM, Scott Ferguson wrote:
 On 11/01/14 22:07, Stan Hoeppner wrote:
 On 1/11/2014 4:40 AM, Артур Истомин wrote:
 On Sat, Jan 11, 2014 at 01:21:30PM +0530, Anubhav Yadav wrote:
 Hey folks,
 I managed to convince my staff to switch to debian from windoze, and they
 agreed. So I managed to install a PXE server and successfully booted debian
 installer simultaneously on 20 machines using dhcp server.

 But they required an active internet connection to fetch packages over a
 mirror, and the bandwidth was very low, so at then end of the day, only one
 PC was able to set up.

 So is there a way to boot an entire 4gb dvd-iso from a server, so that I
 can install it on PC connected on a network??

 You can create local mirror of repos.

 http://www.debian.org/mirror/ftpmirror

 Yes, with 20 machines to install via PXE boot, setting up a local mirror
 is the best method by far.

 Mirror means even packages *not* required, apt-caching allows a local
 repository of only the packages that are actually required, with the
 additional benefits of handling multiple releases and repostories.

I was using the term mirror much more loosely here, in the old
installer terminology.  I.e. select your mirror.  I.e. simply copy the
source files from the DVD he already has and export the proper directory
tree structure via an httpd.  Maybe I should have said setup an
alternate installation source instead.  Doing this would likely be
faster than sharing the DVD, as was mentioned, and having 20 clients
seek the drive head to death, taking days for the installs to complete.
 Get it on a hard drive and it'll be much faster.

-- 
Stan


-- 
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/52d2028a.30...@hardwarefreak.com



Re: PXE install, without internet?

2014-01-11 Thread Scott Ferguson
On 12/01/14 13:48, Stan Hoeppner wrote:
 On 1/11/2014 5:57 AM, Scott Ferguson wrote:
 On 11/01/14 22:07, Stan Hoeppner wrote:
 On 1/11/2014 4:40 AM, Артур Истомин wrote:
 On Sat, Jan 11, 2014 at 01:21:30PM +0530, Anubhav Yadav wrote:
 Hey folks,
 I managed to convince my staff to switch to debian from windoze, and they
 agreed. So I managed to install a PXE server and successfully booted 
 debian
 installer simultaneously on 20 machines using dhcp server.

 But they required an active internet connection to fetch packages over a
 mirror, and the bandwidth was very low, so at then end of the day, only 
 one
 PC was able to set up.

 So is there a way to boot an entire 4gb dvd-iso from a server, so that I
 can install it on PC connected on a network??

snipped

 Yes, with 20 machines to install via PXE boot, setting up a local mirror
 is the best method by far.
 
 Mirror means even packages *not* required, apt-caching allows a local
 repository of only the packages that are actually required, with the
 additional benefits of handling multiple releases and repostories.
 
 I was using the term mirror much more loosely here, in the old
 installer terminology.  I.e. select your mirror.  I.e. simply copy the
 source files from the DVD he already has and export the proper directory
 tree structure via an httpd. 

'Thought it odd you'd advocate setting up a repo. mirror as an answer to
the OP's problem. Thanks for clarifying. 20 machines won't put to much
load on a simple http share, especially as they may not all be booting
simultaneously - for more nodes than that (without considering long term
repo. access requirements) I'd suggest replacing a simple HTTP server
with SLAMD and PXE with GPXE.

I suspect apt-cacher-ng is the best long-term solution for the OP or I'd
have suggested just adding the entire DVD repo. to the TFTP directory
used by PXE.


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/52d210cb.4030...@gmail.com



PXE install issues

2006-03-22 Thread Jozua Minnaar
Good day all.

I am trying to install debian (woody) on a system in which the only
bootable devices is a HDD, and a network boot ROM.

I have got the tftpboot image booted using the PXE boot rom, and the
installer runs fine until it gets to Install Kernel and Driver
Modules.
The only options i have for getting the kernel and drivers to the
system is over the network (preferred), or USB (would have done that
already if the install image had USB mass storage driver available).

Any advice welcome.

another (somewhat related) question. Is it possible to install debian
directly onto a NFS filesystem?



Re: PXE install issues

2006-03-22 Thread Andrew Sackville-West
On Wed, 22 Mar 2006 12:48:27 +0200
Jozua Minnaar [EMAIL PROTECTED] wrote:

 Good day all.
 
 I am trying to install debian (woody) on a system in which the only
 bootable devices is a HDD, and a network boot ROM.
 
 I have got the tftpboot image booted using the PXE boot rom, and the
 installer runs fine until it gets to Install Kernel and Driver
 Modules.

and then what happens?

 The only options i have for getting the kernel and drivers to the
 system is over the network (preferred), or USB (would have done that
 already if the install image had USB mass storage driver available).
 
 Any advice welcome.
 
 another (somewhat related) question. Is it possible to install debian
 directly onto a NFS filesystem?
 


pgp8NJi3RR0hL.pgp
Description: PGP signature