Linux News Today: Here's How to Dual Boot ubuntuBSD with Microsoft Windows

If you’re planning on installing the ubuntuBSD operating system alongside another OS, such as the popular Microsoft Windows, we’re informing you today that there are some easy instructions out there.

As we reported last week, the ubuntuBSD maintainers have announced the general availability of the official ubuntuBSD forums, where users can get together and share their knowledge on various topics related to the upcoming computer operating system that tries to mix the familiarity of Ubuntu/Debian with a FreeBSD kernel.

And it looks like users are already populating the ubuntuBSD forums asking various questions or posting guides on how to achieve different tasks. One that caught our attention instructs users on how to configure the GRUB2 bootloader to dual boot ubuntuBSD with the Microsoft Windows operating system or any other OS for that matter.

“As you may know already, os-prober with grub2 currently not working, as 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,” said the user on the respective forum topic.

How to dual boot ubuntuBSD with Windows

The steps are pretty basic. All you have to do is to open the /etc/grub.d/40_custom file as root or with sudo in a terminal window with the nano text editor (e.g. sudo nano /etc/grub.d/40_custom) and add the following lines to it. Please remember to tune the “hd(0,1)” variable to suite your needs, with the location of the other pre-installed OS.

menuentry "Windows"{
 set root=(hd0,1)
 chainloader +1

Once you’re done with the above configuration, make sure that you also change the default GRUB2 behavior by editing the /etc/default/grub file to look like the code below (e.g. sudo nano /etc/default/grub). After that, please remember to execute the command at the end of the article to regenerate the GRUB2 bootloader config. That’s it!


grub-mkconfig -o /boot/grub/grub.cfg

Via Softpedia

Wagiman Wiryosukiro

Petani Sistem Informasi, tukang las plugin & themes Wordpress. Co-Founder Saat ini aktif sebagai Developer & kontributor di OpenMandriva Linux.

You may also like...

%d bloggers like this: