1 |
swift 08/05/23 20:29:44 |
2 |
|
3 |
Modified: altinstall.xml |
4 |
Log: |
5 |
Coding style |
6 |
|
7 |
Revision Changes Path |
8 |
1.75 xml/htdocs/doc/en/altinstall.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/altinstall.xml?rev=1.75&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/altinstall.xml?rev=1.75&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/altinstall.xml?r1=1.74&r2=1.75 |
13 |
|
14 |
Index: altinstall.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v |
17 |
retrieving revision 1.74 |
18 |
retrieving revision 1.75 |
19 |
diff -u -r1.74 -r1.75 |
20 |
--- altinstall.xml 9 Jan 2008 20:36:44 -0000 1.74 |
21 |
+++ altinstall.xml 23 May 2008 20:29:44 -0000 1.75 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.74 2008/01/09 20:36:44 jkt Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/altinstall.xml,v 1.75 2008/05/23 20:29:44 swift Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/altinstall.xml"> |
29 |
@@ -84,7 +84,7 @@ |
30 |
<body> |
31 |
|
32 |
<p> |
33 |
-Download Smart BootManager available from |
34 |
+Download Smart BootManager available from |
35 |
<uri>http://btmgr.sourceforge.net/download.html</uri>. |
36 |
Linux source or binary format and windows .exe versions are available as well |
37 |
as many language packs. However, at this time, the preferred method would be to |
38 |
@@ -102,16 +102,16 @@ |
39 |
sbminst [-t theme] [-d drv] [-b backup_file] [-u backup_file] |
40 |
|
41 |
-t theme select the theme to be used, in which the theme could be: |
42 |
- us = English theme de = German theme |
43 |
- hu = Hungarian theme zh = Chinese theme |
44 |
+ us = English theme de = German theme |
45 |
+ hu = Hungarian theme zh = Chinese theme |
46 |
ru = Russian theme cz = Czech theme |
47 |
- es = Spanish theme fr = French theme |
48 |
- pt = Portuguese theme |
49 |
+ es = Spanish theme fr = French theme |
50 |
+ pt = Portuguese theme |
51 |
+ |
52 |
|
53 |
- |
54 |
-d drv set the drive that you want to install Smart BootManager on; |
55 |
for Linux: |
56 |
- /dev/fd0 is the first floppy driver, |
57 |
+ /dev/fd0 is the first floppy driver, |
58 |
/dev/hda is the first IDE harddisk driver. |
59 |
/dev/sda is the first SCSI harddisk driver. |
60 |
for DOS: |
61 |
@@ -133,7 +133,8 @@ |
62 |
</pre> |
63 |
|
64 |
<note> |
65 |
-Replace <path>fd0</path> with your respective floppy device name if yours is different. |
66 |
+Replace <path>fd0</path> with your respective floppy device name if yours is |
67 |
+different. |
68 |
</note> |
69 |
|
70 |
<p> |
71 |
@@ -163,7 +164,7 @@ |
72 |
<body> |
73 |
|
74 |
<note> |
75 |
-Knoppix is only available for x86 users. |
76 |
+Knoppix is only available for x86 users. |
77 |
</note> |
78 |
|
79 |
<!-- this works with knoppix 3.6+ and gentoo 2004.3, 2005.0--> |
80 |
@@ -191,8 +192,8 @@ |
81 |
</p> |
82 |
|
83 |
<p> |
84 |
-By default Knoppix boots into a KDE desktop. Open a <c>konsole</c> and <c>su -</c> |
85 |
-so you can change your password. This lets you set the root password for |
86 |
+By default Knoppix boots into a KDE desktop. Open a <c>konsole</c> and <c>su |
87 |
+-</c> so you can change your password. This lets you set the root password for |
88 |
Knoppix. You can now configure <c>sshd</c> for remote login, at your |
89 |
preference. |
90 |
</p> |
91 |
@@ -219,11 +220,11 @@ |
92 |
features. |
93 |
</p> |
94 |
|
95 |
-<!-- |
96 |
+<!-- |
97 |
Commenting out due to #78716. If it needs to be restated again, note |
98 |
that some will require to bind-mount it, others don't, and that you have |
99 |
a 50-50 chance of winning the gold strike. |
100 |
- |
101 |
+ |
102 |
|
103 |
<p> |
104 |
You will also need to bind-mount the device tree to resolve permission issues |
105 |
@@ -286,9 +287,9 @@ |
106 |
|
107 |
<note> |
108 |
This provide a static IP address for the client and the path of a PXE boot |
109 |
-image, here <path>pxegrub</path>. You have to replace the MAC address of the Ethernet card |
110 |
-of the client and the directory where you will put the client files with the |
111 |
-one you use. |
112 |
+image, here <path>pxegrub</path>. You have to replace the MAC address of the |
113 |
+Ethernet card of the client and the directory where you will put the client |
114 |
+files with the one you use. |
115 |
</note> |
116 |
|
117 |
<p> |
118 |
@@ -385,15 +386,15 @@ |
119 |
<body> |
120 |
|
121 |
<p> |
122 |
-You might want to reboot the server with a Gentoo Install CD, although you can |
123 |
-very well continue immediately if you know how to proceed with the Gentoo |
124 |
-Installation Instructions from an existing installation. Follow the standard |
125 |
-install procedure as explained in the <uri link="/doc/en/handbook/">Gentoo Handbook</uri> BUT with the |
126 |
-following differences: |
127 |
-When you mount the file system, do the following (where <path>hdaX</path> is the partition |
128 |
-where you created the <path>/diskless</path> directory). You do not need to mount any other |
129 |
-partitions as all of the files will reside in the <path>/diskless/eta</path> |
130 |
-directory. |
131 |
+You might want to reboot the server with a Gentoo Install CD, although you can |
132 |
+very well continue immediately if you know how to proceed with the Gentoo |
133 |
+Installation Instructions from an existing installation. Follow the standard |
134 |
+install procedure as explained in the <uri link="/doc/en/handbook/">Gentoo |
135 |
+Handbook</uri> BUT with the following differences: |
136 |
+When you mount the file system, do the following (where <path>hdaX</path> is |
137 |
+the partition where you created the <path>/diskless</path> directory). You do |
138 |
+not need to mount any other partitions as all of the files will reside in the |
139 |
+<path>/diskless/eta</path> directory. |
140 |
</p> |
141 |
|
142 |
<pre caption="Mounting the filesystem"> |
143 |
@@ -449,7 +450,7 @@ |
144 |
|
145 |
<p> |
146 |
Save the kernel in your chrooted <path>/</path> (not in <path>/boot</path>) |
147 |
-according to the pxegrub setting defined earlier. Next configure your |
148 |
+according to the pxegrub setting defined earlier. Next configure your |
149 |
diskless client's <path>/etc/fstab</path>. |
150 |
</p> |
151 |
|
152 |
@@ -511,7 +512,7 @@ |
153 |
</chapter> |
154 |
|
155 |
<chapter> |
156 |
-<title>Installing Gentoo from an existing Linux distribution</title> |
157 |
+<title>Installing Gentoo from an existing Linux distribution</title> |
158 |
<section> |
159 |
<title>Requirements</title> |
160 |
<body> |
161 |
@@ -533,10 +534,10 @@ |
162 |
|
163 |
<p> |
164 |
We will first allocate a partition to Gentoo by resizing our existing Linux |
165 |
-partition, mount the partition, untar the tarball to the partition that is mounted, chroot |
166 |
-inside the pseudo-system and start building. Once the bootstrap process is |
167 |
-done, we will do some final configuration on the system so as to make sure it |
168 |
-boots, then we are ready to reboot and use Gentoo. |
169 |
+partition, mount the partition, untar the tarball to the partition that is |
170 |
+mounted, chroot inside the pseudo-system and start building. Once the bootstrap |
171 |
+process is done, we will do some final configuration on the system so as to |
172 |
+make sure it boots, then we are ready to reboot and use Gentoo. |
173 |
</p> |
174 |
|
175 |
</body> |
176 |
@@ -547,10 +548,11 @@ |
177 |
|
178 |
<p> |
179 |
The root partition is the filesystem mounted under <path>/</path>. A quick run |
180 |
-of <c>mount</c> on my system shows what I am talking about. We well also use <c>df</c> (disk |
181 |
-free) to see how much space I have left and how I will be resizing. Note that |
182 |
-it is not mandatory to resize your root partition! You could be resizing |
183 |
-anything else supported by our resizer, but let's talk about that later. |
184 |
+of <c>mount</c> on my system shows what I am talking about. We well also use |
185 |
+<c>df</c> (disk free) to see how much space I have left and how I will be |
186 |
+resizing. Note that it is not mandatory to resize your root partition! You |
187 |
+could be resizing anything else supported by our resizer, but let's talk about |
188 |
+that later. |
189 |
</p> |
190 |
|
191 |
<pre caption="Filesystem information"> |
192 |
@@ -560,9 +562,9 @@ |
193 |
none on /dev/pts type devpts (rw,gid=5,mode=620) |
194 |
none on /dev/shm type tmpfs (rw,nodev,nosuid,noexec) |
195 |
# <i>df -h </i> |
196 |
-Filesystem Size Used Avail Use% Mounted on |
197 |
+Filesystem Size Used Avail Use% Mounted on |
198 |
/dev/hdb2 4.0G 1.9G 2.4G 82% / |
199 |
-none 38M 0 38M 0% /dev/shm |
200 |
+none 38M 0 38M 0% /dev/shm |
201 |
</pre> |
202 |
|
203 |
<p> |
204 |
@@ -576,7 +578,7 @@ |
205 |
</body> |
206 |
</section> |
207 |
<section> |
208 |
-<title>Building parted to resize partition</title> |
209 |
+<title>Building parted to resize partition</title> |
210 |
<body> |
211 |
|
212 |
<p> |
213 |
@@ -590,10 +592,10 @@ |
214 |
<note> |
215 |
There are other tools for doing resize of partitions as well, but the author is |
216 |
unsure/uninterested whether PartitionMagic(tm) or other software of the kind do |
217 |
-the job. It's the reader's job to check them out |
218 |
+the job. It's the reader's job to check them out |
219 |
</note> |
220 |
|
221 |
-<p> |
222 |
+<p> |
223 |
Look up on that page the type of filesystem you want to resize and see if |
224 |
parted can do it. If not, you're out of luck, you will have to destroy some |
225 |
partition to make space for Gentoo, and reinstall back. Go ahead by downloading |
226 |
@@ -622,8 +624,8 @@ |
227 |
Note again that Linux is synonym of "There's one more way to do it". Your |
228 |
objective is to run parted on an unmounted partition so it can do its work. You |
229 |
might use some boot/root diskset other than mininux. You might not even |
230 |
-need to do this step at all, ie. you might only have umount the filesystem you want to |
231 |
-repartition in your Linux session and run parted on it. |
232 |
+need to do this step at all, ie. you might only have umount the filesystem you |
233 |
+want to repartition in your Linux session and run parted on it. |
234 |
</note> |
235 |
|
236 |
<pre caption="Utility disk creation"> |
237 |
@@ -637,13 +639,14 @@ |
238 |
|
239 |
<p> |
240 |
We will now proceed with the build of parted. If it's not already downloaded |
241 |
-and untarred, do so now and <c>cd</c> into the corresponding directory. Now run the |
242 |
-following set of commands to build the utility and copy it to your floppy disk. |
243 |
+and untarred, do so now and <c>cd</c> into the corresponding directory. Now run |
244 |
+the following set of commands to build the utility and copy it to your floppy |
245 |
+disk. |
246 |
</p> |
247 |
|
248 |
<pre caption="Building the utility floppy"> |
249 |
-# <i> mkdir /floppy; mount -t minix /dev/fd0 /floppy && |
250 |
-export CFLAGS="-O3 -pipe -fomit-frame-pointer -static" && ./configure |
251 |
+# <i> mkdir /floppy; mount -t minix /dev/fd0 /floppy && |
252 |
+export CFLAGS="-O3 -pipe -fomit-frame-pointer -static" && ./configure |
253 |
&& make && cp parted/parted /floppy && umount /floppy </i> |
254 |
</pre> |
255 |
|
256 |
@@ -653,12 +656,12 @@ |
257 |
The resize should take under 30 minutes for the largest hard-drives, be |
258 |
patient. Reboot your system with the mininux boot disk (just pop it inside), |
259 |
and once you are logged in, switch the disk in the drive with your utility disk |
260 |
-we have created above and type <c>mount /dev/fd0 /floppy</c> to have parted under |
261 |
-<path>/floppy</path>. There you go. Run parted and you will be able to resize your |
262 |
-partition. Once this lenghty process done, we are ready to have the real fun, |
263 |
-by installing Gentoo. Reboot back into your old Linux system for now. The drive you |
264 |
-wish to operate on is the drive containing the partition we want to resize. For |
265 |
-example, if we want to resize /dev/hda3, the drive is /dev/hda |
266 |
+we have created above and type <c>mount /dev/fd0 /floppy</c> to have parted |
267 |
+under <path>/floppy</path>. There you go. Run parted and you will be able to |
268 |
+resize your partition. Once this lenghty process done, we are ready to have the |
269 |
+real fun, by installing Gentoo. Reboot back into your old Linux system for now. |
270 |
+The drive you wish to operate on is the drive containing the partition we want |
271 |
+to resize. For example, if we want to resize /dev/hda3, the drive is /dev/hda. |
272 |
</p> |
273 |
|
274 |
<pre caption="Commands to run once logged into mininux system"> |
275 |
@@ -668,12 +671,12 @@ |
276 |
Disk geometry for /dev/hdb: 0.000-9787.148 megabytes |
277 |
Disk label type: msdos |
278 |
Minor Start End Type Filesystem Flags |
279 |
-1 0.031 2953.125 primary ntfs |
280 |
-3 2953.125 3133.265 primary linux-swap |
281 |
-2 3133.266 5633.085 primary ext3 |
282 |
-4 5633.086 9787.148 extended |
283 |
-5 5633.117 6633.210 logical |
284 |
-6 6633.242 9787.148 logical ext3 |
285 |
+1 0.031 2953.125 primary ntfs |
286 |
+3 2953.125 3133.265 primary linux-swap |
287 |
+2 3133.266 5633.085 primary ext3 |
288 |
+4 5633.086 9787.148 extended |
289 |
+5 5633.117 6633.210 logical |
290 |
+6 6633.242 9787.148 logical ext3 |
291 |
(parted) <i> help resize </i> |
292 |
resize MINOR START END resize filesystem on partition MINOR |
293 |
|
294 |
|
295 |
|
296 |
|
297 |
-- |
298 |
gentoo-doc-cvs@l.g.o mailing list |