Tuesday, July 26, 2016

grub2 - problem in dual boot




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?

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.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...