/[gentoo]/xml/htdocs/doc/en/gentoo-freebsd.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-freebsd.xml

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

Revision 1.25 Revision 1.26
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/gentoo-freebsd.xml,v 1.25 2007/04/08 21:55:42 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.26 2007/05/10 22:00:51 cam Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/gentoo-freebsd.xml"> 5<guide link="/doc/en/gentoo-freebsd.xml">
6<title>A short guide to Gentoo/FreeBSD</title> 6<title>A short guide to Gentoo/FreeBSD</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail> 9 <mail link="ignacio.arquelatour@gmail.com">Ignacio Arque-Latour</mail>
10</author> 10</author>
11<author title="Author"> 11<author title="Author">
12 <mail link="citizen428@gentoo.org">Michael Kohl</mail> 12 <mail link="citizen428@gentoo.org">Michael Kohl</mail>
13</author> 13</author>
14<author title="Author"> 14<author title="Author">
15 <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail> 15 <mail link="angusyoung@gentoo.org">Otavio R. Piske</mail>
16</author> 16</author>
17<author title="Author"> 17<author title="Author">
18 <mail link="ka0ttic@gentoo.org">Aaron Walker</mail> 18 <mail link="ka0ttic@gentoo.org">Aaron Walker</mail>
19</author> 19</author>
20<author title="Author"> 20<author title="Author">
21 <mail link="chriswhite@gentoo.org">Chris White</mail> 21 <mail link="chriswhite@gentoo.org">Chris White</mail>
22</author> 22</author>
23<author title="Contributor"> 23<author title="Contributor">
24 <mail link="flameeyes@gentoo.org">Diego Pettenò</mail> 24 <mail link="flameeyes@gentoo.org">Diego Pettenò</mail>
25</author> 25</author>
26<author title="Editor"> 26<author title="Editor">
27 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> 27 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail>
28</author> 28</author>
29<author title="Editor">
30 <mail link="cam@gentoo.org">Camille Huot</mail>
31</author>
29 32
30<abstract> 33<abstract>
31This document gives some general information on FreeBSD, as well as 34This document gives some general information on FreeBSD, as well as
32installation instructions for Gentoo/FreeBSD. It also includes some reference 35installation instructions for Gentoo/FreeBSD. It also includes some reference
33for people interested in helping out with development. 36for people interested in helping out with development.
34</abstract> 37</abstract>
35 38
36<!-- The content of this document is licensed under the CC-BY-SA license --> 39<!-- The content of this document is licensed under the CC-BY-SA license -->
37<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 40<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
38<license/> 41<license/>
39 42
40<version>2.8</version> 43<version>2.9</version>
41<date>2007-04-08</date> 44<date>2007-05-10</date>
42 45
43<chapter> 46<chapter>
44<title>Introduction to FreeBSD</title> 47<title>Introduction to FreeBSD</title>
45<section> 48<section>
46<title>What is FreeBSD?</title> 49<title>What is FreeBSD?</title>
47<body> 50<body>
48 51
49<p> 52<p>
50<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri 53<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri
51link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>) 54link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>)
52Unix-like operating system. Back in 1993 when development of <uri 55Unix-like operating system. Back in 1993 when development of <uri
53link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born: 56link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born:
54<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a 57<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a
55huge number of architectures, and FreeBSD which supports the x86, amd64, ia64, 58huge number of architectures, and FreeBSD which supports the x86, amd64, ia64,
56sparc64 and alpha platforms. FreeBSD is renowned for its stability, performance 59sparc64 and alpha platforms. FreeBSD is renowned for its stability, performance
187</p> 190</p>
188 191
189<pre caption="Obtaining a DHCP address using dhclient"> 192<pre caption="Obtaining a DHCP address using dhclient">
190# <i>dhclient fxp0</i> 193# <i>dhclient fxp0</i>
191DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 9 194DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 9
192DHCPOFFER from 192.168.0.1 195DHCPOFFER from 192.168.0.1
193DHCPREQUEST on fxp0 to 255.255.255.255 port 67 196DHCPREQUEST on fxp0 to 255.255.255.255 port 67
194DHCPACK from 192.168.0.1 197DHCPACK from 192.168.0.1
195bound to 192.168.0.106 -- renewal in 302400 seconds 198bound to 192.168.0.106 -- renewal in 302400 seconds
196</pre> 199</pre>
197 200
198<note> 201<note>
199The output presented here will differ based on your network. 202The output presented here will differ based on your network.
200</note> 203</note>
201 204
202<p>
203Next, create the chroot for your installation:
204</p>
205
206<pre caption="Making the chroot directory">
207# <i>mkdir /mnt/gentoo</i>
208</pre>
209
210<note>
211There is a bug in the <uri
212link="http://dev.gentoo.org/~flameeyes/minimal-freesbie-drizzt.iso.bz2">
213minimal Freesbie CD</uri> that prevents the creation of the
214<path>/mnt/gentoo</path> mount point. To avoid this, use <path>/mnt</path>
215instead of <path>/mnt/gentoo</path> in the following sections.
216</note>
217
218</body> 205</body>
219</section> 206</section>
220<section> 207<section>
221<title>Partitioning the Drive</title> 208<title>Partitioning the Drive</title>
222<body> 209<body>
223 210
224<p> 211<p>
225Now that we have a mount point, it's time to partition the drive. This is done 212Now that we have a mount point, it's time to partition the drive. This is done
226with the <c>sysinstall</c> command: 213with the <c>sysinstall</c> command:
227</p> 214</p>
228 215
229<pre caption="Running the sysinstall command to fdisk the drive"> 216<pre caption="Running the sysinstall command to fdisk the drive">
230# <i>sysinstall diskPartitionEditor diskPartitionWrite</i> 217# <i>sysinstall diskPartitionEditor diskPartitionWrite</i>
231</pre> 218</pre>
232 219
239</p> 226</p>
240 227
241<p> 228<p>
242This next step also uses <c>sysinstall</c>, but with different arguments: 229This next step also uses <c>sysinstall</c>, but with different arguments:
243</p> 230</p>
244 231
245<pre caption="Running sysinstall to setup partition sizing and mount points"> 232<pre caption="Running sysinstall to setup partition sizing and mount points">
246# <i>sysinstall diskLabelEditor diskLabelCommit</i> 233# <i>sysinstall diskLabelEditor diskLabelCommit</i>
247</pre> 234</pre>
248 235
249<p> 236<p>
250Here, we'll refrain from using the automatic layout, and create one giant root 237Here, we'll refrain from using the automatic layout, and create one giant root
251partition, followed by a swap partition. Hit <b>c</b> to create a new 238partition, followed by a swap partition. Hit <b>c</b> to create a new
252partition. A dialog prompts you to enter a size. Go ahead and do so, using 239partition. A dialog prompts you to enter a size. Go ahead and do so, using
253MB/GB for setting different sizes, or C for cylinders. For root, choose FS as 240MB/GB for setting different sizes, or C for cylinders. For root, choose FS as
254the partition type, and set the mount point as <path>/mnt/gentoo</path>. <e>If 241the partition type, and set the mount point as <path>/mnt/</path>. <e>If
255you do not adjust the mount point, it will overwrite the FreeSBIE 242you do not adjust the mount point, it will overwrite the FreeSBIE
256environment!</e> As <path>/boot</path> is not a separate partition, you'll 243environment!</e> As <path>/boot</path> is not a separate partition, you'll
257need to disable soft-updates, or your system will not boot! To do so, use the 244need to disable soft-updates, or your system will not boot! To do so, use the
258arrow keys to navigate to your newly created partition, then hit the <b>s</b> 245arrow keys to navigate to your newly created partition, then hit the <b>s</b>
259key, until "Newfs" contains no <b>+S</b>. Now navigate the arrow keys until 246key, until "Newfs" contains no <b>+S</b>. Now navigate the arrow keys until
260the "Disk" line is highlighted, and hit <b>c</b> again to create a swap 247the "Disk" line is highlighted, and hit <b>c</b> again to create a swap
261partition. Generally, we recommend a swap space that is twice the size of your 248partition. Generally, we recommend a swap space that is twice the size of your
262RAM. Choose SWAP as the partition type, and don't worry about soft-updates, as 249RAM. Choose SWAP as the partition type, and don't worry about soft-updates, as
263it does not apply to swap. Now we're finished, so hit <b>q</b> to finish the 250it does not apply to swap. Now we're finished, so hit <b>q</b> to finish the
264process. 251process.
265</p> 252</p>
266 253
267<p> 254<p>
268When choosing a different mountpoint than <path>/</path> for your partition, 255When choosing a different mountpoint than <path>/</path> for your partition,
269<c>sysinstall</c> will actually create a 'd' slice, which the bootloader won't 256<c>sysinstall</c> will actually create a 'd' slice, which the bootloader won't
270boot from. To fix this, run the following: 257boot from. To fix this, run the following:
271</p> 258</p>
272 259
273<pre caption="Fixing the root partition letter"> 260<pre caption="Fixing the root partition letter">
274# <i>disklabel ad0s1 | sed 's/^ d:/ a:/g' | disklabel -w ad0s1</i> 261# <i>disklabel ad0s1 | sed 's/^ d:/ a:/' > label</i>
262# <i>disklabel -R ad0s1 label</i>
275</pre> 263</pre>
276 264
277<p> 265<p>
278This will finalize the partitioning process, and format the drive in UFS for 266This will finalize the partitioning process, and format the drive in UFS for
279FreeBSD to utilize. This will also mount the drive for you at the mount point 267FreeBSD to utilize. This will also mount the drive for you at the mount point
280specified earlier (<path>/mnt/gentoo</path>). You can verify this worked by 268specified earlier (<path>/mnt/</path>). You can verify this worked by
281running <c>mount</c>: 269running <c>mount</c>:
282</p> 270</p>
283 271
284<pre caption="Verifying the new disk layout was mounted with mount"> 272<pre caption="Verifying the new disk layout was mounted with mount">
285# <i>mount</i> 273# <i>mount</i>
286... 274...
287/dev/ad0s1a on /mnt/gentoo (ufs, local) 275/dev/ad0s1a on /mnt (ufs, local)
288</pre> 276</pre>
289 277
290<p> 278<p>
291Now that you have mounted the target partition, it is time to start on the Gentoo 279Now that you have mounted the target partition, it is time to start on the Gentoo
292setup. 280setup.
293</p> 281</p>
294 282
295</body> 283</body>
296</section> 284</section>
297<section> 285<section>
298<title>Gentoo Setup</title> 286<title>Gentoo Setup</title>
299<body> 287<body>
300 288
301<p> 289<p>
302First, we need to download a stage3 tarball and unpack it into the chroot. 290First, we need to download a stage3 tarball and unpack it into the chroot.
303Point your browser to 291Point your browser to
304<uri>http://gentoo.osuosl.org/experimental/x86/freebsd/stages/</uri>, grab the 292<uri>http://gentoo.osuosl.org/experimental/x86/freebsd/stages/</uri>, grab the
305latest snapshot, and unpack it into the mountpoint: 293latest snapshot, and unpack it into the mountpoint:
306</p> 294</p>
307 295
308<pre caption="Obtaining and unpacking a stage3 tarball"> 296<pre caption="Obtaining and unpacking a stage3 tarball">
309# <i>cd /mnt/gentoo/</i> 297# <i>cd /mnt/</i>
310<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> 298<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment>
311# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/stage3-x86-freebsd-6.2.tar.bz2</i> 299# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/stage3-x86-freebsd-6.2.tar.bz2</i>
312# <i>tar -jxvpf stage3-x86-freebsd-6.2.tar.bz2</i> 300# <i>tar -jxvpf stage3-x86-freebsd-6.2.tar.bz2</i>
313<comment>(You can delete the tarball with the following command if you want to.)</comment> 301<comment>(You can delete the tarball with the following command if you want to.)</comment>
314# <i>rm stage3-x86-freebsd-6.2.tar.bz2</i> 302# <i>rm stage3-x86-freebsd-6.2.tar.bz2</i>
315</pre> 303</pre>
316 304
317<note> 305<note>
318If you want you can use the transition overlay that contains semi-experimental 306If you want you can use the transition overlay that contains semi-experimental
319ebuilds with patches not yet in the main Portage tree, but does allow a wider 307ebuilds with patches not yet in the main Portage tree, but does allow a wider
320range of supported packages, please refer to the <uri 308range of supported packages, please refer to the <uri
321link="/proj/en/gentoo-alt/contribute/index.xml?part=1&amp;chap=3">Gentoo/ALT 309link="/proj/en/gentoo-alt/contribute/index.xml?part=1&amp;chap=3">Gentoo/ALT
322overlay documentation</uri>. Please note that the overlay is not critical and 310overlay documentation</uri>. Please note that the overlay is not critical and
323you can easily install and use Gentoo/FreeBSD without it. 311you can easily install and use Gentoo/FreeBSD without it.
324</note> 312</note>
325 313
326<p> 314<p>
327In order for your install to work, you need to mount the <path>/dev</path> 315In order for your install to work, you need to mount the <path>/dev</path>
328filesystem from the currently running system into the Gentoo/FreeBSD mount 316filesystem from the currently running system into the Gentoo/FreeBSD mount
329point before proceeding with the chroot. 317point before proceeding with the chroot.
330</p> 318</p>
331 319
332<pre caption="Mounting the /dev filesystem and chrooting"> 320<pre caption="Mounting the /dev filesystem and chrooting">
333# <i>mount -t devfs none /mnt/gentoo/dev/</i> 321# <i>mount -t devfs none /mnt/dev/</i>
334# <i>cp /etc/resolv.conf /mnt/gentoo/etc</i> 322# <i>cp /etc/resolv.conf /mnt/etc/</i>
335# <i>chroot /mnt/gentoo/ /bin/bash</i> 323# <i>chroot /mnt/ /bin/bash</i>
336# <i>env-update &amp;&amp; source /etc/profile</i> 324# <i>env-update &amp;&amp; source /etc/profile</i>
337</pre> 325</pre>
338 326
339<p> 327<p>
340After you obtain the Gentoo/FreeBSD overlay, it's time to link 328After you obtain the Gentoo/FreeBSD overlay, it's time to link
341<path>/etc/make.profile</path> to the correct profile and get your 329<path>/etc/make.profile</path> to the correct profile and get your
342<path>/etc/make.conf</path> ready for Gentoo/FreeBSD. 330<path>/etc/make.conf</path> ready for Gentoo/FreeBSD.
343</p> 331</p>
344 332
345<p> 333<p>
346Now, you have to obtain a copy of the main Gentoo Portage tree, which depending 334Now, you have to obtain a copy of the main Gentoo Portage tree, which depending
347on your connection might take quite a while. 335on your connection might take quite a while.
348</p> 336</p>
349 337
350<pre caption="Obtaining the Portage tree"> 338<pre caption="Obtaining the Portage tree">
374 362
375<p> 363<p>
376If you want, you can now rebuild the system's core packages. 364If you want, you can now rebuild the system's core packages.
377</p> 365</p>
378 366
379<pre caption="Rebuilding the FreeBSD core packages (optional)"> 367<pre caption="Rebuilding the FreeBSD core packages (optional)">
380# <i>emerge -e system</i> 368# <i>emerge -e system</i>
381</pre> 369</pre>
382 370
383</body> 371</body>
384</section> 372</section>
385</chapter> 373</chapter>
386<chapter> 374<chapter>
387<title>Setting up for Booting</title> 375<title>Setting up for Booting</title>
388<section> 376<section>
377<title>Set your time zone</title>
378<body>
379
380<p>
381First make sure your date and time is set correctly using <c>date
382yyyymmddHHMM</c>. Use UTC time.
383</p>
384
385<pre caption="Set the date and UTC time">
386<comment>(Check the clock)</comment>
387# <i>date</i>
388Mon Mar 6 00:14:13 UTC 2006
389
390<comment>(Set the current date and time if required)</comment>
391# <i>date 200603060016</i> <comment>(Format is yyyymmddHHMM)</comment>
392Mon Mar 6 00:16:00 UTC 2006
393</pre>
394
395<p>
396Next, set your time zone information by using the correct listing in
397<path>/usr/share/zoneinfo</path>.
398</p>
399
400<pre caption="Setting your timezone">
401# <i>ls /usr/share/zoneinfo</i>
402<comment>(Using Brussels as an example)</comment>
403# <i>cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime</i>
404
405# <i>date</i>
406Wed Mar 8 00:46:05 CET 2006
407</pre>
408
409<p>
410Edit <path>/etc/conf.d/clock</path> to define the time zone you used
411previously.
412</p>
413
414<pre caption="Edit /etc/conf.d/clock">
415# <i>nano -w /etc/conf.d/clock</i>
416TIMEZONE="Europe/Brussels"
417</pre>
418
419</body>
420</section>
421<section>
389<title>Kernel Installation</title> 422<title>Kernel Installation</title>
390<body> 423<body>
391 424
392<p> 425<p>
393If you ran <c>emerge -e system</c>, the sources for the FreeBSD kernel were 426If you ran <c>emerge -e system</c>, the sources for the FreeBSD kernel were
394installed to <path>/usr/src/sys</path>. If you skipped this step, you can get 427installed to <path>/usr/src/sys</path>. If you skipped this step, you can get
395them in the following way: 428them in the following way:
396</p> 429</p>
397 430
398<pre caption="Getting the FreeBSD kernel sources"> 431<pre caption="Getting the FreeBSD kernel sources">
399# <i>emerge freebsd-sources</i> 432# <i>emerge freebsd-sources</i>
400</pre> 433</pre>
401 434
402<p> 435<p>
403Configuring and compiling a custom kernel is quite different from compiling 436Configuring and compiling a custom kernel is quite different from compiling
479<title>Setting up the bootloader (boot0)</title> 512<title>Setting up the bootloader (boot0)</title>
480<body> 513<body>
481 514
482<impo> 515<impo>
483<c>boot0</c> is the FreeBSD bootloader. Previously, it was the only supported 516<c>boot0</c> is the FreeBSD bootloader. Previously, it was the only supported
484bootloader until <c>grub</c> was introduced into ports with UFS slice support. 517bootloader until <c>grub</c> was introduced into ports with UFS slice support.
485To install and configure <c>boot0</c>, run the following. Remember to replace 518To install and configure <c>boot0</c>, run the following. Remember to replace
486<c>adXsY</c> with the actual number and slice of your disk. 519<c>adXsY</c> with the actual number and slice of your disk.
487</impo> 520</impo>
488 521
489<pre caption="Installing and setting up boot0"> 522<pre caption="Installing and setting up boot0">
490# <i>emerge boot0</i> 523# <i>emerge boot0</i>
491<comment>(Leave the chroot environment)</comment> 524<comment>(Leave the chroot environment)</comment>
492# <i>exit</i> 525# <i>exit</i>
493<comment>(Issued from outside the chroot)</comment> 526<comment>(Issued from outside the chroot)</comment>
494# <i>fdisk -B -b /mnt/gentoo/boot/boot0 /dev/adX</i> 527# <i>fdisk -B -b /mnt/boot/boot0 /dev/adX</i>
495# <i>chroot /mnt/gentoo /bin/bash</i> 528# <i>chroot /mnt/ /bin/bash</i>
496# <i>disklabel -B adXsY</i> 529# <i>disklabel -B adXsY</i>
497</pre> 530</pre>
498 531
499<p> 532<p>
500If you need additional information on setting up <c>boot0</c>, please consult 533If you need additional information on setting up <c>boot0</c>, please consult
501<uri 534<uri
502link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html">chapter 535link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html">chapter
50312</uri> of the FreeBSD handbook. Now it's time to do some basic system 53612</uri> of the FreeBSD handbook. Now it's time to do some basic system
504configuration and settings. 537configuration and settings.
505</p> 538</p>
506 539
507<p> 540<p>
508The next section will look at using the alternative bootloader, <c>grub</c>. 541The next section will look at using the alternative bootloader, <c>grub</c>.
509</p> 542</p>
510 543
541 574
542grub&gt; <i>setup (hd0)</i> 575grub&gt; <i>setup (hd0)</i>
543 Checking if "/boot/grub/stage1" exists... yes 576 Checking if "/boot/grub/stage1" exists... yes
544 Checking if "/boot/grub/stage2" exists... yes 577 Checking if "/boot/grub/stage2" exists... yes
545 Checking if "/boot/grub/ufs2_stage1_5" exists... yes 578 Checking if "/boot/grub/ufs2_stage1_5" exists... yes
546 Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... 14 sectors are embedded. 579 Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... 14 sectors are embedded.
547succeeded 580succeeded
548 Running "install /boot/grub/stage1 (hd0) (hd0)1+14 p (hd0,0,d)/boot/grub/stage 581 Running "install /boot/grub/stage1 (hd0) (hd0)1+14 p (hd0,0,d)/boot/grub/stage
5492 /boot/grub/menu.lst"... succeeded 5822 /boot/grub/menu.lst"... succeeded
550Done. 583Done.
551 584
552grub&gt; quit 585grub&gt; quit
553</pre> 586</pre>
554 587
555<p> 588<p>
589To make the loader find the kernel on a specific slice (the default is 'a'),
590add a <c>vfs.root.mountfrom</c> line to the <path>/boot/loader.conf</path>
591file:
592</p>
593
594<pre caption="Tell the loader where to look for the kernel">
595# <i>echo 'vfs.root.mountfrom="ufs:ad0s1d"' >> /boot/loader.conf</i>
596</pre>
597
598<p>
556When you first boot, you may not receive a grub menu. If so, run this at the 599When you first boot, you may not receive a grub menu. If so, run this at the
557prompt: 600prompt:
558</p> 601</p>
559 602
560<pre caption="Booting the kernel with no menu"> 603<pre caption="Booting the kernel with no menu">
561grub&gt; <i>find /boot/grub/stage1</i> 604grub&gt; <i>find /boot/grub/stage1</i>
562<comment>(The output here is what you'll use in the next command)</comment> 605<comment>(The output here is what you'll use in the next command)</comment>
563 (hd0,0,d) 606 (hd0,0,d)
564 607
565grub&gt; <i>kernel (hd0,0,d)/boot/loader</i> 608grub&gt; <i>kernel (hd0,0,d)/boot/loader</i>
566 [FreeBSD-a.out, loadaddr=0x200000, text=0x1000, data=0x3a000, bss=0x0, entry=0x200000] 609 [FreeBSD-a.out, loadaddr=0x200000, text=0x1000, data=0x3a000, bss=0x0, entry=0x200000]
567 610
568grub&gt; <i>boot</i> 611grub&gt; <i>boot</i>
569</pre> 612</pre>
570 613
571<note> 614<note>
572For more information on configuring grub, please refer to the <uri 615For more information on configuring grub, please refer to the <uri
573link="/doc/en/handbook/handbook-x86.xml?part=1&amp;chap=10#doc_chap2">Gentoo 616link="/doc/en/handbook/handbook-x86.xml?part=1&amp;chap=10#doc_chap2">Gentoo
574Linux Handbook</uri>. 617Linux Handbook</uri>.
575</note> 618</note>
619
620<warn>
621Grub doesn't follow UFS symlinks so be sure to delete the
622<path>/boot/grub/menu.lst</path> symlink and to use <path>menu.lst</path> to
623setup Grub (<path>grub.conf</path> isn't used).
624</warn>
576 625
577</body> 626</body>
578</section> 627</section>
579<section> 628<section>
580<title>System configuration</title> 629<title>System configuration</title>
581<body> 630<body>
582 631
583<p> 632<p>
584First, we are going to setup the filesystem mounting points in 633First, we are going to setup the filesystem mounting points in
585<path>/etc/fstab</path>. 634<path>/etc/fstab</path>.
586</p> 635</p>
587 636
588<pre caption="Editing the filesystem in /etc/fstab"> 637<pre caption="Editing the filesystem in /etc/fstab">
589# <i>nano /etc/fstab</i> 638# <i>nano /etc/fstab</i>
590<comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment> 639<comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment>

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20