/[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.63 Revision 1.64
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.63 2006/07/21 08:10:19 rane Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.64 2006/07/21 15:42:00 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>
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> 47</author>
48
49 48
50<abstract> 49<abstract>
51This HOWTO is meant to be a repository of alternative Gentoo installation 50This HOWTO is meant to be a repository of alternative Gentoo installation
52methods, for those with special installation needs such as lack of a cdrom 51methods, for those with special installation needs such as lack of a cdrom
53or a computer that can't boot cds. 52or a computer that can't boot cds.
54</abstract> 53</abstract>
55 54
55<!-- The content of this document is licensed under the CC-BY-SA license -->
56<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
56<license/> 57<license/>
57 58
58<version>0.67</version> 59<version>0.67</version>
59<date>2006-07-20</date> 60<date>2006-07-20</date>
60 61
130<pre caption="Using sbminst to build the boot floppy"> 131<pre caption="Using sbminst to build the boot floppy">
131# <i>sbminst -t us -d /dev/fd0</i> 132# <i>sbminst -t us -d /dev/fd0</i>
132</pre> 133</pre>
133 134
134<note> 135<note>
135Replace fd0 with your respective floppy device name if yours is different. 136Replace <path>fd0</path> with your respective floppy device name if yours is different.
136</note> 137</note>
137 138
138<p> 139<p>
139Now simply place the floppy in the floppy drive of the computer you'd like to 140Now simply place the floppy in the floppy drive of the computer you'd like to
140boot the Install CD on, as well as placing the Install CD in the CD-ROM and boot 141boot the Install CD on, as well as placing the Install CD in the CD-ROM and boot
188kernel is too old. If, however, you have Knoppix 3.9+, this step is 189kernel is too old. If, however, you have Knoppix 3.9+, this step is
189unnecessary, since the 2.6 kernel is default. 190unnecessary, since the 2.6 kernel is default.
190</p> 191</p>
191 192
192<p> 193<p>
193By default Knoppix boots into a KDE desktop. Open a konsole and <c>su -</c> 194By default Knoppix boots into a KDE desktop. Open a <c>konsole</c> and <c>su -</c>
194so you can change your password. This lets you set the root password for 195so you can change your password. This lets you set the root password for
195Knoppix. You can now configure <c>sshd</c> for remote login, at your 196Knoppix. You can now configure <c>sshd</c> for remote login, at your
196preference. 197preference.
197</p> 198</p>
198 199
389<path>/etc/dhcp/dhcpd.conf</path>. 390<path>/etc/dhcp/dhcpd.conf</path>.
390</p> 391</p>
391 392
392<note> 393<note>
393This provide a static IP address for the client and the path of a PXE boot 394This provide a static IP address for the client and the path of a PXE boot
394image, here pxegrub. You have to replace the MAC address of the Ethernet card 395image, here <path>pxegrub</path>. You have to replace the MAC address of the Ethernet card
395of the client and the directory where you will put the client files with the 396of the client and the directory where you will put the client files with the
396one you use. 397one you use.
397</note> 398</note>
398 399
399<p> 400<p>
429yourself to enable the PXE image compilation ... but that's quite easy. First, 430yourself to enable the PXE image compilation ... but that's quite easy. First,
430get the latest version of the GRUB source code (<c>emerge -f grub</c> will 431get the latest version of the GRUB source code (<c>emerge -f grub</c> will
431place the tarball in <path>/usr/portage/distfiles</path>). Copy the tarball to 432place the tarball in <path>/usr/portage/distfiles</path>). Copy the tarball to
432<path>/diskless</path> and then build it to make the pxe capable binary. Once 433<path>/diskless</path> and then build it to make the pxe capable binary. Once
433the binary is built, copy it to the diskless client's boot directory. Then edit 434the binary is built, copy it to the diskless client's boot directory. Then edit
434it's grub.lst config file. 435it's <path>grub.lst</path> config file.
435</p> 436</p>
436 437
437<pre caption="Grub setup"> 438<pre caption="Grub setup">
438# <i>tar zxvf grub-0.92.tar.gz</i> 439# <i>tar zxvf grub-0.92.tar.gz</i>
439# <i>cd grub-0.92</i> 440# <i>cd grub-0.92</i>
493You might want to reboot the server with a Gentoo Install CD, although you can 494You might want to reboot the server with a Gentoo Install CD, although you can
494very well continue immediately if you know how to proceed with the Gentoo 495very well continue immediately if you know how to proceed with the Gentoo
495Installation Instructions from an existing installation. Follow the standard 496Installation Instructions from an existing installation. Follow the standard
496install procedure as explained in the Gentoo Install Howto BUT with the 497install procedure as explained in the Gentoo Install Howto BUT with the
497following differences: 498following differences:
498When you mount the file system, do the following (where hdaX is the partition 499When you mount the file system, do the following (where <path>hdaX</path> is the partition
499where you created the /diskless directory). You do not need to mount any other 500where you created the <path>/diskless</path> directory). You do not need to mount any other
500partitions as all of the files will reside in the <path>/diskless/eta</path> 501partitions as all of the files will reside in the <path>/diskless/eta</path>
501directory. 502directory.
502</p> 503</p>
503 504
504<pre caption="Mounting the filesystem"> 505<pre caption="Mounting the filesystem">
650<title>How should we make space for Gentoo?</title> 651<title>How should we make space for Gentoo?</title>
651<body> 652<body>
652 653
653<p> 654<p>
654The root partition is the filesystem mounted under <path>/</path>. A quick run 655The root partition is the filesystem mounted under <path>/</path>. A quick run
655of mount on my system shows what I am talking about. We well also use df (disk 656of <c>mount</c> on my system shows what I am talking about. We well also use <c>df</c> (disk
656free) to see how much space I have left and how I will be resizing. Note that 657free) to see how much space I have left and how I will be resizing. Note that
657it is not mandatory to resize your root partition! You could be resizing 658it is not mandatory to resize your root partition! You could be resizing
658anything else supported by our resizer, but let's talk about that later. 659anything else supported by our resizer, but let's talk about that later.
659</p> 660</p>
660 661
740Maxsize=268966912 741Maxsize=268966912
741</pre> 742</pre>
742 743
743<p> 744<p>
744We will now proceed with the build of parted. If it's not already downloaded 745We will now proceed with the build of parted. If it's not already downloaded
745and untarred, do so now and cd into the corresponding directory. Now run the 746and untarred, do so now and <c>cd</c> into the corresponding directory. Now run the
746following set of commands to build the utility and copy it to your floppy disk. 747following set of commands to build the utility and copy it to your floppy disk.
747</p> 748</p>
748 749
749<pre caption="Building the utility floppy"> 750<pre caption="Building the utility floppy">
750# <i> mkdir /floppy; mount -t minix /dev/fd0 /floppy &amp;&amp; 751# <i> mkdir /floppy; mount -t minix /dev/fd0 /floppy &amp;&amp;
756Congratulations, you are ready to reboot and resize your partition. Do this 757Congratulations, you are ready to reboot and resize your partition. Do this
757only after taking a quick look at the parted documentation on the GNU website. 758only after taking a quick look at the parted documentation on the GNU website.
758The resize should take under 30 minutes for the largest hard-drives, be 759The resize should take under 30 minutes for the largest hard-drives, be
759patient. Reboot your system with the mininux boot disk (just pop it inside), 760patient. Reboot your system with the mininux boot disk (just pop it inside),
760and once you are logged in, switch the disk in the drive with your utility disk 761and once you are logged in, switch the disk in the drive with your utility disk
761we have created above and type mount /dev/fd0 /floppy to have parted under 762we have created above and type <c>mount /dev/fd0 /floppy</c> to have parted under
762/floppy. There you go. Run parted and you will be able to resize your 763<path>/floppy</path>. There you go. Run parted and you will be able to resize your
763partition. Once this lenghty process done, we are ready to have the real fun, 764partition. Once this lenghty process done, we are ready to have the real fun,
764by installing Gentoo. Reboot back into your old Linux system for now. Drive you 765by installing Gentoo. Reboot back into your old Linux system for now. Drive you
765wish to operate on is the drive containing the partition we want to resize. For 766wish to operate on is the drive containing the partition we want to resize. For
766example, if we want to resize /dev/hda3, the drive is /dev/hda 767example, if we want to resize /dev/hda3, the drive is /dev/hda
767</p> 768</p>

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

  ViewVC Help
Powered by ViewVC 1.1.20