/[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.83 Revision 1.84
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.83 2011/10/30 11:56:08 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.84 2011/12/26 15:22:40 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">
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>8</version> 61<version>9</version>
62<date>2011-10-30</date> 62<date>2011-12-26</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>
427You might want to reboot the server with a Gentoo Install CD, although you can 427You might want to reboot the server with a Gentoo Install CD, although you can
428very well continue immediately if you know how to proceed with the Gentoo 428very well continue immediately if you know how to proceed with the Gentoo
429Installation Instructions from an existing installation. Follow the standard 429Installation Instructions from an existing installation. Follow the standard
430install procedure as explained in the <uri link="/doc/en/handbook/">Gentoo 430install procedure as explained in the <uri link="/doc/en/handbook/">Gentoo
431Handbook</uri> BUT with the following differences: 431Handbook</uri> BUT with the following differences:
432When you mount the file system, do the following (where <path>hdaX</path> is 432When you mount the file system, do the following (where <path>sdaX</path> is
433the partition where you created the <path>/diskless</path> directory). You do 433the partition where you created the <path>/diskless</path> directory). You do
434not need to mount any other partitions as all of the files will reside in the 434not need to mount any other partitions as all of the files will reside in the
435<path>/diskless/eta</path> directory. 435<path>/diskless/eta</path> directory.
436</p> 436</p>
437 437
438<pre caption="Mounting the filesystem"> 438<pre caption="Mounting the filesystem">
439#<i> mount /dev/hdaX /mnt/gentoo</i> 439#<i> mount /dev/sdaX /mnt/gentoo</i>
440</pre> 440</pre>
441 441
442<p> 442<p>
443Stage tarballs and chroot: This example uses a stage3 tarball. Mount 443Stage tarballs and chroot: This example uses a stage3 tarball. Mount
444<path>/proc</path> to your diskless directory and chroot into it to continue 444<path>/proc</path> to your diskless directory and chroot into it to continue
593that later. 593that later.
594</p> 594</p>
595 595
596<pre caption="Filesystem information"> 596<pre caption="Filesystem information">
597# <i>mount</i> 597# <i>mount</i>
598/dev/hdb2 on / type ext3 (rw) 598/dev/sdb2 on / type ext3 (rw)
599none on /proc type proc (rw) 599none on /proc type proc (rw)
600none on /dev/pts type devpts (rw,gid=5,mode=620) 600none on /dev/pts type devpts (rw,gid=5,mode=620)
601none on /dev/shm type tmpfs (rw,nodev,nosuid,noexec) 601none on /dev/shm type tmpfs (rw,nodev,nosuid,noexec)
602# <i>df -h </i> 602# <i>df -h </i>
603Filesystem Size Used Avail Use% Mounted on 603Filesystem Size Used Avail Use% Mounted on
604/dev/hdb2 4.0G 1.9G 2.4G 82% / 604/dev/sdb2 4.0G 1.9G 2.4G 82% /
605none 38M 0 38M 0% /dev/shm 605none 38M 0 38M 0% /dev/shm
606</pre> 606</pre>
607 607
608<p> 608<p>
609As we can see, the partition mounted as <path>/</path> named 609As we can see, the partition mounted as <path>/</path> named
610<path>/dev/hdb2</path> has 2.4 gigabytes free. In my case, I think I will 610<path>/dev/sdb2</path> has 2.4 gigabytes free. In my case, I think I will
611resize it as to leave 400Megs free of space, therefore allocating 2 gigabytes 611resize it as to leave 400Megs free of space, therefore allocating 2 gigabytes
612for Gentoo. Not bad, I could have quite some stuff installed. However, I think 612for Gentoo. Not bad, I could have quite some stuff installed. However, I think
613that even one gigabyte is enough for most users. So let's partition this thing! 613that even one gigabyte is enough for most users. So let's partition this thing!
614</p> 614</p>
615 615
697we have created above and type <c>mount /dev/fd0 /floppy</c> to have parted 697we have created above and type <c>mount /dev/fd0 /floppy</c> to have parted
698under <path>/floppy</path>. There you go. Run parted and you will be able to 698under <path>/floppy</path>. There you go. Run parted and you will be able to
699resize your partition. Once this lenghty process done, we are ready to have the 699resize your partition. Once this lenghty process done, we are ready to have the
700real fun, by installing Gentoo. Reboot back into your old Linux system for now. 700real fun, by installing Gentoo. Reboot back into your old Linux system for now.
701The drive you wish to operate on is the drive containing the partition we want 701The drive you wish to operate on is the drive containing the partition we want
702to resize. For example, if we want to resize /dev/hda3, the drive is /dev/hda. 702to resize. For example, if we want to resize /dev/sda3, the drive is /dev/sda.
703</p> 703</p>
704 704
705<pre caption="Commands to run once logged into mininux system"> 705<pre caption="Commands to run once logged into mininux system">
706# <i>mount /dev/fd0 /floppy </i> 706# <i>mount /dev/fd0 /floppy </i>
707# <i>cd /floppy; ./parted [drive you wish to operate on]</i> 707# <i>cd /floppy; ./parted [drive you wish to operate on]</i>
708(parted) <i> print </i> 708(parted) <i> print </i>
709Disk geometry for /dev/hdb: 0.000-9787.148 megabytes 709Disk geometry for /dev/sdb: 0.000-9787.148 megabytes
710Disk label type: msdos 710Disk label type: msdos
711Minor Start End Type Filesystem Flags 711Minor Start End Type Filesystem Flags
7121 0.031 2953.125 primary ntfs 7121 0.031 2953.125 primary ntfs
7133 2953.125 3133.265 primary linux-swap 7133 2953.125 3133.265 primary linux-swap
7142 3133.266 5633.085 primary ext3 7142 3133.266 5633.085 primary ext3

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

  ViewVC Help
Powered by ViewVC 1.1.20