I have recently dual booted ubuntu 14.04.2 LTS alongside window 7 in my dell laptop from live usb flash drive.

The dual boot was working until I deleted empty partition (not ubuntu or window partition) and merged it with anouther. When I restarted it displayed the following:

error : unknown filesystem.
Entering rescue mode...
grub rescue>
Did I mess with my OS or what? How can I recover to have dual boot again?

  • pls update your partition snapshots,that would help a little bit. Generally deleting a partition disturbs the partition table. – hunch Mar 19 '15 at 4:17
  • can't do that because comp is not booting to any OS.. – surya adhikari Mar 19 '15 at 4:34

You might have accidentally erased the partition which grub (the boot loader) is installed into.

The suggestion is to run Ubuntu with your usb flash drive without installing Ubuntu. And when you are shown the desktop, please run the following commands in the terminal (you should have internet connected).

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

And select Recommended repair, It will take sometime and then when it finishes, restart your machine. Remove the usb flash drive and boot again. This will restore your grub boot loader.


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