1

I have installed Ubuntu along side Windows 10 but need to remove it and install Fedora.

Am I able to fix the MBR before removing the Ubuntu partition?

I realise this question looks like so many others, but its slightly different and I cannot find an answer elsewhere.

Basically I have goosed my MBR numerous times in the past and this time I wanted to ensure all will run smooth.

The solutions I see are to first fire up Windows remove the partition, insert the Windows recovery media and fix the MBR. As mentioned before I have ended up with a dead laptop and had to wipe and restart.

So am I able to first fix the MBR while Ubuntu is still on, then fire up Windows and at this time delete the partition?

MadMike
  • 4,244
  • 8
  • 28
  • 50

1 Answers1

2

Simply install GRUB to your disk (not to any of the partitions) and that will overwrite the MBR with working GRUB files.

A detailed guide on this can be found here:
How can I repair grub? (How to get Ubuntu back after installing Windows?)

However, this is not necessary as you're going to install Fedora anyway. It will install GRUB during the installation anyway, so that should fix it as well.

If you really want to first remove Ubuntu and GRUB and restore the Windows bootloader though, you have to follow this: How to remove Ubuntu and put Windows back on?

Byte Commander
  • 107,489
  • Thanks for your response. However, it appears to be the reverse of what I require. I don't want to overwrite MBR with Grub. I wanted to remove Ubuntu and leave Windows as the lone OS as before so I can then start the process again and add Fedora along side Windows. – Adam 'Sacki' Sackfield Jun 15 '16 at 09:59
  • 1
    If you add Fedora again, that will also install GRUB again and overwrite the MBR. So I think there's no advantage in installing the Windows bootloader to the MBR first. However, if you really want to first remove Ubuntu and GRUB and restore the Windows bootloader, you have to follow this: http://askubuntu.com/q/133533/367990 – Byte Commander Jun 15 '16 at 10:07
  • Ah I see. Thanks again. I will attempt to do as your answer states. Will give the tick once done. – Adam 'Sacki' Sackfield Jun 15 '16 at 10:08
  • Actually the link you provided is exactly what I want to do. If you want to post your link as a new answer I will accept that and give it the tick. – Adam 'Sacki' Sackfield Jun 15 '16 at 10:10
  • I added it to this answer. – Byte Commander Jun 15 '16 at 10:11