Sunday, February 25, 2024

grub console

When I boot Ubuntu, sometimes the gnu grub console runs instead of the GUI version. The reason may be that my keyboard inputs a key through electronic problems. In most cases, by rebooting it after changing or repairing the keyboard, the GUI version runs. But, we can boot it on the console without rebooting it. 

After checking the keyboard, type the following on the console, and then Ubuntu runs.

configfile /boot/grub/grub.cfg

"configfile" is a command of the grub, and "/boot/grub/grub.cfg" is a file path about booting. If the file is not set to the path, we can boot the OS by adapting the path.


No comments: