Mounting and Dual boot freeBSD with grub2 EFI on Tumbleweed

Hi I just recently installed freebsd on /dev/sda4, I had to fix fstab so my computer would boot normally and I can’t seem to get /dev/sda4 mounted now that it is ufs file system. Anyways I want to duel boot freebsd with my current grub2 installation but I don’t know how to add a menu entry for freebsd because there is no grub2 config file it is just commands. Is it possible and what do I do.

Errigour@DELL-7050:/srv/httpd$ sudo blkid /dev/sda4
/dev/sda4: UUID="694941d137a07959" BLOCK_SIZE="4096" TYPE="ufs" PARTLABEL="BSD-ROOT" PARTUUID="9dd2fa37-df36-11f0-b239-d89ef3084940"

How do i mount and add a menu entry to grub2 for duel boot?

Errigour@DELL-7050:/srv/httpd$ cat /etc/fstab
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /            btrfs  defaults              0  0
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /var         btrfs  subvol=/@/var         0  0
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /usr/local   btrfs  subvol=/@/usr/local   0  0
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /srv         btrfs  subvol=/@/srv         0  0
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /root        btrfs  subvol=/@/root        0  0
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /opt         btrfs  subvol=/@/opt         0  0
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /home        btrfs  subvol=/@/home        0  0
UUID=d2736830-796c-4439-8881-59a241cb1cc2  swap         swap   defaults              0  0
UUID=8c406a1d-2ec2-4292-b7ea-9aaf8a4297d7  /.snapshots  btrfs  subvol=/@/.snapshots  0  0
UUID=55FB-8AD7                             /boot/efi    vfat   utf8,dmask=0077       0  2
Errigour@DELL-7050:/srv/httpd$ zypper se grub
Loading repository data...
Reading installed packages...

S  | Name                       | Summary                                                         | Type
---+----------------------------+-----------------------------------------------------------------+-----------
   | grub2                      | Bootloader with support for Linux, Multiboot and more           | srcpackage
   | grub2                      | Bootloader with support for Linux, Multiboot and more           | package
   | grub2-branding-openSUSE    | openSUSE Tumbleweed branding for GRUB2                          | package
   | grub2-branding-upstream    | Upstream branding for GRUB2's graphical console                 | package
   | grub2-common               | Utilies to manage grub                                          | package
   | grub2-common-debuginfo     | Debug information for package grub2-common                      | package
   | grub2-compat-ia32          | Enable IA32 emulation support in the kernel                     | srcpackage
   | grub2-compat-ia32          | Enable IA32 emulation support in the kernel                     | package
   | grub2-debugsource          | Debug sources for package grub2                                 | package
   | grub2-i386-efi             | Bootloader with support for Linux, Multiboot and more           | package
   | grub2-i386-efi-bls         | Image for Boot Loader Specification (BLS) support on i386-efi   | package
   | grub2-i386-efi-debug       | Debug symbols for i386-efi                                      | package
   | grub2-i386-efi-extras      | Unsupported modules for i386-efi                                | package
   | grub2-i386-pc              | Bootloader with support for Linux, Multiboot and more           | package
   | grub2-i386-pc-debug        | Debug symbols for i386-pc                                       | package
   | grub2-i386-pc-extras       | Unsupported modules for i386-pc                                 | package
   | grub2-i386-xen             | Bootloader with support for Linux, Multiboot and more           | package
   | grub2-i386-xen-debug       | Debug symbols for i386-xen                                      | package
   | grub2-i386-xen-extras      | Unsupported modules for i386-xen                                | package
   | grub2-snapper-plugin       | Grub2's snapper plugin                                          | package
   | grub2-systemd-sleep-plugin | Grub2's systemd-sleep plugin                                    | package
   | grub2-theme-breeze         | Plasma branding for GRUB2's graphical console                   | srcpackage
   | grub2-theme-breeze         | Plasma branding for GRUB2's graphical console                   | package
   | grub2-x86_64-efi           | Bootloader with support for Linux, Multiboot and more           | package
i+ | grub2-x86_64-efi-bls       | Image for Boot Loader Specification (BLS) support on x86_64-efi | package
   | grub2-x86_64-efi-debug     | Debug symbols for x86_64-efi                                    | package
   | grub2-x86_64-efi-extras    | Unsupported modules for x86_64-efi                              | package
   | grub2-x86_64-xen           | Bootloader with support for Linux, Multiboot and more           | package
   | grub2-x86_64-xen-debug     | Debug symbols for x86_64-xen                                    | package
   | grub2-x86_64-xen-extras    | Unsupported modules for x86_64-xen                              | package
   | libostree-grub2            | GRUB2 integration for OSTree                                    | package
   | live-grub-stick            | Tool for creating multiboot live USB stick using grub2          | package
i  | ruby3.4-rubygem-cfa_grub2  | Models for GRUB2 configuration files                            | package
   | rubygem-cfa_grub2          | Models for GRUB2 configuration files                            | srcpackage

I see two different questions:

  1. is a ufs file system usable (can it be mounted) on Tumbleweed?
  2. How to create a dual boot system with the BSD system on the ufs file system?

Do you also want an answer to question #1? Because your title only mentions question #2. And they are not really related.

Yes. How do I mount my ufs partition.

Sorry, I misread. The title has two questions.

I’ll install a different grub if I have to just so i can configure and duel boot. But I am not 100% certain what to do.

I have found this about ufs here on the forums, but it is already some years old. I have no idea if the situation changed.

There is no support for it, the expectation is the user can remove the blacklist and use of their own volition but won’t accept any bug reports etc…

The wiki:

https://en.opensuse.org/SDB:FilesystemBlacklisting

Hey forget about it I mean if you want to say how to do it fine but I am reinstalling TW. I tried to grub2-install and it didn’t work so I will just backup my data and reinstall with a different grub so I can multiboot. This has been a fun experience.

@errigour the default for Tumbleweed is grub-bls, so continue to use and then just select your BIOS boot menu to select booting alternative operating systems, else just swap the openSUSE install to grub-efi…

The way I summarise it:

  1. Mounting a ufs volume in Tumbleweed is done by “unblacklisting” the ufs kernel module, as explained here. Once this is done, you can try and mount manually with the mount command
  2. For dual booting, you need either grub2-efi that is capable of detecting and booting other operating systems (as suggested by malcolmlewis), or using a boot manager like refind that can also detect and manage multiple operating systems

Thank you opsusemaco.