pieroproietti / penguins-eggs

On the road of Remastersys, Refracta, Systemback and father Knoppix!
https://penguins-eggs.net
407 stars 47 forks source link

NVIDIA drivers missing in live CD #408

Open avizack18 opened 1 month ago

avizack18 commented 1 month ago

Description

When installing the NVIDIA driver (version 550) on the host machine using apt, it is visible in the package list:

dpkg -l | grep -i nvidia-driver

However, after creating an ISO with penguins-eggs and booting into the live CD, the NVIDIA driver is missing from the package list.

Steps to Reproduce

  1. Install NVIDIA driver on the host machine:
    sudo apt install nvidia-driver-550
  2. Verify the driver is installed:
    dpkg -l | grep -i nvidia-driver
  3. Create an ISO using penguins-eggs
  4. Boot into the live CD
  5. Check for NVIDIA drivers:
    dpkg -l | grep -i nvidia-driver

Expected Behavior

The NVIDIA driver should be present in the package list of the live CD, just as it is on the host machine.

Actual Behavior

The NVIDIA driver is missing from the package list when booted into the live CD.

Additional Information

avizack18 commented 1 month ago

I thinks it's something to do with driver signing that get corrupted while creating the live cd?

yonacwy commented 1 month ago

Have you tried adding firmwares to the iso build (penguins-wardrobe/accessories/firmwares) before eggs produce --clone?

pieroproietti commented 1 month ago

I honestly don't know. but on the parent machine there is the nvidia card and it is working?

It could simply be that the specific driver is missing, I only work with virtual machines and can't do a test, in any case if the driver in the original machine is there and it works, then the problem could be in the initrd.

Try to reinstall it or look if we must to add something for initram here.

yonacwy commented 1 month ago

There is also yolk.yaml #- firmware-amd-graphics_20230210-5_all.deb