How to dual boot with UbuntuBSD and Windows

UbuntuBSD

If you have considered installing ubuntuBSD to make dual start with another operating system, something that you probably want to do with Windows as the second operating system, you have to know that you have to make some changes. The team behind ubuntuBSD announced last week that the forums on the operating system that will arrive shortly are now available, where one of the most frequently asked questions is how to configure GRUB2 to be able to dual boot or dual boot.

As we can read in a thread from the ubuntuBSD forum, the point is that right now the GRUB2 does not work with os-prober. The result is that ubuntuBSD's GRUB2 is unable 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.

Setting up the ubuntuBSD GRUB2 for dual boot

The steps are not very complicated. For this we will have to do the following:

  1. We open the file /etc/grub.d/40_custom as administrator. For this we have several options, but the best is to open a Terminal and write:
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 also have to 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:
GRUB_DEFAULT = 0
#GRUB_HIDDEN_TIMEOUT = 0
GRUB_HIDDEN_TIMEOUT_QUIET = false
GRUB_TIMEOUT = 10
  1. And, last but not least, in the terminal we write the following command:
grub-mkconfig -o /boot/grub/grub.cfg

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


Be the first to comment

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.