/[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.21 Revision 1.22
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.21 2004/02/19 14:30:59 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.22 2004/03/11 09:20:50 swift Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5 5
6<guide link="/doc/en/altinstall.xml"> 6<guide link="/doc/en/altinstall.xml">
7<title>The Gentoo Linux alternative installation method HOWTO</title> 7<title>The Gentoo Linux alternative installation method HOWTO</title>
22or a computer that can't boot cds. 22or a computer that can't boot cds.
23</abstract> 23</abstract>
24 24
25<license/> 25<license/>
26 26
27<version>0.35</version> 27<version>0.36</version>
28<date>October 31, 2003</date> 28<date>March 11, 2004</date>
29 29
30<chapter> 30<chapter>
31<title>About this document</title> 31<title>About this document</title>
32<section> 32<section>
33<body> 33<body>
112 112
113<p>By default Knoppix boots into a KDE 3.0 desktop. The first thing I did was open a konsole and typed <c>sudo passwd root</c>. This lets you set the root password for Knoppix.</p> 113<p>By default Knoppix boots into a KDE 3.0 desktop. The first thing I did was open a konsole and typed <c>sudo passwd root</c>. This lets you set the root password for Knoppix.</p>
114 114
115<p> Next, I su to root and typed <c>usermod -d /root -m root</c>. This sets user roots home directory to /root (the Gentoo way) from /home/root (the Knoppix way). If you do not do this, then you will receive errors when emerging about "/home/root: not found" or something to that effect.</p> 115<p> Next, I su to root and typed <c>usermod -d /root -m root</c>. This sets user roots home directory to /root (the Gentoo way) from /home/root (the Knoppix way). If you do not do this, then you will receive errors when emerging about "/home/root: not found" or something to that effect.</p>
116 116
117<p>I then typed <c>exit</c> and then <c>su</c> back into root. This loads the change that was made with the usermod command. At this point, you can pick up with the standard install documentation at step 6. However, when you're asked to mount the proc system, issue the following commands instead: </p> 117<p>I then typed <c>exit</c> and then <c>su</c> back into root. This loads the change that was made with the usermod command. Now create the <path>/mnt/gentoo</path> mountpoint using <c>mkdir</c>:</p>
118 118
119<pre caption="Creating the /mnt/gentoo mountpoint">
120# <i>mkdir /mnt/gentoo</i>
121</pre>
122
123<p>At this point, you can pick up with the standard install documentation at step 6. However, when you're asked to mount the proc system, issue the following command instead: </p>
124
119<pre caption = "Bind-mounting two important filesystems"> 125<pre caption = "Bind-mounting the proc pseudo filesystem">
120# <i>mount -o bind /proc /mnt/gentoo/proc</i> 126# <i>mount -o bind /proc /mnt/gentoo/proc</i>
121# <i>mount -o bind /dev /mnt/gentoo/dev</i>
122</pre> 127</pre>
123 128
124</body> 129</body>
125</section> 130</section>
126</chapter> 131</chapter>
657<impo> Be patient! The computer is working! Just look at the hardware LED on 662<impo> Be patient! The computer is working! Just look at the hardware LED on
658your case to see that it is really working. This should take between 2 and 30 663your case to see that it is really working. This should take between 2 and 30
659minutes. </impo> 664minutes. </impo>
660 665
661<p>Once you have resized, boot back into your old linux as described. Then go to 666<p>Once you have resized, boot back into your old linux as described. Then go to
662<uri link="/doc/en/gentoo-x86-install.xml">http://www.gentoo.org/doc/en/gentoo-x86-install.xml</uri> and follow steps 6 through 17. Don't forget to create the <path>/mnt/gentoo</path> directory before proceeding with step 7. In step 8 you have to download the requested stage-tarball as we're not working from a LiveCD. When chrooting, use the following command to flush your environment: 667<uri link="/doc/en/handbook/handbook.xml?part=1&amp;chap=5">The Gentoo Handbook: Installing the Gentoo Installation Files</uri> and follow the instructions. When chrooting, use the following command to flush your environment:
663</p> 668</p>
664 669
665<pre caption = "Flushing the environment during chroot"> 670<pre caption = "Flushing the environment during chroot">
666# <i>env -i chroot /mnt/gentoo /bin/bash</i> 671# <i>env -i chroot /mnt/gentoo /bin/bash</i>
667</pre> 672</pre>

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20