This question already has an answer here:

I installed Ubuntu using Wubi. It has been working fine for the past 5 months, but I tried to boot it recently and instead of loading Ubuntu I get the Grub terminal. What commands do I need to enter so I can load/boot Ubuntu?


marked as duplicate by Florian Diesch, Uri Herrera, user25656, Seth, Jorge Castro Feb 26 '13 at 1:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Depending of the Grub version you have installed. (depending of Ubuntu Version). Let s suppose that you have GRUB2 installed. you are in the GRUB2 shell. Let s suppose that you see something like : grub:sh> Then GRUB2 menu file may be corrupted.

Write down each of the following commands on a single line after the prompt grub:sh> :

search -f --set=Root /boot/grub/core.img
set root=(${Root})
probe -u (${Root}) --set=UUID
linux /vmlinuz root=UUID=${UUID} ro
initrd /initrd.img

After this, Ubuntu will load. To regenerate the GRUB 2 menu, run the following command in a terminal:

sudo update-grub

Hope this helps. Do not hesitate to provide more details , if needed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.