Article directory
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)
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)
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_DEFAULT
the 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
e
Press on the GRUB interface , modify the configuration parameters of the selected startup item, quiet splash
add it after nomodeset
, and then enter Ctrl + X or F10 to enter the startup item (enter the system).
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 resume
enter the system, or enter the system through a single-time effective method.
Modify the GRUB configuration file /etc/default/grub
or /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
:
After saving, you need to enter the following command to update the GRUB configuration:
sudo update-grub