Frequently Asked Questions for FreeBSD 2.X
The FreeBSD FAQ Team, $Id: freebsd-faq.sgml,v 1.55 1996-08-04 03:28:14 jkh Exp $
+ $Id: freebsd-faq.sgml,v 1.56 1996-08-04 14:14:05 jraynard Exp $
This is the FAQ for FreeBSD systems version 2.X All entries are
assumed to be relevant to FreeBSD 2.0.5+, unless otherwise noted.
@@ -16,62 +16,215 @@ Any entries with a <XXX> are under construction.
Preface
- Welcome to the FreeBSD 2.X FAQ ! This document tries to answer
- some of the most frequently asked questions about FreeBSD 2.X (or
- later, unless specifically indicated). If there's something you're
- having trouble with and you just don't see it here, then please
- send mail to:
+ Welcome to the FreeBSD 2.X FAQ !
- or to
- The latest released version is FreeBSD 2.1.0R. FreeBSD-current
- refers to the future FreeBSD 2.2. The 2.1 release has been issued
- from a special branch of the -current sources and is intended as a
- even more stable version of 2.0.5.
-
- There are regular snapshots extracted from 2.2-CURRENT. Check on
- ftp.FreeBSD.ORG in /pub/FreeBSD/*-SNAP*.
-
What is FreeBSD?
- FreeBSD 2.X is a UN*X type operating system based on
+ Briefly, FreeBSD 2.X is a UN*X type operating system based on
U.C. Berkeley's 4.4BSD-lite release for the i386 platform. It is
also based indirectly on William Jolitz's port of U.C. Berkeley's
- Net/2 to the i386, 386BSD. There have been many additions and
- bug fixes made throughout the entire system, some of the
- highlights of which are:
+ Net/2 to the i386, known as 386BSD. However, a very considerable
+ number of bug fixes and enhancements have been made to the original
+ code base, resulting in an extremely powerful and highly sophisticated
+ operating system.
+
+ FreeBSD is used by companies, Internet Service Providers, researchers,
+ computer professionals, students and home users all over the world
+ in their work, education and recreation. See some of them in the
+
+
+ For a more detailed description of FreeBSD, see the Introduction to
+
+
+
+ What are the goals of FreeBSD?
+
+ The goals of the FreeBSD Project are to provide software that may
+ be used for any purpose and without strings attached. Many of us
+ have a significant investment in the code (and project) and would
+ certainly not mind a little financial renumeration now and then,
+ but we're definitely not prepared to insist on it. We believe
+ that our first and foremost "mission" is to provide code to any
+ and all comers, and for whatever purpose, so that the code gets
+ the widest possible use and provides the widest possible benefit.
+ This is, I believe, one of the most fundamental goals of Free
+ Software and one that we enthusiastically support.
+
+ That code in our source tree which falls under the GNU Public License
+ (GPL) or GNU Library Public License (GLPL) comes with slightly more
+ strings attached, though at least on the side of enforced
+ access rather than the usual opposite. Due to the additional
+ complexities that can evolve in the commercial use of GPL software,
+ we do, however, endeavor to replace such software with submissions
+ under the more relaxed BSD copyright whenever possible.
+
+
+ Why is it called FreeBSD?
+
+
+ It may be used free of charge, even by commercial users.
+ Full source for the operating system is freely available, and
+ the minimum possible restrictions have been placed upon its
+ use, distribution and incorporation into other work (commercial
+ or non-commercial).
+ Anyone who has an improvement and/or bug fix is free to submit
+ their code and have it added to the source tree (subject to
+ one or two obvious provisos).
+
+
+ For those of our readers whose first language is not English, it may be
+ worth pointing out that the word ``free'' is being used in two ways here,
+ one meaning ``at no cost'', the other meaning ``you can do whatever you
+ like''. Apart from one or two things you
+ What is the latest version of FreeBSD?
+
+ Version 2.1.5 is the latest version; it was released in mid-July.
+
+
+ What is FreeBSD-current?
+
+ FreeBSD-current is the development version of the operating system,
+ which will in due course become version 2.2. As such, it is really
+ only of interest to developers working on the system. See the section
+ ``Staying current with FreeBSD'' in the
+
+
+
+
+ What are ``snapshots''?
+
+ Every now and again, a ``snapshot'' is taken of the development
+ code, which is prepared as if it were an official release; recently,
+ CDROMs have even been cut from the snapshots. The intention is to:-
- More robust and extensive PC device support
- System V-style IPC, messaging and semaphores
- Shared Libraries
- Much improved virtual memory code
- Better console driver support
- Network booting (diskless) support
- YP support
- Full support of the PCI bus
- Loadable kernel modules
- Serial Console Support
- Merged VM/Buffer Cache
- On demand PPP
- Sync PPP
- Improved SCSI support
+ Test the latest version of the installation routine.
+ Allow people who would like to run -current, but who don't
+ have the time and/or bandwidth to follow it on a day-to-day
+ basis, an easy way to do so.
+
+ Preserve a fixed reference point as to when the code was
+ reasonably reliable.
+
+ Ensure that a new feature in need of testing has the
+ greatest possible number of potential testers.
-
- What do I need to run FreeBSD?
-
- You'll need a 386 or better PC, with 4 MB or more of RAM and at
- least 60 MB of hard disk space. It can run with a low end MDA
- card but to run X11R6, a VGA or better video card is needed.
+ The astute reader will have noticed that the last two items are
+ somewhat mutually incompatible. As snapshots are based on
+ development code, no claim is made that a snapshot is regarded as
+ being of ``production quality'' - for that, you will have to use
+ official releases.
- See the section on
-
- Where can I get FreeBSD
+ What about FreeBSD-stable?
+
+ Back when FreeBSD 2.0.5 was released, we branched FreeBSD
+ development into two parts. One branch was named -stable, with the
+ intention that only well-tested bug fixes and small incremental
+ enhancements would be made to it (for Internet Service Providers
+ and other commercial enterprises for whom sudden shifts or
+ experimental features are quite undesirable). The other branch was
+ -current, which essentially has been one unbroken line since 2.0
+ was released. If a little ASCII art would help, this is how it
+ looks:
+
+ The -current branch is slowly progressing towards 2.2 and beyond,
+ whereas the -stable branch will effectively end with 2.1.5.
+
+
+ Why is the -stable branch ending with 2.1.5?
+
+ While we'd certainly like to be able to continue both branches of
+ development, we've found that the version control tools available to
+ us are not particularly well-suited for this; in fact, they quickly
+ result in a maintenance nightmare for any branch which lives much
+ beyond 2-3 months. The -stable branch has, by contrast, lasted for
+ well over a year and what little sanity the FreeBSD developers have
+ left would be in serious jeopardy if we continued in this way.
+ Perhaps in the future we'll figure out another model which gives
+ everyone what they want, and we are working on such a model, but in
+ the meantime it's probably best to think of -stable coming to an end
+ with 2.1.5-RELEASE.
+
+
+ When are FreeBSD releases made?
+
+ As a general principle, the FreeBSD core team only release a new
+ version of FreeBSD when they believe that there are sufficient new
+ features and/or bug fixes to justify one, and are satisfied that the
+ changes made have settled down sufficiently to avoid compromising the
+ stability of the release. Many users regard this caution as one of
+ the best things about FreeBSD, although it can be a little
+ frustrating when waiting for all the latest goodies to become
+ available...
+
+ Releases are made about every 6 months on average.
+
+
+ Is FreeBSD only available for PCs?
+
+ At present, yes. If your machine has a different architecture, we
+ suggest you look at
+
+
+
+ or
+
+ .
+
+
+ Who is responsible for FreeBSD?
+
+ The key decisions concerning the FreeBSD project, such as the
+ overall direction of the project and who is allowed to add code to
+ the source tree, are made by a ``core team'' consisting of 14
+ people. There is a much larger group, of about 50 people, who can
+ make changes to the source tree.
+
+ However, most non-trivial changes are discussed in advance in the
+ mailing lists, and there are no restrictions on who may take part
+ in the discussion.
+
+
+ Where can I get FreeBSD?
The distribution is available via anonymous ftp from:
@@ -92,12 +245,13 @@ Any entries with a <XXX> are under construction.
In Australia, you may find it at:
- Advanced MM Distributors
- 45 Elstone Ave
- Airport West VIC 3042
+ Advanced Multimedia Distributors
+ Factory 1/1 Ovata Drive
+ Tullamarine, Melbourne
+ Victoria
+ Australia
- Voice: +61 3 374-1410
- Fax: +61 3 338-7411 fax
+ Voice: +61 3 9338 67777
CDROM Support BBS
17 Irvine St
@@ -205,11 +359,9 @@ Any entries with a <XXX> are under construction.
Books on FreeBSD
- There currently aren't any books written specifically for
- FreeBSD, although some people are supposedly working on some.
- The FreeBSD Documentation Project exists, you may contact (or
- better join them) on the doc mailing list:
+ There is a FreeBSD Documentation Project which you may contact (or
+ even better, join) on the doc mailing list:
.
A FreeBSD ``handbook'' is being created, and can be found as:
@@ -286,67 +438,104 @@ Any entries with a <XXX> are under construction.
- The FreeBSD handbook has a pretty complete bibliography, look at:
+ The FreeBSD handbook has a pretty complete
-
- FreeBSD goals
-
-
- Copyrights
-
- The goals of the FreeBSD Project are to provide software that may
- be used for any purpose and without strings attached. Many of us
- have a significant investment in the code (and project) and would
- certainly not mind a little financial renumeration now and then,
- but we're definitely not prepared to insist on it. We believe
- that our first and foremost "mission" is to provide code to any
- and all comers, and for whatever purpose, so that the code gets
- the widest possible use and provides the widest possible benefit.
- This is, I believe, one of the most fundamental goals of Free
- Software and one that we enthusiastically support.
-
- That code in our source tree which falls under the GNU Public License
- (GPL) or GNU Library Public License (GLPL) comes with slightly more
- strings attached, though at least on the side of enforced
- access rather than the usual opposite. Due to the additional
- complexities that can evolve in the commercial use of GPL software,
- we do, however, endeavor to replace such software with submissions
- under the more relaxed BSD copyright whenever possible.
-
Installation
- How do I install FreeBSD?
+ Which file do I download to get FreeBSD?
+ I'll answer that in a minute, but first a few words of explanation
+ might be in order. FreeBSD is not an application that you can
+ run from inside an existing DOS/Windows setup, it is an operating
+ system in its own right (in the same way as Windows NT or OS/2).
-
-
+ To install it involves making a ``primary partition'' for it on
+ the hard disk and arranging for it to be booted at system startup.
+ (FreeBSD gives you the option of installing a boot manager, so you
+ will be able to choose which operating system to use every time the
+ system starts up. Alternatively, you can use the boot managers
+ provided with oher operating systems, such as OS/2 or Linux).
+
+ Obviously, this is not as simple as using an operating system that
+ those nice people you bought your PC from pre-installed for you,
+ but it's not too difficult provided you read (and, if possible, print
+ out) all the instructions before starting. It may be a lot to
+ read, but it's very complete. You should also make full note of the
+ exhortations to back everything up first and the legal disclaimers.
+ These are not there for amusement value - we mean it! However,
+ most people find the installation goes fairly smoothly.
+
+ If you are able to be connected to the Internet for the duration
+ of the FreeBSD installation (lucky you!), the simplest way to
+ install FreeBSD is to download
+ make a boot floppy, boot with it and watch it
+ pull down all the necessary files. Depending on connection speed and
+ how much of FreeBSD you wish to install, this could take several hours
+ (even the minimal installation requires downloading about 15MB of
+ compressed files).
+
+ For people who do not have good Internet connectivity, the best
+ way to install FreeBSD is to buy a CDROM (see for details). Unfortunately, this
+ is problematic for some people, as the support for IDE CDROMs in
+ FreeBSD is still in alpha (not because of some violent antipathy
+ towards IDE CDROMs, but simply due to a lack of people with the
+ necessary combination of skill, inclination and time). If you have
+ an IDE CDROM, you should use the
+ If that doesn't work
+ for you, the alternative is to use one of the methods in the next
+ paragraph.
+
+ Finally, if you already have a copy of the necessary files, FreeBSD
+ can be installed from floppy disks, a DOS hard disk partition or
+ tape or over a network via SLIP, PPP, NFS, PLIP and Ethernet.
+
+
+ Where are the instructions for installing FreeBSD?
+
Installation instructions can be found as:
-
+
Release notes are also available as:
-
+
On the CDROM, the following files are in the top-most directory:
+ HARDWARE.TXT -- Hardware information
INSTALL -- Installation instructions
README.TXT -- Basic README file
RELNOTES -- Release notes
- I have only 4 MB of RAM. Can I install FreeBSD 2.1.0 ?
-
+ What do I need to run FreeBSD?
+ you'll need a 386 or better PC, with 4 MB or more of RAM and at
+ least 60 MB of hard disk space. It can run with a low end MDA
+ card but to run X11R6, a VGA or better video card is needed.
+
+ See the section on
+
+
+ I have only 4 MB of RAM. Can I install FreeBSD?
+
+ The latest version of FreeBSD (2.1.5) will install on a 4MB
+ system, provided you use the
+
FreeBSD 2.1.0 does not install with 4 MB. To be exact: it does
not install with 640 kB base + 3 MB extended memory. If your
motherboard can remap some of the ``lost'' memory out of the
@@ -367,29 +556,6 @@ Any entries with a <XXX> are under construction.
in 4 MB. Someone has even succeeded in booting with 2 MB (the
system was almost unusable though :-))
-
- Help! I have no space! Must I delete everything first?
-
-
- If your machine is already running DOS and has little or no free
- space available for FreeBSD's installation, all is not lost! You
- may find the ``tools/ subdirectory on the FreeBSD CDROM or on the
- various FreeBSD ftp sites, to be quite useful.
-
- Can Windows 95 co-exist with FreeBSD?
@@ -397,6 +563,21 @@ Any entries with a <XXX> are under construction.
Install Windows 95 first, after that FreeBSD. FreeBSD's boot
manager will then manage to boot Win95 and FreeBSD.
+
+ How can I have more than one operating system on my PC?
+
+ Have a look at
+
+
+ Can I install on an IDE disk with bad blocks?
+
+ FreeBSD's bad block (the ``Can I use compressed DOS filesystems from FreeBSD?
@@ -427,25 +608,34 @@ Any entries with a <XXX> are under construction.
mount -t msdos /dev/sd0s5 /dos_d
+
+ Strange things happen when I boot the install floppy!
+
+ If you're seeing things like the machine grinding to a halt or
+ spontaneously rebooting when you try to boot the install floppy,
+ here are three questions to ask yourself:-
+
+ Did you use a new, freshly-formatted, error-free floppy
+ (preferably a brand-new one striaght out of the box), as
+ opposed to the magazine coverdisk that's been lying under
+ the bed for the last three years)?
+ Did you download the floppy image in binary (or image) mode?
+ (don't be embarrassed, even the best of us have made this
+ mistake at least once when FTP'ing things!)
+ If you're using one of these new-fangled operating systems
+ like Windows95 or Windows NT, did you shut it down and restart
+ the system in plain, honest DOS? It seems these OS's can
+ interfere with programs that write directly to hardware, as
+ the disk creation program does; even running it inside a DOS
+ shell in the GUI can cause this problem.
+
+
+ There have also been reports of Netscape causing problems when
+ downloading the boot floppy, so it's probably best to use a different
+ FTP client if you can.
- Can I run DOS binaries under FreeBSD?
-
-
- Not yet, though BSDI has just donated their
- if you're interested in joining this effort!
-
- For now, there is a neat utility called ``
- Help! I can't install from tape!
+ Help! I can't install from tape!
If you are installing 2.1.0R from tape, you must create the tape
using a tar blocksize of 10 (5120 bytes). The default tar
@@ -454,25 +644,6 @@ Any entries with a <XXX> are under construction.
you will get an error that complains about the record size being
too big.
-
- How can I install onto a large SCSI disk?
-
-
- This depends. If you don't have DOS (or another operating
- system) on the system, you can just keep the drive in native mode
- and simply make sure that your root partition is below 1024 cylinders so
- the BIOS can boot the kernel from it. It you also have DOS/some
- other OS on the drive then your best bet is to find out what
- parameters that it thinks you have before installing FreeBSD.
- When FreeBSD's installation procedure prompts you for these
- values, you should then enter them rather than simply going with
- the defaults.
-
- There is a freely available utility distributed with FreeBSD
- called ``tools
- subdirectory on the FreeBSD CDROM or on the various FreeBSD
- ftp sites) which can be used for this purpose.
-
Can I install on my laptop over PLIP (Parallel Line IP)?
@@ -503,12 +674,78 @@ Any entries with a <XXX> are under construction.
- When I boot FreeBSD I get ``Missing Operating System''.
+ Which geometry should I use for a disk drive?
+
+ (By the "geometry" of a disk, we mean the number of cylinders,
+ heads and sectors/track on a disk - I'll refer to this as
+ C/H/S for convenience. This is how the PC's BIOS works out
+ which area on a disk to read/write from).
+
+ This seems to cause a lot of confusion for some reason. First
+ of all, the tools
+ subdirectory on the FreeBSD CDROM or on the various FreeBSD
+ ftp sites) which can be used to work out what geometry the other
+ operating systems on the disk are using. You can then enter this
+ geometry in the partition editor.
+
+
+ Any restrictions on how I divide the disk up?
- See question above. This is classically a case of FreeBSD and
- DOS or some other OS conflicting over their ideas of disk
- geometry. You will have to reinstall FreeBSD, but obeying the
+ Yes. You must make sure that your root partition is below 1024
+ cylinders so the BIOS can boot the kernel from it. (Note that this
+ is a limitation in the PC's BIOS, not FreeBSD).
+
+ For a SCSI drive, this will normally imply that the root partition
+ will be in the first 1024MB (or in the first 4096MB if extended
+ translation is turned on - see previous question). For IDE, the
+ corresponding figure is 504MB.
+
+
+ When I boot FreeBSD I get ``Missing Operating System''.
+
+ This is classically a case of FreeBSD and DOS or some other OS
+ conflicting over their ideas of disk You will have to reinstall FreeBSD, but obeying the
instructions given above will almost always get you going.
@@ -570,14 +807,29 @@ Any entries with a <XXX> are under construction.
need to worry about tuning your filesystem! :-)
- I have an IDE drive with lots of bad blocks on it...
+ I have bad blocks on my hard drive!
- FreeBSD's bad block (the ``
+ scsi -f /dev/rsd0c -m 1 -e -P 3
+
+
+ and changing the values of AWRE and ARRE from 0 to 1:-
+
+ AWRE (Auto Write Reallocation Enbld): 1
+ ARRE (Auto Read Reallocation Enbld): 1
+
+
+ For other drive types, you are dependent on support from the
+ operating system. Unfortunately, the ``bad144'' command that
+ FreeBSD supplies for this purpose needs a considerable amount
+ of work done on it...
IDE drives are
No. FreeBSD 2.X comes with bounce buffers which allows your bus
mastering controller access to greater than 16MB. (Note that this
- is not required if you have a PCI motherboard).
+ should only be required if you are using ISA devices, although
+ one or two broken EISA and VLB devices may need it as well).
I keep seeing messages like ``
@@ -1417,6 +1670,22 @@ pseudo-device vn #Vnode driver (turns a file into a device)
Please refer to the answer to the previous question.
+
+ Can I run DOS binaries under FreeBSD?
+
+
+ Not yet, though BSDI has just donated their
+ if you're interested in joining this effort!
+
+ For now, there is a neat utility called ``My programs occasionally die with ``Signal 11'' errors.
@@ -1623,15 +1892,6 @@ pseudo-device vn #Vnode driver (turns a file into a device)
but the `
- What's FreeBSD-current?
-
-
- Read this:
-
- it will tell you all you need to know.
-
What is this thing called ``
@@ -1717,17 +1977,19 @@ pseudo-device vn #Vnode driver (turns a file into a device)
control over your machine to the eternal damnation of your soul.
Given a choice, I think I'd prefer to get used to the scratchy
noises, myself!
+
How do I create customized installation disks?
-
The entire process of creating installation disks and source and
binary archives is automated by various targets in
/usr/src/release/Makefile. The information there should
- be enough to get you started.
+ be enough to get you started. However, it should be said that this
+ involves doing a ``make world'' and will therefore take up a lot of
+ time and disk space.
- "make world" clobbers my existing installed binaries.
+ ``make world'' clobbers my existing installed binaries.
Yes, this is the general idea; as its name might suggest,
@@ -1896,8 +2158,8 @@ pseudo-device vn #Vnode driver (turns a file into a device)
write to the printer status port for setting addresses, plus that
use that address + Kernel Configuration
@@ -3173,6 +3435,10 @@ domain foo.bar.edu
FreeBSD Doc Team