Getting the FreeBSD 10 installer onto a USB stick under Mac OS X
The following commands will only work in Mac OS X. For other operating systems see the FreeBSD Handbook!
At the time of writing this post, FreeBSD 10 is in PRERELEASE mode and according to the Release Schedule is nearly finished. So let’s get the latest snapshot from:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/10.0/
After FreeBSD 10 has been released, just go to http://www.freebsd.org/where.html and download the latest RELEASE version.
I’m using the AMD64 memstick image as my server has a 64-bit CPU:
Now connect your USB stick to your Mac and find the device name with mount
:
Your output might look a bit different. My USB stick is fresh out of the box and is FAT32 (MS-DOS) formated and called CORSAIR.
If you’re not sure which line represents your USB stick:
- Remove the USB stick from your Mac
- Run
mount
- Insert your USB stick
- Run
mount
again and find the volume that was added
The relevant line in my case is:
Note that the USB stick is represented by /dev/disk2
.
It’s very important that you use the correct device shown on YOUR system. If you use the wrong disk, the following dd command WILL DESTROY your data!
Unmount the USB stick:
Now write the FreeBSD installer image to the USB stick. This will take some time.
You can now safely remove the USB stick from your Mac and use it to boot into the FreeBSD installer.
comments powered by Disqus