How to install FreeBSD 9?

FreeBSD 9 comes with a new installer and installing it is quite fast.

Part 1 – Download the media

Step 1 – Download the DVD ISO

  1. Go to http://www.freebsd.org/where.html and click to the ISO link for FreeBSD 9 for you architecture. (x86, amd64, etc…)
  2. Click to download the FreeBSD-9.0-RELEASE-amd64-dvd1.iso.

Step 2 – Burn the ISO to a DVD

I am not going to give you steps for burning an ISO, as you could be on Windows, Linux, OS X, and you could be using any of the DVD burning tools out there.

I’ll give you this hint though…Do not burn the ISO file onto the disk as a file.

Note: Skip this step if you are installing to  a virtual machine.

Part 2 – Install FreeBSD

Step 1 – Boot off the DVD

  1. Put the DVD in your drive. (Or if using a virtual machine, point the virtual machine’s DVD drive to the ISO file.)
  2. Boot your system.
    Note: If you system doesn’t boot off the DVD check the BIOS settings or try pressing F12 to select the boot device

  3. The next screen will automatically boot but delays 9 seconds.
    Press enter to continue without waiting.


    Your now booting to the installer.

Step 2 – Install FreeBSD

  1. Click Install on the first screen.

  2. If you need a special keyboard layout, click yes, otherwise, click no. I clicked no.
  3. Enter the host name for this new installation.
  4. Select the optional system components and press enter.

  5. Partitioning can be done for you with Guided or you can do it yourself with Manual.Note: With todays hard drives, there is little to no benefit from having  multiple partitions as there was in the past. Just use Guided and the root partition will fill the drive.Note: Doesn’t look like we have ZFS options yet.

  6. Look over the guided partition settings.
  7. Click Commit to perform the installation.

    It runs the checksum verification to make sure media is valid.


    It then commits the install.

    It is actually not that long of a wait before you are pretty much done.

    The installation has committed. You will now be asked post-installation configuration questions.

Step 3 – Configure Post-installation settings

  1. Enter a password for the root account when prompted. Enter it again to verify it.
  2. Select your network card.
  3. Unless you know for sure you are going to use IPv6 only, say Yes to enabling IPv4.
  4. Unless you have been given a specific IP address to use, say Yes to enabling DHCP.
  5. Lately I like to enable IPv6 because all my operating systems now support it. But you probably don’t need it unless you know you need it.
  6. If you enabled IPv6, you probably want this option, unless you have a specific IPv6 address you need to use.

    Your dynamic network settings are determined.
  7. Your DNS setting may be detected for you, but if not, you can enter your DNS settings manually. I only entered a single DNS entry for IPv4.
  8. Unless you have a server that needs its clocked synchronized to UTC, select No when prompted.
  9. Select your time Region.
  10. Select your Country.
    Note: United States is number 49.
  11. Select your Time Zone.
  12. You may get a prompt to very whether the Time Zone you selected is correct. Select Yes if it is correct.
  13. Choose what to install.
    Note: If you are on a laptop you consider selecting powerd.
  14. If you want to contribute to FreeBSD and help them resolve bugs (especially yours) select yes. Otherwise, select No.
  15. Select Yes when prompted to Add user accounts.
  16. Enter a user name and follow the prompts.


    Note: Don’t forget to invite the user to the wheel group if they are going su to root.
  17. Enter Yes when all the settings are correct.
  18. Select Yes if you want to add more users and repeat these steps. Once you are done adding users, select No.
  19. Press Enter to Exit.
  20. I don’t have any special settings to make, so I select No here.
  21. Go ahead an press Enter to reboot.

    Important! Do not boot of the DVD again!

    Your system will now boot and create an SSH key on its own and give you a login prompt.


    FreeBSD is now installed.

Part 3 – Configure Your FreeBSD Install as Desired

What do you want to do next?

22 Comments

  1. abdolla says:

    when i choose reboot on part 21(step 3) i Return part 1 (step 2). why?

  2. MarkB says:

    I'm flummoxxed. Running FreeBSD9 in VBox (Win7.64). Get thru initial install correctly but must remove 'dvd iso' or else in an endless install loop. Also able to run the 3 commands for patch/update. Rather than do all the pkg_add -r from the web for X11 and KDE, how do I enable the DVD yet avoid the install routine?
    Thank you for your wonderful articles.
    MarkB

  3. vikas says:

    I am having windows xp installed on system today i have installed freebsd 9.0 thinking it will dual boot but only freebsd is booting with no option to select xp.
    I am beginner to unix.

  4. [...] Instructions for installing FreeBSD 9 are found here: How do I install FreeBSD 9? [...]

  5. [...] Instructions for installing FreeBSD 9 are found here: How do I install FreeBSD 9? [...]

  6. Codalunga says:

    I'm really waiting for your update, I need to configure my FreeBSD 9 desktop :P Thanks for your work, your guides are great ;)

    • Itproman says:

      me too!I haven't installed Freebsd yet,but I would also like to know how to install a GUI after installing FreeBSD(I'm currently running XP/Ubuntu 12.04 on this PC,but am planning to jump ship! LOL)!

  7. Scott says:

    You didn't answer the question sho-nuff had about Apache + SSL, PHP, MySQL and I see no link for the desktop setup either. I notice as well that you referred hadrons123 to an article for FreeBSD 8. Should we assume that the articles you wrote for FreeBSD 8 are the ones we should refer to for all of these issues or are new ones forthcoming and we should wait?

    I'd like to have the information for setting up the desktop properly.

  8. sho-nuff says:

    Where is the Configure Apache + SSL, PHP, MySQL Section or Link

    Thanks

  9. hadrons123 says:

    Your articles are good.I 've been following it for last 2 months.
    Do you mind posting an article on auto mounting disk drives in FreeBSD 9.0 under GNOME or E17?

Leave a Reply

Powered by sweetCaptcha