How to Dual Boot with UbuntuBSD and Windows

If you have considered installing ubuntuBSD to do dual start with another operating system, something you probably want to do with Windows as a second operating system, you should know that some changes need to be made. The team behind ubuntuBSD announced last week that forums are now available on the operating system that will arrive soon, where one of the most common queries is how to configure Grub2 to be able to dual boot or dual boot.

As we can read in a thread of ubuntuBSD forum, the issue is that right now the grub2 does not work with us-prober. The result is that ubuntuBSD Grub2 is not able to detect that there are multiple operating systems installed. The solution, hopefully temporary, is to manually configure Grub2 so that it can detect the second operating system.

Configuring ubuntuBSD Grub2 for dual boot

The steps are not very complicated. To do this we must do the following:

  1. We open the file /etc/grub.d/40_custom as an administrator. We have several options for this, but it is best to open a terminal and type:
sudo nano etc/grub.d/40_custom
  1. In the file we add the following lines, but changing the “hd (0,1)” for the location of our other operating system:
menuentry "Windows"{
set root=(hd0,1)
chainloader +1
  1. After editing the previous file, we must also edit the default behavior of GRUB 2. To do this, in the terminal we write the command:
sudo nano /etc/default/grub
  1. Inside, we add the following:
  1. And last but not least, in the terminal we write the following command:
grub-mkconfig -o /boot/grub/grub.cfg

If everything worked as it should, when starting ubuntuBSD we will also see the second operating system we have installed and select it will be the same as in any other version of Ubuntu: mark it with the arrow keys and press Enter. Have you tried this mini-tutorial and managed to get dual boot with ubuntuBSD?


Related Posts

Next Post

Leave a Reply

Your email address will not be published. Required fields are marked *

You might also like

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.