By installing Windows 7 after Linux Ubuntu, you will be unable to boot on it. Windows will have erased the boot loader called GRUB which contained the list of available operating systems. So we need to reinstall GRUB to get back access to Ubuntu and Windows. Simple handling that takes less than 5 minutes.
Step 1 — Create a live CD/USB from Ubuntu
This first step will allow us to have a live version of Ubuntu. In other words, we will be able to access the latter and proceed with the restoration of GRUB. This system will reside in RAM and has no connection to the inaccessible version of Ubuntu. You're following me?
To carry out this operation, please refer to tutorial Create a live USB from Ubuntu 11.10.
Step 2 — Reinstallation of the GRUB charger with Boot Repair
The second step is to start on your Ubuntu live.
To do this, insert your CD or USB stick and boot it. You may have to change a parameter in the BIOS. Often, just press F8 or F12 when booting and then select the DVD player or USB port.
Now we need to install a magic utility that will allow us to automatically solve the boot problem. Note that the installation is only virtual as nothing is registered on your hard drive.
To do this, open a Terminal then run the following command:
sudo add-apt-repository ppa:yannubuntu/boot-repair & & sudo apt-get update & & sudo apt-get install -y boot-repair
Press the button Entry when asked, then wait a few moments.
Once the operation is complete, enter boot in the Ubuntu search tool then launch Start-up repairer.
It is likely that you will be asked to update what to do by clicking on Yes.
Here we are finally ready to restore your boot. Just click on the button Recommended repair then let the software do.
If you wish, unwind the menu Advanced Options for a fine paramity.
Be careful to understand what you are doing in this particular case! To validate, do not forget to do Apply.
After the recovery operations are complete, restart the computer and then check that Windows is again in the list of available operating systems.
This solution deserves to be better known because it was difficult for me to find a clear and effective method of restoring the GRUB boot loader. This tutorial should make your life easier!
Of course, a solution that is clearly set out and that works without taking the lead, I think that many have long been dreaming of it!
Thank you for this great tuto as always.
Thanks for this tutorial that’s very interesting, it helped my husband who had some trouble with his computer
Thanks for the tutorial, to test because I use rescatux to reinstall grub on my side.
Yes super tuto... but it doesn't work for 64 bit:-((
Yes, it works very well under Seven 64 bits.
I had to fix Windows 7 and therefore overwrite the GRUB fromubuntu to pass seven in test mode. Indeed, there is no way to run the command “bcdedit -set testsigning on” from the dualboot. FreeOTFE (encrypted players) uses unsigned drivers that seven refuses to install, unless seven works in test mode. So I repaired seven with the install dvd which removed the Ubuntu/Seven dualboot. Then I passed seven in test mode. Then I fixed the dualboot with Aurélien’s super tuto. Everything works nickel: dualboot Ubuntu/Seven and Seven is in test mode! Thanks for the tuto.
Excellent! Thanks for this tutorial that helped me well!
cool
thank you very much, finally a good tuto!
Less than 5 minutes... I ask to see But if not, thank you.
thanks for the tutorial, in training I'm forced to use this crappy windows, but at your tip I saved my mint! the ubuntu community is the best to make computer love
Hello this tuto is really up to the height
Thank you very much for your solution, it should really be better known, even on Google, I‘ve been searching for days and I just found this page (and even typing the full title of the tutorial I don’t fall on your site). Maybe you should put tags, I don't know.
otherwise can you contact the support of ubuntu to offer them the publication of this solution? (I can do it with your consent).
Anyway, thank you again, I was stuck. Well done.
It’s very useful! Because after installing windows 10, you can't boot Lubuntu. In application the tutorial I found my starter.
Tip too clean, thank you!
Good morning.
I am on Xubuntu 18.04 in dual-boot with Windows 10.
But Xubuntu no longer starts, I tried with a USB stick, with Boot repair, and an installation CD via the EUFI, and also via Windows for CD and USB stick.
I tried to reinstall Ubuntu by USB stick or CD it doesn't work.
After that, I thought of formatting the Linux partition that is dual-boot with Windows.
But I don‘t know if I can reinstall it again with a USB stick, since it doesn’t restart at that level.
I just found super Grub, here I would like to know your opinion, be I format and try to reinstall or I use suber Grub to repair Grub.
What do you think?
Are there other options for me to restart the Xubuntu partition?
Thank you in advance
chamarg
Good morning
Win 10 is installed on the “C” SSD
Linux MINT Cinnamon is embedded on disk “D”
My DATA personal data, accessible from Windows or LINUX, is stored on the “E” disk.
My problem is this: To switch from Windows to LINUX, I have to restart the machine after changing the boot order.
Do I need to install a GRUB charger, and how to proceed?
My boot contains:
— Windows BootManager (P3: Kingston)
— Ubuntu (P3: WDC)
Thank you for your help