Getting nvidia 0002:00:00.0: probe with driver nvidia failed with error -1 in serial console (N series VM with A10 GPU)

Rohil Tamzid 25 Reputation points
2025-05-29T06:51:37.9466667+00:00

My VM has a GPU but it was not using it when running ML tasks. Ran nvidia-smi and it said drivers were not installed. So I downloaded driver 570-open on mt Ubuntu 24.04 machine but then it is not booting as it gives me:
nvidia 0002:00:00.0: probe with driver nvidia failed with error -1

Safe boot is off.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
{count} votes

Accepted answer
  1. Mounika Reddy Anumandla 6,850 Reputation points Microsoft External Staff Moderator
    2025-05-29T08:54:24.5266667+00:00

    Hi Rohil Tamzid,User's image

    User's image

    User's imageUser's image

    As suggested by Deepanshukatara-6769 the below document gives clear information and details on how to install the GRID Drivers!

    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/n-series-driver-setup

    https://forums.developer.nvidia.com/t/installing-nvidia-drivers-cuda-on-azure-nvadsa10-v5-vm-ubuntu-22-04/321128/3

    Hope it helps!

    Let me know if you have any further queries!

    If the information is helpful, please click "upvote" to let us know!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Deepanshu katara 16,720 Reputation points MVP Moderator
    2025-05-29T07:25:25.4766667+00:00

    Hello Rohil ,

    Use the nvidia-smi command to verify that the NVIDIA drivers are installed correctly. This command should show the GPU details and utilization a the driver installed by default through NVIDIA GPU Driver Extension does not include NVIDIA GRID drivers. You will need to install these separately. You can download and install the driver after installing the GPU Extension. Details on how to install GRID Drivers for Linux are here.

    For more detailed guidance, you can refer to the Azure documentation on installing NVIDIA GPU drivers on N-series VMs running Linux.

    Please check and let us know if any further ques

    Kindly accept answer if it helps

    Thanks
    Deepanshu


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.