[an error occurred while processing this directive] FreeBSD Handbook : Installing FreeBSD
Previous: About the current release
Next: Supported Configurations

2. Installing FreeBSD

So, you would like to try out FreeBSD on your system? This section is a quick-start guide for what you need to do. FreeBSD can be installed from a variety of media including CD-ROM, floppy disk, magnetic tape, an MS-DOS partition, and if you have a network connection, via anonymous ftp or NFS.

Regardless of the installation media you choose, you can get started by downloading the installation disk as described below. Booting your computer with disk will provide important information about compatibility between FreeBSD and your hardware which could dictate which installation options are possible. It can also provide early clues to compatibility problems that could prevent FreeBSD running on your system at all. If you plan on installing via anonymous FTP, then this installation disk is all you need to download.

For more information on obtaining the FreeBSD distribution itself, please see Obtaining FreeBSD in the Appendix.

So, to get the show on the road, follow these steps:

  1. Review the supported configurations section of this installation guide to be sure that your hardware is supported by FreeBSD. It may be helpful to make a list of any special cards you have installed, such as SCSI controllers, ethernet adapters or sound cards. This list should include relevant configuration parameters such as interrupts (IRQ) and IO port addresses.

  2. Download the installation boot disk image file to your hard drive, and be sure to tell your browser to save rather than display. Note: This disk image can be used for both 1.44 megabyte 3.5 inch floppy disks and 1.2 megabyte 5.25 inch floppy disks.

  3. Make the installation boot disk from the image file:

  4. With the installation disk in the A: drive, reboot your computer. You should get a boot prompt something like this:
    >> FreeBSD BOOT ...
    Use hd(1,a)/kernel to boot sd0 when wd0 is also installed.
    Usage: [[hd(1,a)]/kernel][-abcCdhrsv]
    Use ? for file list or press Enter for defaults
    Boot:
    If you do not type anything, FreeBSD will automatically boot with its default configuration after a delay of about five seconds. As FreeBSD boots, it probes your computer to determine what hardware is installed. The results of this probing is displayed on the screen.

  5. When the booting process is finished, The main FreeBSD installation menu will be displayed.

If something goes wrong...

Due to limitations of the PC architecture, it is impossible for probing to be 100 percent reliable. In the event that your hardware is incorrectly identified, or that the probing causes your computer to lock up, first check the supported configurations section of this installation guide to be sure that your hardware is indeed supported by FreeBSD.

If your hardware is supported, reset the computer and when the Boot: prompt comes up, type -c. This puts FreeBSD into a configuration mode where you can supply hints about your hardware. The FreeBSD kernel on the installation disk is configured assuming that most hardware devices are in their factory default configuration in terms of IRQs, IO addresses and DMA channels. If your hardware has been reconfigured, you will most likely need to use the -c option at boot to tell FreeBSD where things are.

It is also possible that a probe for a device not present will cause a later probe for another device that is present to fail. In that case, the probes for the conflicting driver(s) should be disabled.

In the configuration mode, you can:

While at the config> prompt, type help for more information on the available commands. After adjusting the kernel to match how you have your hardware configured, type quit at the config> prompt to continue booting with the new settings.

After FreeBSD has been installed, changes made in the configuration mode will be permanent so you do not have to reconfigure every time you boot. Even so, it is likely that you will want to build a custom kernel to optimize the performance of your system. See Kernel configuration for more information on creating custom kernels.

2.1. Supported Configurations

2.1.1. Disk Controllers
2.1.2. Ethernet cards
2.1.3. Miscellaneous devices

2.2. Preparing for the installation

2.2.1. Before installing from CDROM
2.2.2. Before installing from Floppy
2.2.3. Before installing from a MS-DOS partition
2.2.4. Before installing from QIC/SCSI Tape
2.2.5. Before installing over a network

2.3. Installing FreeBSD

2.3.1. Express installation
2.3.2. Custom installation

2.4. MS-DOS user's Questions and Answers


FreeBSD Handbook : Installing FreeBSD
Previous: About the current release
Next: Supported Configurations [an error occurred while processing this directive]