I formatted my laptop's Windows loader partition (ext4) while installing Ubuntu 15.04, and when I tried reinstalling Windows, it can't find any drives.

I already formatted the Linux drive into NTFS with gparted, and I have another NTFS partition in my computer, yet still, my Windows 8 setup cannot find a single parition for me to install it on.

PS: The Linux installation failed with

Executing 'grub-install /dev/sda' failed.
this is a fatal error

and now I can't do anything.

  • Bios or Uefi boot? Mbr or Gpt partition table? Paste a screenshot of Gparted. – kyodake Jul 9 '15 at 15:12
  • @kyodake the laptop isn't with my right now it's my friends, and I'm pretty sure its bios – Newbie Jul 9 '15 at 16:02

If you have no data on the hdd (which seems to be the case) do the following. Please note that any and all existing data on the drive will be destroyed after executing the following list.

  • Boot from a live cd
  • Open console (terminal)
  • type sudo -i (you should become root here)
  • type dd if=/dev/zero of=/dev/sda bs=2M count=100
  • fire up gparted and split the disk into 3 parts
    • 500mb primary partition (service partition for windows)
    • windows partition
    • linux partition
  • do not format the partitions
  • Start your windows install and let it format the partitions itself (the first 2 only)
  • Now install linux
| improve this answer | |
  • There is about 300gb data on it on the other partition – Newbie Jul 9 '15 at 14:59
  • Then probably ask in a windows forum. Probably the windows boot partition is mangled (it should be fairly small initial partition around 500 or less mb). Restoring this to working order should be possible from the windows installer but no idea how exactly. – zeridon Jul 10 '15 at 8:28
  • what type do i parition it into, GPT or what? – Newbie Jul 11 '15 at 10:59
  • Your choice. Linux can handle GPT. – zeridon Jul 14 '15 at 10:46
  • Partitioned with msdos – Newbie Jul 14 '15 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.