Hi,
i’m trying to create Fedora LiveISO with livecd-creator.
During one of the steps, I would like to install NVIDIA Driver.
Using Fedora 22 on VirtualBox, with no NVIDIA graphic card of course.
I’m using this installer : NVIDIA-Linux-x86_64-340.46.run.
Because we have Quadro NVS 300 on our machines, and i would like nvidia driver to be load on my LiveOS in order to check GPU 770 state.
I extract first all files from archive, done some patches :
sed -i ‘s/f_dentry/f_path.dentry/’ kernel/nv.c
sed -i ‘s/f_dentry/f_path.dentry/’ kernel/nv-frontend.c
sed -i ‘/#include <drm/drmP.h>/a #include <drm/drm_gem.h>’ kernel/nv-drm.c
sed -i ‘s/read_cr4/__read_cr4/’ kernel/nv-pat.c
sed -i ‘s/write_cr4/__write_cr4/’ kernel/nv-pat.c
and launch :
./nvidia-installer --no-x-check --no-cc-version-check
But i have this mesage :
ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.
What i need to do ?
Disable nouveau on my VirtualBox Fedora installation, re-generate initramfs ?
How to skip nvidia modprobe at the end of the driver compilation and make it OK ?
Thanks,
Sylvain