Interestingly, the Underground 2 community discovered that replacing the DirectX DLLs can sometimes trick the game into skipping broken disc checks. This also fixes the "purple/green texture" glitch on modern GPUs.
This method tricks the game into thinking the second disc is present by creating a simple marker file in your game directory. nfs underground 2 insert disc 2 error