gridhead / nvidia-auto-installer-for-fedora-linux

A CLI tool which lets you install proprietary NVIDIA drivers and much more easily on Fedora Linux (32 or above and Rawhide)
https://ask.fedoraproject.org/t/nvidia-auto-installer-for-fedora-linux-now-works-with-fedora-linux-36/22310/
GNU General Public License v3.0
487 stars 28 forks source link

Warn of problems if your primary disk is LUKS encrypted #266

Open prentrodgers opened 10 months ago

prentrodgers commented 10 months ago

My primary drive is LUKS encrypted. Executed these commands in a toolbox environment, which may have been part of my problem. Failed to boot after executing several commands:

sudo dnf install dnf-plugins-core -y
sudo dnf copr enable t0xic0der/nvidia-auto-installer-for-fedora -y
 sudo dnf install nvautoinstall -y
 sudo nvautoinstall driver 
        This failed saying RPM Fusion repo not detected. must sudo nvautoinstall rpmadd first. Good error message.
 sudo nvautoinstall rpmad
 sudo nvautoinstall driver # do it again as instructed by the script. 
  sudo dnf install dnf-plugins-core -y
              sudo dnf copr enable t0xic0der/nvidia-auto-installer-for-fedora -y
              sudo dnf install nvautoinstall -y
              sudo nvautoinstall driver 
        This failed saying RPM Fusion repo not detected. must sudo nvautoinstall rpmadd first. He missed that.
              sudo nvautoinstall rpmad
              sudo nvautoinstall driver # do it again as instructed by the script. 

Several error messages during this command, perhaps because I was in a toolbox container while running the script.

        Running scriptlet: akmods-0.5.7-10.fc38.noarch 69/96 
                    Failed to preset unit: Access denied
                    Failed to preset unit: Access denied
                    Failed to preset unit: Access denied 
                    sed: can't read /etc/default/grub: No such file or directory
                    Running scriptlet: systemd-udev-253.7-1.fc38.x86_64 86/96 
                    Failed to set unit properties on systemd-timesyncd.service: Access denied
                    Failed to set unit properties on systemd-udevd.service: Access denied
              sudo nvautoinstall nvrepo
              sudo nvautoinstall plcuda

booted into Lenovo boot screen with no way to reboot.