Unable to boot after nvidia-driver update AN515-57 in Ubuntu

Abhishek42
Abhishek42 Member Posts: 2 New User
I have been using linux(Ubuntu 20.04) on this laptop from past 3 months, when I'm not doing anything GPU intensive I usually switch to intel drivers using nvidia-xserver or nvidia-prime. Today I had some work with nvidia GPU so I tried switching to it, I switched to it updated to proprietary tested 470 nvidia-drivers and was restarting system then ran into this issue. I have switched between the intel and nvidia before also but never really ran into this issue...Any help will really be appreciable I have my recent work files on that filesystem.

Answers

  • Leostat
    Leostat ACE Posts: 3,043 Pathfinder
    edited December 2021
    Looks like the nvidia installer messed with the kernel options, try increasing rootdelay to see if its just an initilisation error. On the kernel select screen hit e (i think) head down to the line with linux on and at the end add

    rootdelay=10

    This will give the kernel 10 seconds to detect the disk

    Other thing to check is drive mode, ubuntu is able to update the UEFI, so it may have ran an update, and then flicked the drive back to VMD or RST mode

    The above error is that the disk drive isnt responding fast enough, so i think the files will be fine
  • Easwar
    Easwar Member Posts: 6,727 Guru
    Hi @Abhishek42,

    Can you able to get into BIOS ?
  • Abhishek42
    Abhishek42 Member Posts: 2 New User
    Thank you guys for your valuable feedback.
    What really worked for me is booting Ubuntu in recovery mode from the oldest kernel image then updating all drivers manually from terminal .
    I installed and manually updated the initramfs.
    Turn-out the problem was when I switched to Nvidia, the driver update didn't properly followed the initramfs update through dkms which lead to improper update of partition tables in BIOS that's why it said couldn't find boot img on that drive location although it was installed exactly there. The manual initramfs update fixed the issue for me.
  • Easwar
    Easwar Member Posts: 6,727 Guru
    Hi @Abhishek42,

    Good to know thanks for your information. It will be useful for many people. ​