Black screen when Ubuntu starts, showing recovering journal, clean, xxx files, xxx blocks, can only be started from recovery mode

problem phenomenon

After installing Ubuntu, the normal startup system is stuck in the boot Logo interface (and the command line displays `recovering journal, clean, xxx files, xxx blocks)

insert image description here

But you can enter the system desktop through the resume option , the specific operation is: press ESC (to enter GRUB) -> Ubuntu
advanced options (advacned options for Ubuntu) -> select a login option with "(recovery mode)" - -> Select resume (Enter or click OK)

insert image description here

Solution

There are many reasons for this problem, such as graphics card incompatibility, insufficient disk space, and system damage, but what I encountered may be only the first one, the graphics card is incompatible, so my solution is for reference only and cannot be solved all cases.

My solution is to modify GRUB_CMDLINE_LINUX_DEFAULTthe parameters, which can be temporarily modified at boot time (valid for a single boot, and restored to default after restarting), or modify the grub configuration file for permanent modification.

One-time effective

ePress on the GRUB interface , modify the configuration parameters of the selected startup item, quiet splashadd it after nomodeset, and then enter Ctrl + X or F10 to enter the startup item (enter the system).

insert image description here

Modify GRUB configuration

The premise of modifying the GRUB configuration is to be able to enter the system desktop or the system command line. You can use the recovery mode mentioned above to resumeenter the system, or enter the system through a single-time effective method.

Modify the GRUB configuration file /etc/default/grubor /boot/grub/grub.cfg, the former is recommended, the latter is complicated and inconvenient to modify.

The modification command is as follows:

sudo gedit /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”Change to GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash nomodeset”, i.e. add nomodeset:

insert image description here

After saving, you need to enter the following command to update the GRUB configuration:

sudo update-grub

Guess you like

Origin blog.csdn.net/weixin_43772810/article/details/125503949