DevHeads.net

Notebook won't reboot after nvidia driver install

I think I goofed up....

My displayport doesn't work riht, and Nvidia has a newer driver than
the one in the Xubuntu repository (340.104, vs 340.102).

I downloaded the driver from nvidia's web site and installed it.

Now the notebook won't boot at all - I'm running off a flash drive.

It keeps stopping in busybox. I've tried going back to recover mode
and previous versions that used to work fine, and it's just plain
dead. I really don't want to have to do a fuil reinstlla, but I can
if that's my only option.

I can try to capture the busybox output if necessary, but a) I need
this thing back up asap, and b) I have never had particularly good
luck working with busybox at all, on this and previous notebooks.

Thanks.
MR

Comments

Re: Notebook won't reboot after nvidia driver install

By Xen at 10/07/2017 - 16:17

MR ZenWiz schreef op 07-10-2017 21:05:

Oh man, you are really having a rotten time with this.

I am sorry I cannot say what the driver could have changed.

Typically it would be a dkms module but since I never was victorious in
busybox either I don't know what you could do. Obviously the nvidia
driver has regenerated the initramfs,

so what is necessary is going into a live DVD or USB and mounting your
root filesystem (including boot) and removing the nvidia driver from it,
and then rerunning the update-initramfs tool.

It is possible that it has updated ALL of your kernels.

Therefore the only advice I can give.

1. boot live dvd/usb
2. enter a shell
3. type sudo su

4. mount the root device and any boot device if it is separate

5. enter a chroot using
for f in dev sys proc run; do
mount /$f /mnt/$f
done

If that works.

6. try to run the uninstaller script for your driver.

If that doesn't work.

6b. Go to /etc/initramfs-tools/scripts/hooks and see what it is
including into your initramfs, if there is any files being copied into
it, some nvidia hook script

7. I don't know how the framebuffer driver is selected, but nvidia is
supposed to have a module called nvidia.ko. You may want to delete it or
move it elsewhere.

8. once you have removed the initramfs stuff, run:

9. update-initramfs -u

10. I assume there is no grub problem, but you could rerun update-grub
as well.

Re: Notebook won't reboot after nvidia driver install

By MR ZenWiz at 10/10/2017 - 12:55

On Sat, Oct 7, 2017 at 1:17 PM, Xen < ... at xenhideout dot nl> wrote:
I tried deleting the nvidia.ko files from the appropriate
/lib/modules... directories on the hard drive, but it would never boot
at all.

I gave up and reinstalled the OS. As usual, I also ahd to reinstall
the older, working nvidia driver (340.102) to get video output from
VLC, and I (finally) have a script with which I track my installed
apps so I can reinstall them en masse fairly easily.

It's back up and functional.

I'll have some words for nvidia when I get to that.

Thanks for all the advice. I will know better next time.

MR

Re: Notebook won't reboot after nvidia driver install

By Xen at 10/10/2017 - 13:13

MR ZenWiz schreef op 10-10-2017 18:55:
It was the initramfs, not necessarily the kernel module.

Also if the kernel module gets copied to the initramfs then deleting it
from your /lib/modules doesn't do a thing...

Regards.

Well good for that.

Cheers.

Re: Notebook won't reboot after nvidia driver install

By Liam Proven at 10/07/2017 - 15:20

On 7 October 2017 at 21:05, MR ZenWiz < ... at gmail dot com> wrote:
Try loading the kernel off a bootable drive, pointing it at the root
directory on the hard disk. If that works, try to uninstall the
driver... but TBH I'm not hopeful.