How to make grub menu appear instead grub minimal bash-like in booting?
Note: If you can't boot Ubuntu at all, use a Live USB to boot Ubuntu, select "Try before installing" and perform steps below.
After booting the hard way, open a terminal with Ctrl+Alt+T and install boot-repair:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
Then type boot-repair
and a menu will appear:
Select the recommended option.
If your system boots normally after recommended repair great. If not post the link to the problems reported.
Caveats
On some systems this annoyance can occur:
- Boot-Repair created too many grub menu entries for Windows
If this happens to you, visit the link for a solution.
Once booted into Ubuntu run the following command:
sudo grub-install /dev/sda
This assumes that /dev/sda
is your disk that matches (hd0,msdos6)
in your grub command, which it likely is. You can run a graphical program like gnome-disks
or gparted
to confirm it's the correct disk.
The command grub-install
will detect any partitions and re-install your bootloader so it can find the bootable partitions.
First step would be, after logging into Ubuntu, in Terminal type:
sudo grub-install /dev/sda
(or /dev/whatever-harddisk
)
wait until installation of grub is finished, then ...
Second step would be, to update grub with:
sudo update-grub2
wait until updating of grub-config-file
is finished.
reboot
Then restart of ubuntu should be no problem and you pass by into Ubuntu gdm screen or lightdm screen for desktop again.