| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.75 2008/05/23 20:29:44 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.76 2008/09/10 23:04:29 nightmorph Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/altinstall.xml"> |
5 | <guide link="/doc/en/altinstall.xml"> |
| 6 | |
6 | |
| 7 | <title>The Gentoo Linux alternative installation method HOWTO</title> |
7 | <title>The Gentoo Linux alternative installation method HOWTO</title> |
| … | |
… | |
| 42 | <author title="Editor"> |
42 | <author title="Editor"> |
| 43 | <mail link="bennyc@gentoo.org">Benny Chuang</mail> |
43 | <mail link="bennyc@gentoo.org">Benny Chuang</mail> |
| 44 | </author> |
44 | </author> |
| 45 | <author title="Editor"> |
45 | <author title="Editor"> |
| 46 | <mail link="smithj@gentoo.org">Jonathan Smith</mail> |
46 | <mail link="smithj@gentoo.org">Jonathan Smith</mail> |
|
|
47 | </author> |
|
|
48 | <author title="Editor"> |
|
|
49 | <mail link="nightmorph"/> |
| 47 | </author> |
50 | </author> |
| 48 | |
51 | |
| 49 | <abstract> |
52 | <abstract> |
| 50 | This HOWTO is meant to be a repository of alternative Gentoo installation |
53 | This HOWTO is meant to be a repository of alternative Gentoo installation |
| 51 | methods, for those with special installation needs such as lack of a cdrom |
54 | methods, for those with special installation needs such as lack of a cdrom |
| … | |
… | |
| 54 | |
57 | |
| 55 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
58 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 56 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
59 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 57 | <license/> |
60 | <license/> |
| 58 | |
61 | |
| 59 | <version>0.73</version> |
62 | <version>1</version> |
| 60 | <date>2008-01-09</date> |
63 | <date>2008-09-10</date> |
| 61 | |
64 | |
| 62 | <chapter> |
65 | <chapter> |
| 63 | <title>About this document</title> |
66 | <title>About this document</title> |
| 64 | <section> |
67 | <section> |
| 65 | <body> |
68 | <body> |
| … | |
… | |
| 278 | # <i>mkdir /diskless/eta/boot</i> |
281 | # <i>mkdir /diskless/eta/boot</i> |
| 279 | </pre> |
282 | </pre> |
| 280 | |
283 | |
| 281 | <p> |
284 | <p> |
| 282 | DHCP and TFTP setup: The client will get boot informations using DHCP and |
285 | DHCP and TFTP setup: The client will get boot informations using DHCP and |
| 283 | download all the required files using TFTP. Just emerge DHCP and configure it |
286 | download all the required files using TFTP. |
| 284 | for your basic needs. Then, add the following on |
287 | </p> |
|
|
288 | |
|
|
289 | <p> |
|
|
290 | For dhcpd, just run <c>emerge dhcp</c> (or any other DHCP server of your |
|
|
291 | choice). Make sure that the correct interface is selected in |
|
|
292 | <path>/etc/conf.d/dhcpd</path>, and configure it for your basic needs. Then, add |
| 285 | <path>/etc/dhcp/dhcpd.conf</path>. |
293 | the following on <path>/etc/dhcp/dhcpd.conf</path>. |
| 286 | </p> |
294 | </p> |
| 287 | |
295 | |
| 288 | <note> |
296 | <note> |
| 289 | This provide a static IP address for the client and the path of a PXE boot |
297 | This provides a static IP address for the client and the path of a PXE boot |
| 290 | image, here <path>pxegrub</path>. You have to replace the MAC address of the |
298 | image, here <path>pxegrub</path>. You have to replace the MAC address of the |
| 291 | Ethernet card of the client and the directory where you will put the client |
299 | ethernet card of the client and the directory where you will put the client |
| 292 | files with the one you use. |
300 | files with the one you use. |
| 293 | </note> |
301 | </note> |
| 294 | |
|
|
| 295 | <p> |
|
|
| 296 | For DHCPd, run <c>emerge dhcp</c> (or any other DHCP server of your choice). |
|
|
| 297 | Make sure that the correct interface is selected in |
|
|
| 298 | <path>/etc/conf.d/dhcpd</path>. |
|
|
| 299 | </p> |
|
|
| 300 | |
302 | |
| 301 | <pre caption="dhcpd.conf"> |
303 | <pre caption="dhcpd.conf"> |
| 302 | option option-150 code 150 = text ; |
304 | option option-150 code 150 = text ; |
| 303 | ddns-update-style none ; |
305 | ddns-update-style none ; |
| 304 | host eta { |
306 | host eta { |