I had a dual-boot system of Ubuntu 14.04 and Linux mint 18. From grub I used to be able to choose Ubuntu, or Linux mint 18 on sda2. Recently, I deleted the Ubuntu partition, which was on sda3, but now whenever I boot my computer, grub2 doesn't know what to do and I just get the grub2 command line. I'm not sure what course of action I need to take to boot into Linux Mint, which has all my files.

If any more information about something is needed, I can probably provide it.


  • 1
    What is the output of ls and set from the grub rescue? – GAD3R Nov 3 '16 at 16:31

You can boot your system from grub2 rescue Then reinstall it :

First run the command set, it will give some information about the tow first command ( boot + root) to run from the grub rescue :

set prefix=(hd0,1)/boot/grub
set root=(hd0,3)
insmod normal

If you cannot boot from the grub rescue , boot from a linux live CD/USB and reinstall grub on your hdd following this tuto

  • Thank you! I was aware of the set command, but not of insmod. I'm able to boot by set prefix=(hd0,2)/boot/grub and then insmod normal and normal – Osmiridium Nov 3 '16 at 17:52
  • Use this tuto howtoubuntu.org/… to restore grub , if you have a separate /boot partition mount it also . – GAD3R Nov 3 '16 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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