<> Update it !!!

The safest way is to reload the driver , There are abundant resources linux Debugging experience to the people can refer to my article , Xiaobai must not follow my article !!!

According to my article to do the following attention :!!!

Be sure to take a look at your previous kernel , Don't do everything according to my configuration , Everyone's machine has its own configuration , Otherwise, it is easy to lead to no kernel available, resulting in unable to boot or desktop driver is not available, resulting in repeated password entry into the desktop !!!

<> It's a huge pit

Three important words

* Don't update your Ubuntu kernel
* Don't update your Ubuntu kernel
* Don't update your Ubuntu kernel
Why? ?
Because when you update your kernel , The system you enter uses the latest one by default , But this latest one won't replace the one you installed before nvidia The driver also moved in , So it leads to :
Drive collapse ——> Refit drive ——> Update kernel ——> Drive collapse ——> Refit drive
The cycle of death .
Now, is there any way to save it besides refitting the driver ? Yes !
What we're going to do , It is to modify the system configuration to enable our previous kernel when starting the system

Input at the terminal :
grep menuentry /boot/grub/grub.cfg
You can see all the kernels in your boot entry . Like mine :

If you haven't changed it , So what you start by default is :

This will default to your latest kernel .
Take me for example , My kernel with an effective driver is :

This is the third kernel under advanced options , Using I'm going to go in grub It is set to enable the kernel by default ( of course , You can also select manually when the system starts , specific grub What is it? I won't introduce it because of the limited space )
Now we can modify our grub Configuration item :
sudo nano /etc/default/grub
Take me for example , modify grub The configuration is as follows , The options marked by the yellow line are 0, We need to change it to the third kernel under advanced options , It's changed to "1> 2", be careful ">" and "2" There is a space between them :

Then we use :
sudo update-grub
Updating the configuration completes our default kernel settings . Reset computer , Use the updated default options to save our computer ~~~

<> If you think it's helpful, please leave me a message ~~

Technology
Daily Recommendation