You are on page 1of 11

Pages Navigation Menu

Home
Archives
About
Privacy
Contact
searchthissite...

Categories Navigation Menu


How To Install
Linux
Error
Python
FOSS Lab
Home Linux Reinstall / Recover GRUB from Ubuntu live CD / USB

Reinstall / Recover GRUB from Ubuntu live


CD / USB
Posted by Manivannan on May 3, 2012 in Linux | 20 comments
Share

Share
17
Share

Email
Updated on May 3, 2012.
This is the common problem which is faced, when you try for dual boot. Recently I have
posted the article on How to Recover / Re-Install Grub in Ubuntu using Boot-Repair from live
cd / usb. Boot Repair is the simple graphical tool used to repair, restore or reinstall the grub
bootloader on Ubuntu. Now this tools has been updated with some new features in advanced
option, using boot- repair you can also restore the MBR on Windows.

Share

On dual boot once you update your Ubuntu OS, your Windows / Fedora will not be listed on
your grub. After installing Windows / Fedora your Ubuntu will not boot anymore and its grub
may be wiped out. To restore it follow the steps below

To Reinstall Grub
You need to have Ubuntu Live CD or Live USB. Normal session can be used to repair the
grub. Boot using your Ubuntu Live CD or Live USB, while booting choose Try Ubuntu.
Once booted then open a terminal, and run the following command one by one to install the
boot repair.
To add boot-repair to the repository
$sudoaddaptrepositoryppa:yannubuntu/bootrepair

To Update your repository


$sudoaptgetupdate

To install boot-repair
$sudoaptgetinstallybootrepair

Once Installation complete run boot-repair on terminal by typing the following command or
select it by System->Aministration->Boot Repair.
$bootrepair

NOTE: Update the Boot Repair if its newer version is available.


It will scan the System for few seconds and will show you the options Recommended repair
and Create a BootInfo summary. By clicking the Recommended Repair it will start repair the
grub. Check the screen shots below.

Once done click ok and restart your system, your grub should work now. If not run the
boot-repair again using live cd / usb. Then follow the steps below.
Select the Advanced options, In Main options tab check whether the following options are
selected or not. If not select it, the options are Reinstall Grub and unhide boot menu for 10
seconds. Check the screen shot below

Then select the GRUB locations tab and check the following options are selected or not. The
options are OS to boot by default and place grub into, In OS to boot by default option
choose the OS which you want to be default on boot. Then select the drive where you need to
reinstall the grub in place grub into option and click apply. Check the screen shots below

Click ok and restart your System. To restore MBR Click Here.


Hope this will be helpful for you!!!
You might also like:

Reinstall/Recover
GRUBfromUbuntu
liveCD/USB

HowtoRecover/
ReInstallGrubin
Ubuntu11.04,
10.10and...

RestoreMBRfrom
UbuntuliveCD/
USB

HowtoCompile
andInstallLinux
Kernel3.0in
Ubuntu...

HowtoInstallLinux
Kernel3.0in
Ubuntu11.04,
10.10and...
LinkWithin

About The Author


Manivannan

20 Comments

1.
Ramkumar / August 18, 2011
Very useful information for Linux users.
Reply

Manivannan / August 25, 2011


Thanks Ram

Reply

2.
saurav / October 19, 2011
can this be utilised for linux mint 10.10
Reply

Manivannan / October 19, 2011


Hi Saurav,
Yes, this will work.
Reply

3.
Roger / October 30, 2011
Very Useful. Thank You!
Reply

Manivannan / November 3, 2011


Hi Roger,
Thanks and Welcome to HowOpenSource
Reply

4.
Yann / December 22, 2011
THANKS for this article !
One advice: dont change the options if you dont know what you are doing. If the
Recommended repair is not enough, better click the Create BootInfo Summary
button and ask help by email.
Reply

Manivannan / December 22, 2011


Hi Yann,
Thanks and Welcome to HowOpenSource!!
Reply

5.
Donnie / December 23, 2011
I am getting an error message urllib2.URLError: when I type in sudo add-apt-repository
ppa:yannubuntu/boot-repair what do I do? I was trying to install LinuxMint 12 on this
computer along with 2 Win 7 and Ubuntu 11.10 when I removed program thinking it
was linux mint. I have some important documents in the Ubuntu which is still on my
screen at load up, but gives an error message and takes me back to Windows. Any help
would be great. Thanks in advance
Reply

Manivannan / December 28, 2011


Hi Donnie,
I tested in Ubuntu 11.10 and its working. Try again and Let me know if any error
occur during Installation.
Reply

6.
Jason / March 4, 2012
Thank you so much for posting this. It was a big help, and the quick-fix saved me from
having to do a reinstallation of Lubuntu 11.10
Reply

7.
Nityanandi / May 4, 2012

Manivannan, youre wonderful. You do beautiful work.


Reply

8.
Mike / May 8, 2012
This is the ONLY solution that actually worked for me!
Thanks a lot!!!
Lenovo IdeaPad Z570
Installing ubuntu 12.04 LTS.
Reply

9.
Nityanandi / May 24, 2012
Mannivanam, you are so clear-minded and generous. Will use this when i upgrade my
second Ubuntu 11.10 to Ubuntu 12.04. I use both so nothing will suddenly cripple
computer, and a Fedora 16 partition too, to keep in touch with profoundly respected
KDE.
Grateful to you.
Reply

10.
Hector / May 29, 2012
Thanks, man! You are awesome! You saved my night! Worked flawlessly!
Reply

11.
saravana / June 6, 2012
Hi Manivannan
Was struggling to restore a corrupted system and tried a lot of out dated procedures to
make the situation only from bad worse!
Your was really useful and it did the trick for me!
Thanks a lot!
I have one additional input which might be useful for others
I had a corrupted windows vista laptop and tried to recover data from it using ubuntu.
afterwards, the grub was corrupted and couldnt even launch ubuntu after following

this procedure, i was able to access ubuntu. I then tried to restore MBR using this bootrepair tool but it replied that the mbr module could not be found and needs to be
installed. I then used a windows 7 boot CD to enter into repair mode, ran the FixMbr
command from DOS-prompt and i was successfully able to restore Vista from the
recovery partition!
May be if you add the procedure about how to install the mbr module in ubuntu, it
might help others who may not have a windows boot CD
Thanks a lot!
Reply

Manivannan / July 4, 2012


Hi Saravana,
Thanks for the info, I will write a procedure for it soon.
Reply

12.
Miguel / June 22, 2012
LOVE U! I HAD DOWNLOAD W7 AGAIN TO FORMAT PC, WAS DESPERATE!!! VERY THANK
U
Reply

13.
tharchaw / June 30, 2012
thank you very we can do . ctrl+alt+t/ sudo add-apt-repository ppa:yannubuntu/bootrepair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
Reply

14.
James / July 15, 2012
How can I run this on a 64-bit machine? It gives me a Please use this software in a 64bit session error.

Reply

Trackbacks/Pingbacks
1. [HowTo] Restore MBR using Boot Repair | How Opensource - [...] install the Boot Repair
Click Here and check To Reinstall Grub section. Once installation complete follow the
steps [...]
2. How to Restore / Recover GRUB in Ubuntu 11.04, 10.10 and 10.04 | How Opensource [...] s1.parentNode.insertBefore(s, s1); })(); EmailUpdate: This post is outdated Click
Here for the updated [...]
3. Reinstall / Recover GRUB from Ubuntu live CD / USB | HowOpenSource - [...] Reinstall /
Recover GRUB from Ubuntu live CD / USB 05.03.2012 | 13 [...]
4. Grub issues - [...] as a dual boot system I've done alittle research to try help my current
issue with no luck ...
5. Ubuntu Programm zum wiederherstellen von Grub2 mittels Live-CD | Linux Survival
Blog - [...] Quelle Verffentlicht unter Ubuntu [...]

Leave a Comment
Your email address will not be published. Required fields are marked *
Name*
Email*
Website
Comment

You may use these HTML tags and attributes: <ahref=""title=""><abbrtitle="">


<acronymtitle=""><b><blockquotecite=""><cite><code><deldatetime=""><em>
<i><qcite=""><strike><strong>

Submit

Recent Posts
Install Broadcom STA / b43 Wireless driver in Ubuntu 12.04 / 11.10 / 11.04
Unable to install Google Chrome dependency error libnss3-1d / libxss1 in Ubuntu 12.04
Get Live Cricket Score Notification on Linux (Ubuntu/Fedora/Debian/Linux Mint)
Install Google Chrome in Ubuntu 12.04 Precise with Debain file
Reinstall / Recover GRUB from Ubuntu live CD / USB

Categories
Error
How To Install
Linux
Python
Uncategorized
Join us on Google+

Stay Connected

Popular Posts
54
Howto Compile and Install Linux Kernel 3.4rc / 3.3 / 3.2 / 3.1 / 3.0 in Ubuntu 11.10,
11.04, 10.10 and 10.04
Posted by Manivannan on 8-7-11
52
Install Torrent in Ubuntu / Fedora
Posted by Manivannan on 8-24-11
45
How to Install / Compile Linux Kernel 3.4rc / 3.3 / 3.2 / 3.1 / 3.0 in Fedora 17 / 16 / 15
/ 14
Posted by Manivannan on 8-6-11
39
utserver: error while loading shared libraries: libssl.so.0.9.8 / libcrypto.so.0.9.8Solved

Posted by Manivannan on 8-28-11


37
How to Install VLC in Fedora 17 / 16 / 15
Posted by Manivannan on 8-4-11
Designed by Elegant WordPress Themes | Powered by WordPress
Home
About
Archives
Contact
Privacy

You might also like