【Problem Description】:
In the virtual machine, long pressing the shift key cannot enter the grub boot loader of ubuntu
【system version】:
- ubuntu-22.04.2 (other versions are tested and valid)
- VMware Workstation 17 Pro
[Reference blog]:
[Solution]: Modify the grub configuration file directly
1. Enter the terminal and enter the command
sudo gedit /etc/default/grub
2. After opening the grub configuration file, modify two places in the file
1) Change GRUB_TIMEOUT_STYLE=hidden to GRUB_TIMEOUT_STYLE=menu
2) Change GRUB_TIMEOUT=0 to GRUB_TIMEOUT=10
3. After the modification is completed, enter the following command to save the file
sudo update-grub
4. Restart and enter the command
reboot
5. When restarting, long press the shift key to enter the grub boot program
The above is all about solving the problem that Ubuntu cannot enter the grub boot loader by long pressing the shift key.