/[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.66 Revision 1.67
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.66 2006/07/22 10:10:41 rane Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.67 2006/09/17 09:41:30 neysx 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>
258<p> 258<p>
259Get the latest Portage snapshot from 259Get the latest Portage snapshot from
260<uri>http://distro.ibiblio.org/pub/linux/distributions/gentoo/snapshots/</uri> 260<uri>http://distro.ibiblio.org/pub/linux/distributions/gentoo/snapshots/</uri>
261(or your favorite <uri 261(or your favorite <uri
262link="http://www.gentoo.org/main/en/mirrors.xml">mirror</uri>). Either place 262link="http://www.gentoo.org/main/en/mirrors.xml">mirror</uri>). Either place
263this tarball on an existing partition on the computer your are installing to, 263this tarball on an existing partition on the computer you are installing to,
264or burn it to a CD. 264or burn it to a CD.
265</p> 265</p>
266 266
267<p> 267<p>
268Follow all instructions of the <uri link="/doc/en/handbook">Gentoo Installation Handbook</uri> up to <c>chroot 268Follow all instructions of the <uri link="/doc/en/handbook">Gentoo Installation Handbook</uri> up to <c>chroot
461the directory is the one where your diskless client files are located (on the server).</comment> 461the directory is the one where your diskless client files are located (on the server).</comment>
462</pre> 462</pre>
463 463
464<p> 464<p>
465Setup NFS: NFS is quite easy to configure. The only thing you have to do is to 465Setup NFS: NFS is quite easy to configure. The only thing you have to do is to
466add a line on the <path>/etc/exports</path> config file : 466add a line on the <path>/etc/exports</path> config file:
467</p> 467</p>
468 468
469<pre caption="/etc/exports"> 469<pre caption="/etc/exports">
470# <i>nano -w /etc/exports</i> 470# <i>nano -w /etc/exports</i>
471# /etc/exports: NFS file systems being exported. See exports(5). 471# /etc/exports: NFS file systems being exported. See exports(5).
472/diskless/eta eta(rw,sync,no_root_squash) 472/diskless/eta eta(rw,sync,no_root_squash)
473</pre> 473</pre>
474 474
475<p> 475<p>
476Update your hosts: One important thing to do now is to modify your 476Update your hosts: One important thing to do now is to modify your
477<path>/etc/hosts</path> file to fit your needs. 477<path>/etc/hosts</path> file to fit your needs.
478</p> 478</p>
479 479
480<pre caption="/etc/hosts"> 480<pre caption="/etc/hosts">
481127.0.0.1 localhost 481127.0.0.1 localhost
673 673
674<p> 674<p>
675As we can see, the partition mounted as <path>/</path> named 675As we can see, the partition mounted as <path>/</path> named
676<path>/dev/hdb2</path> has 2.4 gigabytes free. In my case, I think I will 676<path>/dev/hdb2</path> has 2.4 gigabytes free. In my case, I think I will
677resize it as to leave 400Megs free of space, therefore allocating 2 gigabytes 677resize it as to leave 400Megs free of space, therefore allocating 2 gigabytes
678for Gentoo. Not bad, I could have quite some stuff installed. However, think 678for Gentoo. Not bad, I could have quite some stuff installed. However, I think
679that even one gigabyte is enough for most users. So let's partition this thing! 679that even one gigabyte is enough for most users. So let's partition this thing!
680</p> 680</p>
681 681
682</body> 682</body>
683</section> 683</section>
692parted, partition editor and we can get it from 692parted, partition editor and we can get it from
693<uri>http://www.gnu.org/software/parted/</uri> 693<uri>http://www.gnu.org/software/parted/</uri>
694</p> 694</p>
695 695
696<note> 696<note>
697There are other tools for doing resize of partitions as well, but author is 697There are other tools for doing resize of partitions as well, but the author is
698unsure/uninterested whether PartitionMagic(tm) or other software of the kind do 698unsure/uninterested whether PartitionMagic(tm) or other software of the kind do
699the job. It's the reader's job to check them out 699the job. It's the reader's job to check them out
700</note> 700</note>
701 701
702<p> 702<p>
725</p> 725</p>
726 726
727<note> 727<note>
728Note again that Linux is synonym of "There's one more way to do it". Your 728Note again that Linux is synonym of "There's one more way to do it". Your
729objective is to run parted on an unmounted partition so it can do its work. You 729objective is to run parted on an unmounted partition so it can do its work. You
730might use some other boot/root diskset other than mininux. You might not even 730might use some boot/root diskset other than mininux. You might not even
731need to do this step at all, that is only umount the filesystem you want to 731need to do this step at all, ie. you might only have umount the filesystem you want to
732repartition in your Linux session and run parted on it. 732repartition in your Linux session and run parted on it.
733</note> 733</note>
734 734
735<pre caption="Utility disk creation"> 735<pre caption="Utility disk creation">
736# <i>mkfs.minix /dev/fd0</i> 736# <i>mkfs.minix /dev/fd0</i>
760patient. 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),
761and 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
762we have created above and type <c>mount /dev/fd0 /floppy</c> to have parted under 762we have created above and type <c>mount /dev/fd0 /floppy</c> to have parted under
763<path>/floppy</path>. 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
764partition. 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,
765by 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. The drive you
766wish 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
767example, 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
768</p> 768</p>
769 769
770<pre caption="Commands to run once logged into mininux system"> 770<pre caption="Commands to run once logged into mininux system">
789 START and END are in megabytes 789 START and END are in megabytes
790(parted) <i> resize 2 3133.266 4000.000 </i> 790(parted) <i> resize 2 3133.266 4000.000 </i>
791</pre> 791</pre>
792 792
793<impo> 793<impo>
794Be patient! The computer is working! Just look at the hardware LED on your case 794Be patient! The computer is working! Just look at the harddrive LED on your case
795to see that it is really working. This should take between 2 and 30 minutes. 795to see that it is really working. This should take between 2 and 30 minutes.
796</impo> 796</impo>
797 797
798<p> 798<p>
799Once you have resized, boot back into your old linux as described. Then go to 799Once you have resized, boot back into your old linux as described. Then go to

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67

  ViewVC Help
Powered by ViewVC 1.1.20