I’ve used cubic to make a custom live iso, nvidia-driver loads in live boot, but when I install on a system the driver doesn’t load.
dpkg -l | grep -i nvidia
is working, but not
nvidia-smi
are they’re some other commands that can force the nvidia driver to properly load? Cubic is a bit strange in how it works with kernels.
When running cubic
uname -r
Shows
6.2.6-76060206-generic
Which is the kernel to the system building the live iso, but cubic also shows.
linux-image-6.3.8-x64v3-xanmod1
with
dpkg -l | grep linux-image | awk '{print$2}'
neofetch shows in cubic
NVIDIA 01:00.0 NVIDIA Corporation Device 2757
Which should be RTX 4090. After making the ISO I install onto another laptop with rtx 3070.
dpkg -l | grep -i nvidia
and
neofetch
works, but not
nvidia-smi
I use cubic for two purposes.
Easy way to install my personal linux onto any system and second is that I don’t need an internet connection to re-install my operating system onto a system.
My problem is just getting NVIDIA driver to properly load, I’m basically trying to make a live iso like POPOS! nvidia iso.
Any help would be appreciated.
make sure secure boot is disabled
aslo check if the kernel version is ur live ISO is compatible with the NVIDIA driver version
and verify the NVIDIA kernel module
lsmod | grep nvidia
If the module is not listed, it indicates that the NVIDIA driver failed to load. In such cases, you can try reinstalling the NVIDIA driver or manually loading the module using the following command
sudo modprobe nvidia
During the installation process, check for any error messages related to the NVIDIA driver. They can provide valuable information about the cause of the problem. Look for log files in /var/log
or run dmesg
to see if any relevant errors are reported.
thanks, I’ve been doing those checks. Here is a link to the problem I’m getting on rtx 4090 laptop.
out of memory
end result is same kernel panic of both PC’s
Now this might be confusing because a lot is going on.
I got a ISO 100% working for Linux Mint 21.1 with xanmod kernel and rtx 3070 laptop. Doesn’t work with RTX 4090. If I can’t get the iso working on both systems then it’s not reliable enough.
On the RTX 4090 laptop I got 21.2 beta working with kernel 5.19 using a bootloader manager called refined
sudo apt install refind
This iso works on both systems, rtx 3070 doesn’t need refind, but doesn’t have wifi or touchpad working. RTX 4090 doesn’t have touchpad working.
I’m going to push forward with Mint 21.2 because 21.1 has always been problematic.
I’m realizing with NVIDIA laptops that it’s real import to make sure
nvidia-prime
is installed
A little history, I already have Linux Mint 21 Live ISO fully working with rx 6600m and rtx 3070 laptop with all my application fully installed.
Meaning I can recreate my system without internet. I wouldn’t be surprised if an update to Linux Mint 21 ISO with Kernel 5.19 would work better then all current options.
That said I’m learning how to manage the kernels. Linux Mint was trying to reinstalling old kernels when I tried
apt remove --purge
I’m now using
apt-mark hold linux-image-5.19.0-43-generic
For fix, I also go to two DIR
/boot
/lib/modules
and remove any files with old kernels using rm -rf