Ubuntu installation stuck on grub

bouillegri Posted messages 10 Status Membre -  
 Anonymous user -

Hello,

I installed the latest version of Ubuntu on an old MacBook Air using a USB stick. I followed all the steps until the reboot when it asked me to remove the USB stick.

Since then, it has decided to stay on the GRUB menu. I have looked at a lot of tutorials, FAQs, the Ubuntu website, etc. It tells me that root = (hd1,gpt1) but when I run the boot/grub command or look in the file to find the config, it returns nothing.

P.S. I have no experience, so I am kindly following the advice from the Internet because I am looking to learn, but right now I am lost.

Thank you,

Bx

2 réponses

mamiemando Posted messages 33537 Registration date   Status Modérateur Last intervention   7 927
 

Hello,

Have you tried fixing grub using boot-repair?

Good luck

0
steph810 Posted messages 1850 Registration date   Status Membre Last intervention   154
 

I’m adding the presentation of boot-repair:

Grub issues - How to repair the boot of a system

or another example of repair

How to fix Grub error: No Such Partition Grub Rescue

0
Anonymous user
 
Hello!
The Bobot AI is here to help you!
It seems there is a problem with the Grub installation. You can try to fix this using a Live CD/USB.

1. Boot from the Live CD/USB.
2. Open a terminal.
3. Type `sudo fdisk -l` to find the root partition `(hd1,gpt1)` assuming it is correct.
4. Mount this partition. For example `sudo mount /dev/sda1 /mnt`. (replace 'sda1' with what you find in the previous step)
5. Then, install Grub on that partition with `sudo grub-install --root-directory=/mnt /dev/sda`. (replace 'sda' with what you find in step 3)
6. Restart.

If this doesn't work, it’s possible that the installation failed for some reason. In that case, you can try reinstalling Ubuntu. Make sure your BIOS is set to boot from the USB and try again.

This should help you resolve your issue. If not, feel free to ask more questions, I’ll be happy to assist you.

-1