Unable to run `sudo update-initramfs`

bingsoo

Cadet
Joined
Jan 8, 2023
Messages
7
Hi. I'm trying to enable Intel Low-Power H.264 hardware encoder on Jellyfin. According to Jellyfin's documentation, some setting up is required and instructions were provided in Brainiarc7's gist.

I am however unable to run neither of the commands:

Code:
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.15.79+truenas
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
grep: /etc/initramfs-tools/modules: No such file or directory
cryptsetup: ERROR: Couldn't resolve device boot-pool/ROOT/22.12.0
cryptsetup: WARNING: Couldn't determine root device
$ update-grub
-bash: update-grub: command not found


I was also not able to find the file I'm supposed to modify:
Code:
/etc/modprobe.d/i915.conf


Hoping that I can find some help here!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You're using an appliance OS here, not generic Ubuntu or Fedora as is specified in your linked instructions.

That command isn't something that you're expected to run on TrueNAS as it messes with the appliance OS.

You're running jellyfin in a container in any case (or you should be), so you need to handle it differently to how you would handle it running directly in Linux.

You need to look up some of the discussion threads and maybe the TrueCharts Discord to work out how to get your i915 GPU going in that container.
 

bingsoo

Cadet
Joined
Jan 8, 2023
Messages
7
You're using an appliance OS here, not generic Ubuntu or Fedora as is specified in your linked instructions.

That command isn't something that you're expected to run on TrueNAS as it messes with the appliance OS.
I see...
You're running jellyfin in a container in any case (or you should be), so you need to handle it differently to how you would handle it running directly in Linux.
Yup, I'm running Jellyfin in a docker container.
You need to look up some of the discussion threads and maybe the TrueCharts Discord to work out how to get your i915 GPU going in that container.
This is helpful. Thanks for responding!
 
Top