/[gentoo]/xml/htdocs/doc/en/altinstall.xml
Gentoo

Diff of /xml/htdocs/doc/en/altinstall.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.84 Revision 1.86
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.84 2011/12/26 15:22:40 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.86 2012/07/01 18:05:02 swift Exp $ -->
4 4
5<guide> 5<guide>
6<title>The Gentoo Linux alternative installation method HOWTO</title> 6<title>The Gentoo Linux alternative installation method HOWTO</title>
7 7
8<author title="Contributor"> 8<author title="Contributor">
9 <mail link="gerrynjr@gentoo.org">Gerald Normandin Jr.</mail> 9 <mail link="gerrynjr@gentoo.org">Gerald Normandin Jr.</mail>
10</author> 10</author>
11<author title="Contributor"> 11<author title="Contributor">
12 <mail link="lordviram@rebelpacket.net">Travis Tilley</mail> 12 <mail link="lordviram@rebelpacket.net">Travis Tilley</mail>
13</author> 13</author>
14<author title="Contributor"> 14<author title="Contributor">
15 <mail link="volontir@yahoo.com">Oleg Raisky</mail> 15 <mail link="volontir@yahoo.com">Oleg Raisky</mail>
16</author> 16</author>
17<author title="Contributor"> 17<author title="Contributor">
18 <mail link="luminousit@hotmail.com">Alex Garbutt</mail> 18 <mail link="luminousit@hotmail.com">Alex Garbutt</mail>
46</author> 46</author>
47<author title="Editor"> 47<author title="Editor">
48 <mail link="nightmorph"/> 48 <mail link="nightmorph"/>
49</author> 49</author>
50 50
51<abstract> 51<abstract>
52This HOWTO is meant to be a repository of alternative Gentoo installation 52This HOWTO is meant to be a repository of alternative Gentoo installation
53methods, for those with special installation needs such as lack of a cdrom 53methods, for those with special installation needs such as lack of a cdrom
54or a computer that can't boot cds. 54or a computer that can't boot cds.
55</abstract> 55</abstract>
56 56
57<!-- The content of this document is licensed under the CC-BY-SA license --> 57<!-- The content of this document is licensed under the CC-BY-SA license -->
58<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 58<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
59<license/> 59<license/>
60 60
61<version>9</version> 61<version>11</version>
62<date>2011-12-26</date> 62<date>2012-07-01</date>
63 63
64<chapter> 64<chapter>
65<title>About this document</title> 65<title>About this document</title>
66<section> 66<section>
67<body> 67<body>
68 68
69<p> 69<p>
70If the standard boot-from-CD install method doesn't work for you (or you just 70If the standard boot-from-CD install method doesn't work for you (or you just
71don't like it), help is now here. This document serves to provide a repository 71don't like it), help is now here. This document serves to provide a repository
72of alternative Gentoo Linux installation techniques to those who need them. 72of alternative Gentoo Linux installation techniques to those who need them.
73Or, if you prefer, it serves as a place to put your wacky installation methods. 73Or, if you prefer, it serves as a place to put your wacky installation methods.
74If you have an installation method that you yourself find useful, or you have 74If you have an installation method that you yourself find useful, or you have
75devised an amusing way of installing Gentoo, please don't hesitate to write 75devised an amusing way of installing Gentoo, please don't hesitate to write
76something up and post it on <uri link="http://bugs.gentoo.org">Bugzilla</uri>. 76something up and post it on <uri link="http://bugs.gentoo.org">Bugzilla</uri>.
77</p> 77</p>
281# <i>mount -o bind /dev /mnt/gentoo/dev</i> 281# <i>mount -o bind /dev /mnt/gentoo/dev</i>
282</pre> 282</pre>
283--> 283-->
284 284
285</body> 285</body>
286</section> 286</section>
287</chapter> 287</chapter>
288 288
289<chapter> 289<chapter>
290<title>Diskless install using PXE boot</title> 290<title>Diskless install using PXE boot</title>
291<section> 291<section>
292<title>Requirements</title> 292<title>Requirements</title>
293<body> 293<body>
294 294
295<p> 295<p>
296You will need a network card on the diskless client that uses the PXE protocol 296PXE (Preboot eXecution Environment) is a method for booting computers over
297to boot, like many 3com cards. You will also need a BIOS that supports booting 297a PXE-capable network interface (and using a PXE-supporting BIOS). It is
298from PXE. 298also supported as a boot method from block devices (like CDs or USBs) in
299case the system does not support PXE boot from the network interface or
300BIOS. In such cases, a minimal boot environment mimics the PXE supporting
301network card (see also <uri link="http://etherboot.org">Etherboot/gPXE</uri>).
299</p> 302</p>
300 303
301</body> 304</body>
302</section> 305</section>
303<section> 306<section>
304<title>Server base setup</title> 307<title>Server base setup</title>
305<body> 308<body>
306 309
307<p> 310<p>
308Create directories: The first thing to do is to create the directories where 311Create directories: The first thing to do is to create the directories where
309your diskless system will be stored. Create a directory called 312your diskless system will be stored. Create a directory called
310<path>/diskless</path> which houses a directory for each diskless client. For 313<path>/diskless</path> which houses a directory for each diskless client. For
311the rest of this howto we'll be working on the client 'eta'. 314the rest of this howto we'll be working on the client 'eta'.
312</p> 315</p>
313 316
483 486
484&lt;*&gt; NFS file system support 487&lt;*&gt; NFS file system support
485[*] Provide NFSv3 client support 488[*] Provide NFSv3 client support
486[*] Root file system on NFS 489[*] Root file system on NFS
487</pre> 490</pre>
488 491
489<p> 492<p>
490Save the kernel in your chrooted <path>/</path> (not in <path>/boot</path>) 493Save the kernel in your chrooted <path>/</path> (not in <path>/boot</path>)
491according to the pxegrub setting defined earlier. Next configure your 494according to the pxegrub setting defined earlier. Next configure your
492diskless client's <path>/etc/fstab</path>. 495diskless client's <path>/etc/fstab</path>.
493</p> 496</p>
494 497
495<pre caption="/etc/fstab"> 498<pre caption="/etc/fstab">
496# <i>nano -w /etc/fstab</i> 499# <i>nano -w /etc/fstab</i>
497/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 500/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
498proc /proc proc defaults 0 0
499tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0
500</pre> 501</pre>
501 502
502<p> 503<p>
503You also need to prevent the client to run a filesystem check: 504You also need to prevent the client to run a filesystem check:
504</p> 505</p>
505 506
506<pre caption="Preventing the client to run a filesystem check"> 507<pre caption="Preventing the client to run a filesystem check">
507# <i>touch /fastboot</i> 508# <i>touch /fastboot</i>
508# <i>echo "touch /fastboot" &gt;&gt; /etc/conf.d/local.start</i> 509# <i>echo "touch /fastboot" &gt;&gt; /etc/conf.d/local.start</i>
509</pre> 510</pre>
510 511
511<p> 512<p>
512Install <c>nfs-utils</c> since your client will heavily depend on it: 513Install <c>nfs-utils</c> since your client will heavily depend on it:
513</p> 514</p>
514 515

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.86

  ViewVC Help
Powered by ViewVC 1.1.20