Ubuntu boot stuck in /dev/sda3: clean ... files, ... blocks fixed solution

insert image description here

I have this problem because the graphics card driver is not installed properly. I tried various tutorials on the Internet to no avail. For example, ctrl+alt+F1 enters text mode and then deletes the driver. I am stuck there, and typing nothing is useless . So when this problem occurred on my side, I directly reinstalled the system, and then reinstalled the graphics card driver.

How to install NVIDIA graphics driver

I tried several methods on the Internet
https://blog.csdn.net/u014682691/article/details/80605201
For example, methods 1 and 3 here, the results still report the error in the title after installation; finally follow the following Method (similar to method 2 in the above link, but different), solves this problem:

  1. Open the terminal, first delete the old driver *,

    input the commandsudo apt-get purge nvidia*

  2. Disable the built-in nouveau nvidia driver
    Pass the command sudo vim /etc/modprobe.d/blacklist.confand add the following content:
    blacklist nouveau
    options nouveau modeset=0
    and then update itsudo update-initramfs -u

  3. The system needs to be restarted after modification . After restarting, confirm whether Nouveau has been disabled, use the command: lsmod | grep nouveauno output is disabled;

  4. Command line input init 3Enter text mode

  5. Enter the driver directory folder: sudo chmod a+x NVIDIA.runExecute the installation authority,
    install the driver. sudo ./NVIDIA.run -no-opengl-files
    At this time only the driver file is installed, and the opengl file is not installed. If xorg.conf appears during the installation process, do not install it, and select NO.

  6. Finally, test whether the installation is successful.
    Enter the command line. nvidia-smi
    If the following picture appears, the installation is successful, and then restart the system.
    insert image description here

Guess you like

Origin blog.csdn.net/u013837919/article/details/102563297