/usr/local/libexec/disable-rootfs-protection
Flagging root dataset as developer mode
Setting readonly=off on dataset boot-pool/ROOT/24.10.1/opt
Setting readonly=off on dataset boot-pool/ROOT/24.10.1/usr
cannot mount ‘boot-pool/ROOT/24.10.1/usr’: Read-only file system
property may be set but unable to remount filesystem
/usr/bin/apt: setting 0o755 on file.
Traceback (most recent call last):
File “/usr/local/libexec/disable-rootfs-protection”, line 117, in
chmod_files()
File “/usr/local/libexec/disable-rootfs-protection”, line 53, in chmod_files
os.chmod(entry.path, new_mode)
OSError: [Errno 30] Read-only file system: ‘/usr/bin/apt’
Same, though I’m on Fangtooth now, 25.04.0 … was trying to install the old nvidia 470 drivers for my K80 but can’t get past this point, even tried setting readonly=off on the zfs boot-pool dataset for / but that never updated, always says “on”
Turns out I had to reboot after doing install-dev-tools for the /boot path to be writable. Unfortunately now I am stuck at…
Error! Bad return status for module build on kernel: 6.12.15-production+truenas (x86_64)
Consult /var/lib/dkms/nvidia-tesla-470/470.256.02/build/make.log for more information.
dpkg: error processing package nvidia-tesla-470-kernel-dkms (–configure):
installed nvidia-tesla-470-kernel-dkms package post-installation script subprocess returned error exit status 10
I had problems compiling the 470.xx drivers with the new 6.12.x kernel used by Fangtooth, but some Google search helped.
The issue is that the driver is old and needs patch for compiling with the 6.12.x kernel series.
I found the patches here: CachyOS-PKGBUILDS/nvidia/nvidia-470xx-utils at master · CachyOS/CachyOS-PKGBUILDS · GitHub (download the 6.12 patch) and apply it onto the NVIDIA driver code. Unfortunately I don’t have the code anymore to try to give you the exact patch command, but I did get it to compile (without DKMS) and my GeForce GT 730 is now recognized by nvidia-smi.
I grabbed the patch and the driver (.run), extracted it, and applied the patch using patch < ../../kernel-6.12.patch in the NVIDIA-Linux-x86_64-470.256.02/kernel directory, patch tool said couldn’t find the file so I provided it nvidia-drm/nvidia-drm-drv.c which ended successfully I guess (no errors).