I recently used WoeUSB to (attempt) to create a bootable windows install drive
It installed grub-pc and removed grub-efi so as per another answer on Ask Ubuntu https://askubuntu.com/a/381560/924681, I ran grub-update
and grub-install
. On reboot it failed to boot
Now my bios refuses to boot from it and Windows Setup insists it's 0mb free of 0mb
Testing via BIOS indicates the drive is OK. I tried using diskpart to clean the drive to no avail (windows command prompt from recovery options)
It was GPT (UEFI x64) and previously dual booted Windows 10 and Ubuntu mate 19.04. This is a Lenovo ThinkPad T430s
I do have a 32gb flash drive that I can use though to boot from (that's what windows setup is currently on)
sudo dumpe2fs /dev/sda5 | grep -i backup
then use backup superblock, 32768 just an example, try severalsudo fsck -b 32768 /dev/sda5
– oldfred Jul 17 '19 at 23:11