/[gentoo]/xml/htdocs/doc/en/gentoo-x86-tipsntricks.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-tipsntricks.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
14submitted tips and tricks for reference purposes. 14submitted tips and tricks for reference purposes.
15</abstract> 15</abstract>
16 16
17<license/> 17<license/>
18 18
19<version>1.0</version> 19<version>1.1</version>
20<date>April 11, 2004</date> 20<date>April 11, 2004</date>
21 21
22<chapter> 22<chapter>
23<title>Introduction</title> 23<title>Introduction</title>
24<section> 24<section>
41<b>Advanced Installations</b> 41<b>Advanced Installations</b>
42</p> 42</p>
43 43
44<ul> 44<ul>
45 <li><uri link="#software-raid">Software RAID</uri></li> 45 <li><uri link="#software-raid">Software RAID</uri></li>
46 <li><uri link="#ata-raid-2.4">ATA RAID using 2.4 kernels</uri></li>
46</ul> 47</ul>
47 48
48<p> 49<p>
49<b>Simplifying the Installation</b> 50<b>Simplifying the Installation</b>
50</p> 51</p>
165<e>both</e> disks if you use mirroring. 166<e>both</e> disks if you use mirroring.
166</p> 167</p>
167 168
168</body> 169</body>
169</section> 170</section>
171<section id="ata-raid-2.4">
172<title>ATA RAID using 2.4 kernels</title>
173<body>
174
175<p>
176Make sure you boot your LiveCD using the <c>doataraid</c> option. Once booted,
177check the contents of <path>/dev/ataraid</path>. It should contain various
178<path>disc*</path> directories for each harddisk available in the ATA RAID. An
179entire disk is displayed as <path>disc</path> while partitions are
180<path>part*</path>.
181</p>
182
183<p>
184Write down the various <path>/dev/ataraid/disc*/*</path> device files that you
185use to install Gentoo on. You will need to substitute the <path>/dev/hda</path>
186examples in the installation with this path.
187</p>
188
189<p>
190Before chrooting, bind-mount the <path>/dev</path> structure in the new
191environment:
192</p>
193
194<pre caption="Bind-mounting /dev">
195# <i>mount -o bind /dev /mnt/gentoo/dev</i>
196</pre>
197
198<p>
199When configuring your kernel, make sure you enable support for your ATA RAID
200chipset and options. For instance, a popular ATA RAID system is a <e>Promise
201FastTrack built-in RAID</e> in which case you definitely need <c>Promise
202FastTrack Options</c> built in into your kernel.
203</p>
204
205<p>
206When configuring GRUB, you first have to create a GRUB bootdisk. This is not as
207hard as you think. First install GRUB as you would, but when you come to the
208part where GRUB is getting installed in the MBR, follow the following
209instructions:
210</p>
211
212<pre caption="Creating a GRUB bootdisk">
213# <i>cd /boot/grub</i>
214# <i>dd if=stage1 of=/dev/fd0 bs=512 count=1</i>
215# <i>dd if=stage2 of=/dev/fd0 bs=512 seek=1</i>
216</pre>
217
218<p>
219You still need to write your <path>grub.conf</path> file. This is no different
220from the installation instructions, just make sure that your <c>root=</c> points
221to the ATA RAID device.
222</p>
223
224<p>
225After finishing the installation, boot with your GRUB bootdisk. You will be
226greeted by a GRUB prompt. Now configure GRUB to boot from the ATA RAID device:
227</p>
228
229<pre caption="Installing GRUB on the ATA RAID">
230grub&gt; root (hd0,x)
231grub&gt; setup (hd0)
232grub&gt; quit
233</pre>
234
235<p>
236Now reboot (with the GRUB bootfloppy removed).
237</p>
238
239<p>
240LILO users can safely use the instructions mentioned in the installation
241instructions.
242</p>
243
244</body>
245</section>
170</chapter> 246</chapter>
171 247
172<chapter> 248<chapter>
173<title>Simplifying the Installation</title> 249<title>Simplifying the Installation</title>
174<section id="leave_terminal"> 250<section id="leave_terminal">

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20