general/other How to install the fuse kernel module on top of the kernel 3.17.0 of the linuxulator.

Hello.

I'm experimenting a little bit bedrock linux on the linuxulator of FreeBSD 13.1. What's bedrock linux ? This :

https://bedrocklinux.org/1.0beta1/install.html#src-fuse

I want to try to install a linux distro inside of an ubuntu chroot,hoping that bedrock will improve the linux experience offered by the linux emulator. Am I dreaming ? For sure. So,this is what I tried to do :

Code:
/usr/sbin/chroot /compat/focal /bin/bash (here I'm on the host os - FreeBSD 13.1)

root@marietto:/home/zio# ./bedrock-linux-0.7.28-x86_64.sh --hijack

(here I'm inside the linuxulator chroot which run on ubuntu).

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                                                               *
* Continuing will:                                              *
* - Move the existing install to a temporary location           *
* - Install Bedrock Linux on the root of the filesystem         *
* - Add the previous install as a new Bedrock Linux stratum     *
*                                                               *
* YOU ARE ABOUT TO REPLACE YOUR EXISTING LINUX INSTALL WITH A   *
* BEDROCK LINUX INSTALL! THIS IS NOT INTENDED TO BE REVERSIBLE! *
*                                                               *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Please type "Not reversible!" without quotes at the prompt to continue:
> Not reversible!

__          __             __     
\ \_________\ \____________\ \___ 
\  _ \  _\ _  \  _\ __ \ __\   / 
\___/\__/\__/ \_\ \___/\__/\_\_\
Bedrock Linux 0.7.28 Poki

[1/6 ( 16%)] Performing sanity checks
ERROR: /proc/filesystems does not contain "fuse".  FUSE is required for Bedrock Linux to operate.  Install the module fuse kernel module and try again.

This is where I am :

root@marietto:/home/zio# uname -a

Linux marietto 3.17.0 FreeBSD 13.1-RELEASE n250232-e981f9a8e335 GENERIC x86_64 x86_64 x86_64 GNU/Linux

So,the problem now is : how to install the fuse kernel module on top of the kernel 3.17.0. Is that doable ? I've already tried to install libfuse in this way :

sudo apt-get install libfuse-dev

but the error is not gone away.
 
i'm not an expert but i believe you should install it, both side, under chroot, and do it same and enable it under freebsd. It is just an intent ,you didn't forget that not all stuff work under chroot: :systemd , isn't operative so all the services can't be managed,and some applications work ,others not. linux binary compatibility,remember translate in the bsd kernel linux libraries, so to properly work it need to install necessary libraries.
Linux binaries linked dynamically (which is the vast majority) also require Linux shared libraries to be installed - they can run on top of the FreeBSD kernel, but they cannot use FreeBSD libraries; this is similar to how 32-bit binaries cannot use native 64-bit libraries. There are several ways of providing those libraries: one can copy them over from an existing Linux installation using the same architecture, install them from FreeBSD packages, or install using debootstrap(8) (from sysutils/debootstrap), and others.
Good luck?
 
Ok, I just have to ask: What specific problem are you trying to solve here?

If it's just a wish to experiment with lots of different Linux distributions and software, you'd be better off running, you know, Linux... ?‍♂️

That said, FreeBSD has fusefs(5). If this installation script doesn't detect it after kldload fusefs, just comment out that part. But seriously, I don't expect this idea to work anyways, this whole project seems to be a massive "trickery" to create your custom wolpertinger OS.
 
It is an experiment. I would like to install bedrock linux inside the ubuntu chroot of the linuxulator. But to work it requires Fuse,as it explains : "FUSE is required for Bedrock Linux to operate. Install the module fuse kernel module and try again". I presume that if I install FUSE on FreeBSD the bedrock script does not detect it. Module should be loaded within the linuxulator...yeah,my hope is to expand the features of the linuxulator.
 
No. Linuxulator is userspace Linux compatibility, by offering the Linux syscalls. All you can use is FreeBSD's fusefs(5) implementation. And even if that works, the whole idea of the project you want to use obviously involves lots of weird trickery. If you really want that, use Linux...
 
No. Linuxulator is userspace Linux compatibility, by offering the Linux syscalls. All you can use is FreeBSD's fusefs(5) implementation. And even if that works, the whole idea of the project you want to use obviously involves lots of weird trickery. If you really want that, use Linux...

Would you dare to say "use Linux" to the Bedrock's linux developers ? It seems that they are complicating a lot the basic usage of Linux,but it is the cost to pay for creating something new. Your approach is too conservative and boring. I have stopped using Linux also because I have acquired the basics and I didn't have many new motivations anymore, which I have found again with FreeBSD. The advice I can give you is to try to use a little bit more your imagination, at least to devise solutions that integrate different components together. While it is not easy to develop them for a not too experienced user, it is still fun. It is fun to throw the stone. Maybe some developer will pick it up and make it concrete and I will have felt useful.
 
I don't think there's much more to say here. Well, maybe it's funny that so far, my largest (still tiny) commit to src actually improved in-kernel Linux compatibility. As a SW developer and architect, I prefer to look at what's feasible and reasonable instead of wildly trying stuff and "imaginating" things. ?‍♂️

For anyone who never heard of it, here's the wolpertinger. ;)
 
I don't think there's much more to say here. Well, maybe it's funny that so far, my largest (still tiny) commit to src actually improved in-kernel Linux compatibility. As a SW developer and architect, I prefer to look at what's feasible and reasonable instead of wildly trying stuff and "imaginating" things. ?‍♂️

For anyone who never heard of it, here's the wolpertinger. ;)

There is an unfair and silent comparison behind you and me. You are a software architect and you can make changes in operating systems that are invisible and incomprehensible to those users who use the operating system as hobbyists, while those who have little expertise cannot and are forced to imagine coarser and less interesting products,at least to the eyes of the first ones. But certainly they are interesting to the eyes of the users who have a lot of imagination. Luckily Einstein said : "Imagination is more important than knowledge because knowledge is limited to all we know and understand, while imagination embraces the entire world, and all there ever will be to know and understand". So I'm ok anyway even without your level of knowledge :D
 
Back
Top