<div dir="ltr"><div>Just a word of caution to anyone who dualboots with Windows 10. </div><div><br></div><div>I recently installed the 'creator edition' update (1703) and Windows deleted my Ubuntu partition and grub to the extent that I was not able to recover it. I had to re-install.</div><div><br></div><div>It seems that Windows 10 attempted to convert my OS disk from MBR to GPT and in the process ignored that fact that I had another OS installed. On startup of windows it reverted to the old state, including MBR, but the damage was already done. </div><div><br></div><div>I did the following to recover:</div><div>- Reinstalled Ubuntu- after which I was not able to boot Windows.</div><div>- I then converted the disk to GPT using gdisk utility (booting from live CD)</div><div>- From live CD I had to chroot into my ubuntu to install grub-efi, map the efi partition to /boot/efi, and update grub (which did not find the the windows)</div><div>- I then changed bios to boot using UEFI</div><div>- Now I was able to start ubuntu from grub via uefi(on gpt disk)</div><div>- To recover Windows boot I had to boot from recovery usb, use diskpart to assign a drive letter to the efi partition.</div><div>- Then I had to run bootrec /scanos, bootrec /fixmbr, bootrec /fixboot, bootrec /rebuildbcd</div><div>- I was now able to boot into Windows again but no grub</div><div>- I was able to boot into Ubuntu from the BIOS UEFI selection screen and installed grub</div><div>Then:</div><div>apt-get install --reinstall grub-efi<br></div><div>grub-install /dev/sda</div><div>update-grub<br></div><div>- Now all is well and booting faster than ever (assuming it's gpt and uefi)</div><div><br></div><div><br></div><div>What a desaster, it took be the best part of a day and a half to figure this out. The above is not step by step but just what I can remember off the top of my head.</div><div><br></div><div>My take away from this:</div><div>- Make sure our disk is GPT partition scheme if you dual boot with Win10 before you update to the 1703 version.</div><div><br></div><div>Hope this helps someone.</div><div><br></div><div>Regards</div><div><br></div><div><br></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><font color="#000099" size="4">Charl le Roux</font><br>Mobile: +27834520405<br>Email: <a href="mailto:charl.leroux@gmail.com" target="_blank">charl.leroux@gmail.com</a><br><br><br></div>
</div>