How to Configure Grub2 to Dual-boot Both Windows and UbuntuBSD
The community behind the Ubuntu flavor that looks to bring together both the FreeBSD Kernel and Ubuntu Linux has been continuously vying for its claim to be an official Ubuntu flavor with the launch of its first forum few weeks ago.
The reason behind the creation of the forum is to have a discussion platform where users are given free reign to share their knowledge and suggest the route they would want the upcoming operating system to take as it attempts to merge the renowned Ubuntu Debian with the FreeBSD kernel.
The forum is up and running and users already have it populated with questions, suggestion, and guides on how to accomplish numerous tasks. A post that got many hits is the one that instructs users on how to install the Ubuntu BSD alongside Microsoft’s Windows operating system by configuring the Grub2 bootloader.
The method can be implemented on not the just Windows but any other operating that users want to use side by side with Ubuntu BSD.
The post reads: “As you may know already, os-prober with grub2 is currently not working, as a result we have no auto detection in dual booting various operating systems with ubuntuBSD’s GRUB2 implementation. So we had to manually specify the grub2 configuration to boot for example.: Windows,”
The steps are pretty basic for those familiar with commands on Linux and other Unix-like systems but would be a bit tricky for those new to it.
What you first need to do is open the /etc/grub.d/40_custom file as root or use the sudo command to open a nano text editor. For example, sudo nano /etc/grub.d/40_custom, after which add the following the lines to it.
Code: Select all
It is important to forget to change the default Grub configuration behaviour in /etc/default/grub, if done correctly, it should look like this:
Code: Select all
The last thing you need to do is to generate a Grub configuration file by executing the following command
grub-mkconfig -o /boot/grub/grub.cfg