I had Ubuntu 17
and Windows 10
dual booted in my Lenovo Z51-70
laptop. Due to some issues in Windows 10, I needed to reinstall it. So, I created a bootable Windows 10 USB stick from Ubuntu by installing WinUSB
as mentioned here [1].
sudo add-apt-repository ppa:colingille/freshlight
sudo apt-get update
sudo apt-get install winusb
They warned that
installing WinUSB on EFI loaded Ubuntu will uninstall the grub-efi packages in order to install the grub-pc packages. It will make your system unbootable if you don't manually reinstall grub-efi package before rebooting.
I didn't notice it and forgot to run the below commands before rebooting the system
sudo update-grub
sudo grub-install /dev/sda
sudo update-grub
sudo reboot
Hence my bootloader got corrupted, I tried everything but I am unable to reinstall windows and ubuntu. I tried following things which didn't work
- tried installing windows by booting from USB stick and DVD
- tried disabling secure boot in Bios
- tried refreshing system
Below [2] are the series of errors that I am getting when the system starts. I am stuck with this error from past 4-5 days, Any help would be appreciated
[1] How can I create a Windows bootable USB stick using Ubuntu?
USB
orDVD
– Atinesh May 07 '18 at 14:24