| 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.61 2006/06/17 11:26:53 jkt Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.62 2006/07/21 07:38:49 rane 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> |
| … | |
… | |
| 374 | your diskless system will be stored. Create a directory called |
374 | your diskless system will be stored. Create a directory called |
| 375 | <path>/diskless</path> which houses a directory for each diskless client. For |
375 | <path>/diskless</path> which houses a directory for each diskless client. For |
| 376 | the rest of this howto we'll be working on the client 'eta'. |
376 | the rest of this howto we'll be working on the client 'eta'. |
| 377 | </p> |
377 | </p> |
| 378 | |
378 | |
| 379 | <pre caption="directory setup"> |
379 | <pre caption="Directory setup"> |
| 380 | # <i>mkdir /diskless</i> |
380 | # <i>mkdir /diskless</i> |
| 381 | # <i>mkdir /diskless/eta</i> |
381 | # <i>mkdir /diskless/eta</i> |
| 382 | # <i>mkdir /diskless/eta/boot</i> |
382 | # <i>mkdir /diskless/eta/boot</i> |
| 383 | </pre> |
383 | </pre> |
| 384 | |
384 | |
| … | |
… | |
| 432 | <path>/diskless</path> and then build it to make the pxe capable binary. Once |
432 | <path>/diskless</path> and then build it to make the pxe capable binary. Once |
| 433 | the binary is built, copy it to the diskless client's boot directory. Then edit |
433 | the binary is built, copy it to the diskless client's boot directory. Then edit |
| 434 | it's grub.lst config file. |
434 | it's grub.lst config file. |
| 435 | </p> |
435 | </p> |
| 436 | |
436 | |
| 437 | <pre caption="grub setup"> |
437 | <pre caption="Grub setup"> |
| 438 | # <i>tar zxvf grub-0.92.tar.gz</i> |
438 | # <i>tar zxvf grub-0.92.tar.gz</i> |
| 439 | # <i>cd grub-0.92</i> |
439 | # <i>cd grub-0.92</i> |
| 440 | # <i>./configure --help</i> |
440 | # <i>./configure --help</i> |
| 441 | <comment>(In the options you will see a list of supported network interface drivers. |
441 | <comment>(In the options you will see a list of supported network interface drivers. |
| 442 | Select the driver compatible with your client's network card. Herein referenced |
442 | Select the driver compatible with your client's network card. Herein referenced |
| … | |
… | |
| 499 | where you created the /diskless directory). You do not need to mount any other |
499 | where you created the /diskless directory). You do not need to mount any other |
| 500 | partitions as all of the files will reside in the <path>/diskless/eta</path> |
500 | partitions as all of the files will reside in the <path>/diskless/eta</path> |
| 501 | directory. |
501 | directory. |
| 502 | </p> |
502 | </p> |
| 503 | |
503 | |
| 504 | <pre caption="mounting the filesystem"> |
504 | <pre caption="Mounting the filesystem"> |
| 505 | #<i> mount /dev/hda3 /mnt/gentoo</i> |
505 | #<i> mount /dev/hda3 /mnt/gentoo</i> |
| 506 | </pre> |
506 | </pre> |
| 507 | |
507 | |
| 508 | <p> |
508 | <p> |
| 509 | Stage tarballs and chroot: This example uses a stage3 tarball. Mount |
509 | Stage tarballs and chroot: This example uses a stage3 tarball. Mount |
| … | |
… | |
| 515 | <warn> |
515 | <warn> |
| 516 | Be very careful where you extract your stage tarball. You don't want to end up |
516 | Be very careful where you extract your stage tarball. You don't want to end up |
| 517 | extracting over your existing installation. |
517 | extracting over your existing installation. |
| 518 | </warn> |
518 | </warn> |
| 519 | |
519 | |
| 520 | <pre caption="extracting the stage tarball"> |
520 | <pre caption="Extracting the stage tarball"> |
| 521 | # <i>cd /mnt/gentoo/diskless/eta/</i> |
521 | # <i>cd /mnt/gentoo/diskless/eta/</i> |
| 522 | # <i>tar -xvjpf /mnt/cdrom/gentoo/stage3-*.tar.bz2</i> |
522 | # <i>tar -xvjpf /mnt/cdrom/gentoo/stage3-*.tar.bz2</i> |
| 523 | # <i>mount -t proc /proc /mnt/gentoo/diskless/eta/proc</i> |
523 | # <i>mount -t proc /proc /mnt/gentoo/diskless/eta/proc</i> |
| 524 | # <i>cp /etc/resolv.conf /mnt/gentoo/diskless/eta/etc/resolv.conf</i> |
524 | # <i>cp /etc/resolv.conf /mnt/gentoo/diskless/eta/etc/resolv.conf</i> |
| 525 | # <i>chroot /mnt/gentoo/diskless/eta/ /bin/bash</i> |
525 | # <i>chroot /mnt/gentoo/diskless/eta/ /bin/bash</i> |
| … | |
… | |
| 812 | </p> |
812 | </p> |
| 813 | |
813 | |
| 814 | </body> |
814 | </body> |
| 815 | </section> |
815 | </section> |
| 816 | </chapter> |
816 | </chapter> |
| 817 | |
|
|
| 818 | </guide> |
817 | </guide> |