Good time of day!
Tell me, please, how to install Linux (preferably Ubuntu) over the network? It is desirable to be from A to Z.
You do not need to send to Google - I searched not only there. Found, tried, but somehow it did not work.
It got to the point that the client clings to DHCP, but then it seems like PXE-T01: File not found.
But then some tinkering - and again I can’t pick it up via DHCP.
I tried a bunch of options, so now there are a lot of different settings - which are needed, which are not - I don’t know. Those. Tips like - "in this place, insert such a line" will not help.
Thank you in advance)
It is worth Ubuntu 12.04.
UPD: As I set ( Ubuntu in Russian )
sudo apt-get install aptitude
sudo aptitude -R install apache2 atftpd tftpd-hpa dhcp3-server
I had tftpd-hpa, when installing atftpd, it says:
You need to get 0 B / 62,0 kB archives. After unpacking, 186 kB will be occupied. The following packages have unresolved dependencies: tftpd-hpa: Conflicts: atftpd but 0.7.dfsg-11 will be installed. The following actions will resolve the dependencies:
Remove the following packages: 1) tftpd-hpa
Well, it's okay, in the installation of tftpd-hpa it seems that it is not used (according to the documentation we set only the config for it)
- rule configs as described in documentation
- do sudo /etc/init.d/atftpd start
Look atftpd logs - "atftpd: invalid IP address". The bind-address parameter is not specified, according to the manu - "--bind-address <IP address> Specify the IP address. Attention to bind to all interfaces. Only one address can be specified.
Those. Should listen to all interfaces, and not fall out with an error.
- we pretend that atftpd was added randomly, delete it, set tftpd-hpa. We look - in processes hangs.
- we configure the web server apache
- we configure the DHCP server.
Another problem arose here - "After this, you need to tell our DHCP server to listen to one of the interfaces. To do this, open the file / etc / default / dhcp3-server and add ..."
Well, I do not have this file / etc / default / dhcp3-server ... And what should I do? Ignorim so far ...
- sudo /etc/init.d/dhcp3-server start
The command is not found ... Hmmm ... Therefore, / etc / default / dhcp3-server is missing ...
And the dhcp3-server itself costs, it has not gone anywhere. But how to work with him?
In general, this method failed. Following the documentation did not work ...
Looking at the errors that occurred, did as follows:
- Removed from the installation atftpd
- Instead of tinkering with dhcp3-server did everything for dhcp
- Immediately did not pay, and from the text it is not clear - it is indicated only in the examples, but an Alternate disk is required. Before that, I tried the usual KDE, and tried to add netboot there - something didn’t work
- As a result, I received a ready-made server - the client machine received an ip, the installation began. The article does not seem to be written, but it was not difficult to guess - when specifying the server from which the packages would download, specify my own.
True, at the very moment when the installation was already underway, a message popped up to me that "natty / restricted / binary-i386 is corrupted". At this point, the computer is frozen.
Rebooted - again the error is in the same place and the computer stops responding to something. Distribution - from offsite. What could be the problem?
Put 11.04, I will try 12.04 - it can help, although restricted / binary-i386 is identical there