In continuation of a series of articles on dual-booting Linux and BSD desktop distributions with Windows 7, this article presents a step by step guide on how to dual-boot the latest stable release of PC-BSD, PC-BSD 8.2, on a computer with an existing installation of Windows 7.
This is a 3-stage process. In stage one, unused space is reclaimed from the Windows 7 installation. Stage two involves the installation of PC-BSD on the reclaimed space. And finally, in stage 3, an entry for PC-BSD is added to the Windows boot menu.
When completed successfully, the Windows boot menu will be just like the one shown below, with entries to boot into Windows 7 or PC-BSD 8.2.
If you would like to do this using a fresh installation of Windows 7, you can skip stage 1 by leaving enough unused space to install PC-BSD. You can also skip stage 1 if your computer has a secondary drive that you would like to install PC-BSD on.
One of the compelling reasons for using PC-BSD is ZFS, an advanced file system that has been described as a file system on steroids. If offers many features not available on any Linux file system, and the installer on PC-BSD 8.2 makes it very easy to install PC-BSD on a ZFS file system.
Stage One – To start, log into Windows. Click on the menu and type diskmgmt.msc or partitions in to the menu’s search field. The screen shown below should open. It will show a list of disk partitions on the system. The objective here is to shrink the main partition, the other one is the “System Reserved” partition, freeing up enough space that will be used to install PC-BSD.
So, right-click on the partition and select “Shrink Volume…”
In this example, which was done in a virtual environment with 200 GB of disk space, Windows automatically shrank the partition by half. By how much it is able to shrink the partition on your system will depend on what it considers safe. Click Shrink if you are satisfied with the suggested size.
This is the result of the “surgical” operation. Here, about 100 GB is now available for installing PC-BSD 8.2. Close the screen and reboot the computer. Be sure to insert the PC-BSD 8.2 installation DVD that you made into the optical drive.
Stage Two – On the PC-BSD boot screen, the default is to boot directly into the installer. There is also a Live Mode option. However, from all the test installations that I have attempted, on real hardware and in a virtual environment, the system boots directly into the installer, even if the Live Mode option is selected.
The PC-BSD installer, pc-sysinstall, is a very user-friendly graphical installation program. It is both simple and advanced. The rest of this tutorial continues at the disk partitioning phase of the installation process.
This is the disk partition screen and the partitions as seen by the installer. The first two partitions are the NTFS partitions of Windows 7. The installer does not “know” that exactly, but those are the Windows 7 partitions. The third partition is the unused space, and that is the partition that will be used to create the partitions for PC-BSD 8.2.
The default file system is “UFS + Softupdates” (UFS+S). For this tutorial, the installation will be using ZFS, a file system ported from Oracle Solaris.
Click “Customize Disk Partitions (Advanced),” then on the add button to start creating partitions. This step will have to be repeated for all the partitions that are going to be created. The partition that are going to be created are for:
- ZFS Pool. File system mount points for /, /var, and /usr will be added under the ZFS Pool.
Note: Installation using ZFS could fail if “Partition with GPT for full disk install” is not checked. So, be sure to enable it.
Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.
And by signing up with this referral link, you can help support this website.
If you are reading this, your ad could also be occupying this space. Contact us to make it happen.