/[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.16 Revision 1.17
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.16 2006/03/30 08:41:57 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.17 2006/05/03 01:01:04 rane 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 20
21<abstract> 21<abstract>
22This document gives some general information on FreeBSD, as well as 22This document gives some general information on FreeBSD, as well as
23installation instructions for Gentoo/FreeBSD. It also includes some reference 23installation instructions for Gentoo/FreeBSD. It also includes some reference
24for people interested in helping out with development. 24for people interested in helping out with development.
25</abstract> 25</abstract>
26 26
27<!-- The content of this document is licensed under the CC-BY-SA license --> 27<!-- The content of this document is licensed under the CC-BY-SA license -->
28<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 28<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
29<license/> 29<license/>
30 30
31<version>2.3</version> 31<version>2.4</version>
32<date>2006-03-24</date> 32<date>2006-05-03</date>
33 33
34<chapter> 34<chapter>
35<title>Introduction to FreeBSD</title> 35<title>Introduction to FreeBSD</title>
36<section> 36<section>
37<title>What is FreeBSD?</title> 37<title>What is FreeBSD?</title>
38<body> 38<body>
39 39
40<p> 40<p>
41<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri 41<uri link="http://www.freebsd.org/">FreeBSD</uri> is a free (<uri
42link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>) 42link="http://www.freebsd.org/copyright/freebsd-license.html">license</uri>)
43Unix-like operating system. Back in 1993 when development of <uri 43Unix-like operating system. Back in 1993 when development of <uri
44link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born: 44link="http://www.386bsd.org/">386BSD</uri> stopped, two projects were born:
45<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a 45<uri link="http://www.netbsd.org/">NetBSD</uri>, commonly known to run on a
46huge number of architetures, and FreeBSD which supports the x86, amd64, ia64, 46huge number of architectures, and FreeBSD which supports the x86, amd64, ia64,
47sparc64 and alpha platforms.FreeBSD is renowned for its stability, performance 47sparc64 and alpha platforms.FreeBSD is renowned for its stability, performance
48and security, thus being used from small to huge companies all over the world. 48and security, thus being used from small to huge companies all over the world.
49FreeBSD's current production release version is 6.0, which is also used as the 49FreeBSD's current production release version is 6.0, which is also used as the
50foundation for the Gentoo/FreeBSD project. The previous 5.x branch is being 50foundation for the Gentoo/FreeBSD project. The previous 5.x branch is being
51continued by the FreeBSD project as a service release, but is no more worked on by 51continued by the FreeBSD project as a service release, but is no more worked on by
52the Gentoo/FreeBSD developers. 52the Gentoo/FreeBSD developers.
53</p> 53</p>
54 54
55</body> 55</body>
56</section> 56</section>
57<section> 57<section>
58<title>What is Gentoo/FreeBSD?</title> 58<title>What is Gentoo/FreeBSD?</title>
59<body> 59<body>
60 60
61<p> 61<p>
132Gentoo/FreeBSD. Unfortunately, we currently lack our own installation media, so 132Gentoo/FreeBSD. Unfortunately, we currently lack our own installation media, so
133you have to choose between two alternative installation methods. The first 133you have to choose between two alternative installation methods. The first
134would be to use an existing FreeBSD installation to partition your hard drive 134would be to use an existing FreeBSD installation to partition your hard drive
135and use it as a base for installing Gentoo/FreeBSD. Alternatively, you can also 135and use it as a base for installing Gentoo/FreeBSD. Alternatively, you can also
136use the excellent <uri link="http://www.freesbie.org/">FreeSBIE LiveCD</uri> as 136use the excellent <uri link="http://www.freesbie.org/">FreeSBIE LiveCD</uri> as
137an installation medium for Gentoo/FreeBSD. 137an installation medium for Gentoo/FreeBSD.
138</p> 138</p>
139 139
140<note> 140<note>
141If you are intending to use FreeSBIE for installing Gentoo/FreeBSD, please make 141If you are intending to use FreeSBIE for installing Gentoo/FreeBSD, please make
142sure to use a version based on FreeBSD 6.0! Experimental versions can be downloaded 142sure to use a version based on FreeBSD 6.0! Experimental versions can be downloaded
143from <uri link="http://torrent.freesbie.org/">FreeSBIE's Bittorrent tracker</uri> and 143from <uri link="http://torrent.freesbie.org/">FreeSBIE's Bittorrent tracker</uri> and
144version 20060118 has been tested to work for the purposes described in this document. 144version 20060118 has been tested to work for the purposes described in this document.
145</note> 145</note>
146 146
147<note>
148We use <c>ee</c> as a default editor in this guide but you can choose
149<c>vim</c>, <c>nano</c> or any other editor you like to configure your system.
150</note>
151
147<p> 152<p>
148Before you can begin with the installation, you have to setup a hard disk for 153Before you can begin with the installation, you have to setup a hard disk for
149use with Gentoo/FreeBSD. This can either be done via <c>sysinstall</c> 154use with Gentoo/FreeBSD. This can either be done via <c>sysinstall</c>
150(available from a current FreeBSD installation as well as from within FreeSBIE) 155(available from a current FreeBSD installation as well as from within FreeSBIE)
151or by manually using the commands <c>fdisk</c>, <c>disklabel</c> and <c>newfs</c>. 156or by manually using the commands <c>fdisk</c>, <c>disklabel</c> and <c>newfs</c>.
152If you have never set up a FreeBSD system before, <c>sysinstall</c> may be the 157If you have never set up a FreeBSD system before, <c>sysinstall</c> may be the
153better option for you. In that case make sure that you don't use the sysinstall 158better option for you. In that case make sure that you don't use the sysinstall
154launched by FreeBSD's or FreeSBIE's installers, but use the following command instead: 159launched by FreeBSD's or FreeSBIE's installers, but use the following command instead:
155</p> 160</p>
156 161
157<pre caption="Partitioning with sysinstall"> 162<pre caption="Partitioning with sysinstall">
158# <i>sysinstall diskPartitionEditor diskPartitionWrite diskLabelEditor diskLabelCommit</i> 163# <i>sysinstall diskPartitionEditor diskPartitionWrite diskLabelEditor diskLabelCommit</i>
159</pre> 164</pre>
160 165
161<p> 166<p>
175<comment>(Replace X with the correct numbers for your hard disk.)</comment> 180<comment>(Replace X with the correct numbers for your hard disk.)</comment>
176# <i>mount /dev/adXsXa /mnt/gentoo</i> 181# <i>mount /dev/adXsXa /mnt/gentoo</i>
177</pre> 182</pre>
178 183
179<p> 184<p>
180If you're using the FreeSBIE LiveCD and you already had an UFS partition on 185If you're using the FreeSBIE LiveCD and you already had an UFS partition on
181your hard disk, it has already been mounted read-only to <path>/mnt/ufs.1</path>. 186your hard disk, it has already been mounted read-only to <path>/mnt/ufs.1</path>.
182If you want to use that location for your installation, you'll have to remount it 187If you want to use that location for your installation, you'll have to remount it
183in read-write mode: 188in read-write mode:
184</p> 189</p>
185 190
186<pre caption="Remounting a partition in read-write mode"> 191<pre caption="Remounting a partition in read-write mode">
187# <i>mount -u -o rw /mnt/ufs.1</i> 192# <i>mount -u -o rw /mnt/ufs.1</i>
188</pre> 193</pre>
189 194
190
191<p> 195<p>
192Now that you have mounted the target partition, it is time to fetch and unpack 196Now that you have mounted the target partition, it is time to fetch and unpack
193a stage3 tarball. 197a stage3 tarball.
194</p> 198</p>
195 199
196<pre caption="Obtaining and unpacking a stage3 tarball"> 200<pre caption="Obtaining and unpacking a stage3 tarball">
197# <i>cd /mnt/gentoo/</i> 201# <i>cd /mnt/gentoo/</i>
198<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> 202<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment>
199# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.0-stage-20060221.tar.bz2</i> 203# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stages/gentoo-freebsd-6.0-stage-20060221.tar.bz2</i>
200# <i>tar -jxvpf gentoo-freebsd-6.0-stage-20060221</i> 204# <i>tar -jxvpf gentoo-freebsd-6.0-stage-20060221</i>
201<comment>(You can delete the tarball with the following command if you want to.)</comment> 205<comment>(You can delete the tarball with the following command if you want to.)</comment>
202# <i>rm gentoo-freebsd-6.0-stage-20060221</i> 206# <i>rm gentoo-freebsd-6.0-stage-20060221</i>
203</pre> 207</pre>
204 208
205<p> 209<p>
232</p> 236</p>
233 237
234<pre caption="Mounting the /dev filesystem and chrooting"> 238<pre caption="Mounting the /dev filesystem and chrooting">
235# <i>mount -t devfs none /mnt/gentoo/dev/</i> 239# <i>mount -t devfs none /mnt/gentoo/dev/</i>
236# <i>cp /etc/resolv.conf /mnt/gentoo/etc</i> 240# <i>cp /etc/resolv.conf /mnt/gentoo/etc</i>
237# <i>chroot /mnt/gentoo/ /bin/bash</i> 241# <i>chroot /mnt/gentoo/ /bin/bash</i>
238# <i>source /etc/profile</i> 242# <i>source /etc/profile</i>
239</pre> 243</pre>
240 244
241<p> 245<p>
242After you got hold of the Gentoo/FreeBSD overlay, it's time to link 246After you got hold of the Gentoo/FreeBSD overlay, it's time to link
243<path>/etc/make.profile</path> to the correct profile and add get your 247<path>/etc/make.profile</path> to the correct profile and add get your
244<path>/etc/make.conf</path> ready for Gentoo/FreeBSD. 248<path>/etc/make.conf</path> ready for Gentoo/FreeBSD.
245</p> 249</p>
246 250
247<pre caption="Setting up the profile and editing /etc/make.conf">
248# <i>ln -sf /usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/6.0/x86/ /etc/make.profile</i>
249<comment>(FreeBSD's standard editor is ee, which is used to edit /etc/make.conf)</comment>
250# <i>ee /etc/make.conf</i>
251<comment>(Please make sure you add at least the following entries:)</comment>
252CHOST="i686-gentoo-freebsd6.0"
253ACCEPT_KEYWORDS="~x86-fbsd ~x86"
254FEATURES="-sandbox collision-protect"
255PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay"
256</pre>
257
258<note>
259If you're installing using an old 5.4 stage, please replace "5.4" by "6.0" when symlinking the profile and
260setting the CHOST variable.
261</note>
262
263<p>
264In order to boot correctly, you will need to create the <path>/proc</path>
265directory.
266</p>
267
268<pre caption="Creating the /proc directory">
269# <i>mkdir /proc</i>
270</pre>
271
272<p> 251<p>
273Now, you have to obtain a copy of the main Gentoo Portage tree, which depending 252Now, you have to obtain a copy of the main Gentoo Portage tree, which depending
274on your connection might take quite a while. 253on your connection might take quite a while.
275</p> 254</p>
276 255
277<pre caption="Obtaining the Portage tree"> 256<pre caption="Obtaining the Portage tree">
278# <i>emerge --sync</i> 257# <i>emerge --sync</i>
279<comment>(It's also possible to retrieve the Portage tree in another way:)</comment> 258<comment>(It's also possible to retrieve the Portage tree in another way:)</comment>
280# <i>cd /</i> 259# <i>cd /</i>
281# <i>wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2</i> 260# <i>wget http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2</i>
282# <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i> 261# <i>tar -xjf portage-latest.tar.bz2 -C /usr/</i>
283# <i>emerge --metadata</i> 262# <i>emerge --metadata</i>
284</pre> 263</pre>
285 264
265<pre caption="Setting up the profile and editing /etc/make.conf">
266# <i>ln -sf /usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/6.0/x86/ /etc/make.profile</i>
267<comment>(FreeBSD's standard editor is ee, which is used to edit /etc/make.conf)</comment>
268# <i>ee /etc/make.conf</i>
269<comment>(Please make sure you add at least the following entries:)</comment>
270CHOST="i686-gentoo-freebsd6.0"
271ACCEPT_KEYWORDS="~x86-fbsd"
272FEATURES="-sandbox collision-protect"
273PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay"
274</pre>
275
276<note>
277You can have a very limited system by using ~x86-fbsd keyword alone; you might
278want to put ~x86 in your ACCEPT_KEYWORDS if you want access to more packages
279but you might find broken dependencies and non-working packages; please rather
280use package.keywords when testing packages and report working ones on <uri
281link="http://bugs.gentoo.org">Bugzilla</uri> for the product Gentoo/Alt.
282</note>
283
284<p>
285In order to boot correctly, you will need to create the <path>/proc</path>
286directory.
287</p>
288
289<pre caption="Creating the /proc directory">
290# <i>mkdir /proc</i>
291</pre>
292
286<p> 293<p>
287If you want, you can now rebuild the system's core packages. 294If you want, you can now rebuild the system's core packages.
288</p> 295</p>
289 296
290<pre caption="Rebuilding the FreeBSD core packages (Optional)"> 297<pre caption="Rebuilding the FreeBSD core packages (Optional)">
291# <i>emerge -e system</i> 298# <i>emerge -e system</i>
292</pre> 299</pre>
293 300
294<p> 301<p>
295When you did <c>emerge -e system</c>, the sources for the FreeBSD kernel got 302When you did <c>emerge -e system</c>, the sources for the FreeBSD kernel got
296installed to <path>/usr/src/sys</path>. If you skipped this step, you can get 303installed to <path>/usr/src/sys</path>. If you skipped this step, you can get
297them in the following way: 304them in the following way:
298</p> 305</p>
299 306
300<pre caption="Geting the FreeBSD kernel sources"> 307<pre caption="Geting the FreeBSD kernel sources">
304<p> 311<p>
305Configuring and compiling a custom kernel is really different from compiling 312Configuring and compiling a custom kernel is really different from compiling
306Linux, so if you are not familiar with the process we encourage you to have a 313Linux, so if you are not familiar with the process we encourage you to have a
307look at <uri 314look at <uri
308link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html"> 315link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html">
309chapter 8</uri> of the FreeBSD handbook. 316chapter 8</uri> of the FreeBSD handbook.
310</p> 317</p>
311 318
312<p> 319<p>
313Please note that currently only the "Traditional" way of building the kernel is 320Please note that currently only the "Traditional" way of building the kernel is
314supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably 321supported on Gentoo/FreeBSD! Also note that <c>make install</c> will probably
315ask you for a <path>/boot/device.hints</path> file. A default version can be 322ask you for a <path>/boot/device.hints</path> file. A default version can be
316found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration 323found in the <path>conf</path> subdirectory of the <c>GENERIC</c> configuration
317and is called <path>GENERIC.hints</path>. 324and is called <path>GENERIC.hints</path>.
318</p> 325</p>
319
320<note>
321When building a kernel, you should use the command "make WERROR=NO_WERROR"
322because the Gentoo/FreeBSD developers have not yet been able to patch out all
323occurrences of -Werror and the currently used GCC doesn't accept FreeBSD's
324extensions to the printf() function.
325</note>
326 326
327<p> 327<p>
328Now is the time to do some basic system configuration and settings. First, we 328Now is the time to do some basic system configuration and settings. First, we
329are going to setup the filesystem mounting points in <path>/etc/fstab</path>. 329are going to setup the filesystem mounting points in <path>/etc/fstab</path>.
330</p> 330</p>
331 331
332<pre caption="Editing the filesystem in /etc/fstab"> 332<pre caption="Editing the filesystem in /etc/fstab">
333# <i>ee /etc/fstab</i> 333# <i>ee /etc/fstab</i>
334<comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment> 334<comment>(This is an example, replace X and Y with the correct numbers for your hard disk.)</comment>
335#Device Mountpoint Fstype Options Dump Pass 335#Device Mountpoint Fstype Options Dump Pass
336/dev/adXsYb none swap sw 0 0 336/dev/adXsYb none swap sw 0 0
337/dev/adXsYa / ufs rw 1 1 337/dev/adXsYa / ufs rw 1 1
338/dev/adXsYe /usr/home ufs rw 2 2 338/dev/adXsYe /usr/home ufs rw 2 2
339/dev/adXsYd /tmp ufs rw 2 2 339/dev/adXsYd /tmp ufs rw 2 2
340/dev/acdX /cdrom cd9660 ro,noauto 0 0 340/dev/acdX /cdrom cd9660 ro,noauto 0 0
341</pre> 341</pre>
342 342
343<p> 343<p>
344Now would also be a good time to set up your network connection before the final 344Now would also be a good time to set up your network connection before the final
345reboot. 345reboot.
346</p> 346</p>
347 347
348<pre caption="Setting up your network"> 348<p>
349# <i>ee /etc/conf.d/net</i> 349You can find all the information necessary to configure your network in the
350<comment>(This is just an example which you have to adjust for your network.)</comment> 350<uri link="/doc/en/handbook/handbook-x86.xml?part=4&amp;chap=1">Gentoo
351ifconfig_rl0=("192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255") 351Handbook</uri>.
352routes_rl0=("-net 0.0.0.0 -host 192.168.0.1")
353</pre>
354
355<p> 352</p>
353
354<p>
356To have your network interface activated at boot time, you have to add it to the default runlevel. 355To have your network interface activated at boot time, you have to add it to
356the default runlevel.
357</p> 357</p>
358 358
359<pre caption="Adding your network adapter to the default runlevel"> 359<pre caption="Adding your network adapter to the default runlevel">
360# <i>rc-update add net.rl0 default</i> 360# <i>rc-update add net.rl0 default</i>
361</pre> 361</pre>
362 362
363<p> 363<p>
364Your system's hostname can be changed in <path>/etc/hostname</path>. 364Your system's hostname can be changed in <path>/etc/conf.dhostname</path>.
365</p> 365</p>
366 366
367<pre caption="Setting up the machine's hostname"> 367<pre caption="Setting up the machine's hostname">
368# <i>echo "YOUR_HOSTNAME_HERE" > /etc/hostname</i> 368# <i>ee /etc/conf.d/hostname</i>
369<comment>(Set the HOSTNAME variable to your hostname)</comment>
370HOSTNAME="tux"
371</pre>
372
373<p>
374You should also configure your domain name, which is done in the
375<path>/etc/conf.d/domainname</path> file:
376</p>
377
378<pre caption="Setting the domainname">
379# <i>ee /etc/conf.d/domainname</i>
380<comment>(Set the DNSDOMAIN variable to your domain name)</comment>
381DNSDOMAIN="homenetwork"
382</pre>
383
384<p>
385If you have a NIS domain, you need to define it in the
386<path>/etc/conf.d/domainname</path> file:
387</p>
388
389<pre caption="Setting the NIS domainname">
390# <i>ee /etc/conf.d/domainname</i>
391<comment>(Set the NISDOMAIN variable to your NIS domain name)</comment>
392NISDOMAIN="my-nisdomain"
369</pre> 393</pre>
370 394
371<p> 395<p>
372In case you need to use another keyboard layout for your language, you have to 396In case you need to use another keyboard layout for your language, you have to
373set the correct value in <path>/etc/conf.d/syscons</path>. The following example 397set the correct value in <path>/etc/conf.d/syscons</path>. The following example
374uses the Spanish layout, so you'll have to adjust it to your need if you want to 398uses the Spanish layout, so you'll have to adjust it to your need if you want to
375use another one. 399use another one.
376</p> 400</p>
377 401
378<pre caption="Changing your keyboard layout (Optional)"> 402<pre caption="Changing your keyboard layout (Optional)">
379# <i>ee /etc/conf.d/syscons</i> 403# <i>ee /etc/conf.d/syscons</i>
380KEYMAP="spanish.iso.acc" 404KEYMAP="spanish.iso.acc"
381<comment>(Possible layouts can be found in /usr/share/syscons/keymaps).</comment> 405<comment>(Possible layouts can be found in /usr/share/syscons/keymaps).</comment>
382</pre> 406</pre>
383 407
389please don't forget to use your other operating systems to <c>boot0</c>'s 413please don't forget to use your other operating systems to <c>boot0</c>'s
390configuration. 414configuration.
391</impo> 415</impo>
392 416
393<pre caption="Installing and setting up boot0"> 417<pre caption="Installing and setting up boot0">
394# <i>emerge boot0</i> 418# <i>emerge boot0</i>
395<comment>(Leave the chroot environment)</comment> 419<comment>(Leave the chroot environment)</comment>
396# <i>exit</i> 420# <i>exit</i>
397<comment>(Issued from outside the chroot)</comment> 421<comment>(Issued from outside the chroot)</comment>
398# <i>fdisk -B -b /mnt/gentoo/boot/boot0 /dev/adX</i> 422# <i>fdisk -B -b /mnt/gentoo/boot/boot0 /dev/adX</i>
399# <i>chroot /mnt/gentoo /bin/bash</i> 423# <i>chroot /mnt/gentoo /bin/bash</i>
400# <i>disklabel -B adXsY</i> 424# <i>disklabel -B adXsY</i>
401</pre> 425</pre>
402 426
403<p> 427<p>
404If you need additonal information on setting up <c>boot0</c>, please consult 428If you need additional information on setting up <c>boot0</c>, please consult
405<uri 429<uri
406link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html">chapter 430link="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot.html">chapter
40712</uri> of the FreeBSD handbook. 43112</uri> of the FreeBSD handbook.
408</p> 432</p>
409 433
410<p> 434<p>
411Now would be a good time to set a password for the <c>root</c> user and to add 435Now would be a good time to set a password for the <c>root</c> user and to add
412another user account for your day-to-day work. 436another user account for your day-to-day work.
413</p> 437</p>
414 438
415<pre caption="Changing the root password and adding a new user"> 439<pre caption="Changing the root password and adding a new user">
416# <i>passwd</i> 440# <i>passwd</i>
417<comment>(If you need help in adding a user please consult the FreeBSD handbook).</comment> 441<comment>(If you need help in adding a user please consult the FreeBSD handbook).</comment>
418# <i>adduser</i> 442# <i>adduser</i>
419</pre> 443</pre>

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20