0

I want to use Fuse in initramfs.

I am using the Fedora OS, and the Fedora OS initramfs is Dracut. I have created a sample application with Fuse to mount a folder with application.

I want to use Fuse on Dracut, but the Fuse application does not work in it. I get the error:

libfuse.so.2 not found

How can I install Fuse to Dracut initramfs image?

Bart
  • 19,692
  • 7
  • 68
  • 77
Taleh Ibrahimli
  • 750
  • 4
  • 13
  • 29

2 Answers2

1

Maybe you should just copy your libfuse.so.2 from /lib or wherever you have it to /lib on your initramfs?

tpimh
  • 446
  • 2
  • 9
  • 23
1

The simpliest solution is to compile your application statically.

tpimh
  • 446
  • 2
  • 9
  • 23
  • I compiled application statically, all is ok in normal fedora system. But when i try to run same program in dracut, this error occures. – Taleh Ibrahimli Jul 30 '13 at 13:03
  • Very strange because **libfuse.so** is a shared library and static executables do not use shared libraries. – tpimh Jul 30 '13 at 18:09