How to Create a FreeBSD Bootable USB Drive on Windows, macOS, and Linux
Categories:
4 minute read
How to Create a FreeBSD Bootable USB Drive on Windows, macOS, and Linux
Creating a FreeBSD bootable USB drive is essential for installing or testing the FreeBSD operating system. Whether you’re using Windows, macOS, or Linux, this guide will walk you through the step-by-step process of creating a bootable USB drive for FreeBSD. By the end of this tutorial, you’ll be able to prepare a FreeBSD installation USB and boot it on your system.
Prerequisites
Before proceeding, ensure you have the following:
- A USB drive (at least 4GB recommended)
- FreeBSD ISO image (downloadable from the official FreeBSD website)
- A tool to write the ISO to the USB drive (varies by OS)
Creating a FreeBSD Bootable USB on Windows
Windows users can create a FreeBSD bootable USB drive using Rufus or Win32 Disk Imager.
Method 1: Using Rufus (Recommended)
Download Rufus
Download and install Rufus on your Windows PC.Insert USB Drive
Plug in your USB drive (ensure you back up any data, as it will be erased).Select the FreeBSD ISO
- Open Rufus and select your USB drive under Device.
- Click Select and choose the FreeBSD ISO file.
Set Boot Parameters
- Partition scheme: Choose MBR (for BIOS/UEFI) or GPT (for UEFI-only).
- File system: Select FAT32 (recommended for maximum compatibility).
Create Bootable USB
- Click Start and choose Write in DD Image mode.
- Confirm when prompted.
- Wait for the process to complete.
Eject and Use
- Click Close once finished.
- Safely eject your USB drive.
Method 2: Using Win32 Disk Imager
Download and Install
Install Win32 Disk Imager.Insert USB Drive
Connect the USB to your PC.Write FreeBSD ISO
- Select the downloaded FreeBSD ISO.
- Choose your USB drive.
- Click Write to start the process.
Eject USB
Once the process completes, safely remove the USB.
Creating a FreeBSD Bootable USB on macOS
macOS users can use the Terminal and the dd
command.
Steps to Create a Bootable USB on macOS
Download FreeBSD ISO
Save the FreeBSD image file to your Mac.Insert USB Drive
Plug in the USB drive and check its identifier by running:diskutil list
Look for
/dev/diskX
(whereX
is the number assigned to your USB).Unmount the USB
diskutil unmountDisk /dev/diskX
Write the FreeBSD Image
Run the following command to write the ISO:sudo dd if=/path/to/freebsd.iso of=/dev/diskX bs=1m
Replace
/path/to/freebsd.iso
with the actual path of your FreeBSD ISO.Wait for Completion
- The process may take a few minutes.
- You won’t see progress, but you can check by pressing
Ctrl+T
.
Eject USB Drive
Once done, remove the USB safely:diskutil eject /dev/diskX
Creating a FreeBSD Bootable USB on Linux
Linux users can use the dd
command or Etcher
.
Method 1: Using the dd Command (Recommended)
Download FreeBSD ISO
Ensure you have the FreeBSD ISO file downloaded.Identify USB Drive
Insert the USB and run:lsblk
Find the device name (e.g.,
/dev/sdb
).Unmount USB Drive
sudo umount /dev/sdb*
Write FreeBSD ISO
sudo dd if=/path/to/freebsd.iso of=/dev/sdb bs=4M status=progress
Ensure
/dev/sdb
is correct.Sync and Eject
sync sudo eject /dev/sdb
Method 2: Using Etcher
Download Etcher
Install Balena Etcher.Insert USB Drive
Plug the USB into your computer.Select ISO and USB
Open Etcher, choose your FreeBSD ISO, and select the USB drive.Flash and Validate
Click Flash to start the process.Eject USB
Once completed, remove the USB safely.
Booting from the FreeBSD Bootable USB
Now that you have created a bootable USB, follow these steps to boot into FreeBSD:
Restart Your Computer
Insert the USB and restart the system.Enter BIOS/UEFI
- Press F2, F12, DEL, or ESC (varies by manufacturer) during boot.
Select Boot Device
Navigate to Boot Options and choose your USB drive.Boot into FreeBSD Installer
Once booted, follow the FreeBSD installation instructions.
Conclusion
Creating a FreeBSD bootable USB drive is simple using different tools on Windows, macOS, and Linux. Whether using Rufus, dd, Win32 Disk Imager, or Etcher, you can quickly prepare a bootable drive and install FreeBSD on your system.
Would you like more tips on FreeBSD installation? Let me know in the comments! 🚀
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.