Installing nvidia drivers in a liveusb

I have tried to get the nvidia drivers working in a liveusb (tumbleweed) because I wanted to check if everything works with my Lenova Thinkbook G16.

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)

Secure boot is disabled and I managed to install all the *G06 drivers and tools, however they aren’t used.

lsmod | grep nvidia

for instance doesn’t return anything. I also tried the “hard way” of installing. After booting with ‘nomodeset’ and running the script, the liveusb didn’t start KDE anymore, as in it seemed like it tried to start the gui but couldn’t do it.

Am I facing a limitation of the liveusb or some compatability issues with my hardware and opensuse?

Thanks!

@peluch In a nutshell, no as the kernel parts on the live USB are static.

I could be done with creating you own image and using kiwi, but the live USB setups are just designed for generic testing and in the case of the rescue one, repair.

Is this system hybrid, as in an Intel/AMD gpu as well as Nvidia?

In you current round of testing with the Live USB, it’s only the nvidia gpu that your wanting to test?

1 Like

Try booting with

modprobe.blacklist=nouveau

Thanks heaps @malcolmlewis.

Yes, it is a hybrid system with AMD gpu as well as Nvidia and I mainly want to test Nvidia.

I had a look at the Kiwi website. If I’d do this, would you recommend to learn Kiwi by going through the tutorials from start to finish or is there a tutorial covering my case? :slight_smile:

Otherwise I might just try to install it and see if I can get Nvidia to work.

Thanks again

Hey, I tried this as well but no success. Thanks

@peluch have a read of these two threads;

@JoseskVolpe has a similar setup and may offer some further advise

In saying that I see no reason that the nvidia gpu won’t work, just depends on your use case.

1 Like

Thanks mate, I’ll have a look!

You can install OS on USB device. Then you can install Nvidia drivers on OS on that device. No need to fiddle with Live USB - it is not intended for that.
And you can connect storage device with installed OS to laptop via USB or other way (Thunderbolt).

¿Does sudo dmesg | grep nvidia output something?