Solve the problem that the Ubuntu system cannot enter the Grub boot interface

Recently, there have been many problems in the Ubuntu system. It is too troublesome to reinstall, and we can only solve them one by one. One of the problems is that there is no Grub boot interface during the system startup process. If there are multiple systems or kernels, you can choose a different system to enter on the Grub boot interface. After checking a lot of information on the Internet and trying many times, this problem has been solved, and the Grub boot interface can be seen after startup.

1. Enter the command line operation, and open the grub configuration file through vi.

sudo vi /etc/default/grub

2. Realize by modifying the configuration.

Comment out the following line:

# GRUB_TIMEOUT_STYLE=hidden

Modify the following two lines:

GRUB_TIMEOUT=10

GRUB_COMLINE_LINUX_DEFAULT="text"

Among them, GRUB_TIMEOUT=10 means that the boot interface will stay for 10 seconds.

3. Update the Grub configuration.

sudo update-grub

The above method is just a solution, and may not be applicable to all situations. If necessary, you should try all kinds of methods on the Internet.

Guess you like

Origin blog.csdn.net/u013685264/article/details/125279731