Ubuntu – Im stuck at grub menu and cant boot to Ubuntu!

grub2grubrescue

So I used boot repair and got rid of all old kernels and then I restarted My Toshiba satellite and didn’t get the regular menu entries like before where I can just pick an image and boot into Ubuntu. Now it just gives me the

minimal bash-like line editing… Tab lists possible command completions…

with this in the next line.

grub> 

I don’t know what to do here I read online some things to try in order to get back to Ubuntu but nothing has worked. Can you guys help me?

Best Answer

Type the following commands & change disk partition according to your system.

ls
set prefix=(hd0,1)/boot/grub #note: maybe (hd0,2) or (hd0,3)
set root=(loop0)
set
ls /boot
insmod /boot/grub/linux.mod
linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro #note: maybe sda2 or sda3 to match #2 above.
initrd /initrd.img
boot

When you get Ubuntu booted running update-grub should fix the problem. For more details visit http://ubuntuforums.org/showthread.php?t=1599293.

Related Question