0

I am installing windows7 over ubuntu and i created bootable Windows USB, when i click install windows it says:

"Windows Setup Cannot find a location to store temporary installation files. To install Windows, make sure that a partition on your boot disk has at least 686 megabytes (MB) of free space."

I knew it was because my hard drive is formatted as an ext4 and i must delete the partition and create a new ntfs one. But when i tried to do this, it says i have to unmount /dev/sda1 manually. Then i also tried to unmount it through sudo command in terminal like sudo umount /dev/sda1 and also sudo umount -f dev/sda1 but it didn't work, the response was

device is busy. in some cases useful info about processes that use the device is found by lsof(08) or fuser(1)

So i have to make live USB and use gparted, But everytime i download the ubuntu.iso file with size 982mb, it'll say downloading complete even if it has only downloaded 200mb file. why this happened? the internet connection is stable and i tried it thrice. same thing "downloading complete" but it will never completed to its 982mb size.

What else should i do? Please help me fix this problem, i want to get rid from ubuntu and install windows. Please, Thank You.

muru
  • 207,228
rhein
  • 15

1 Answers1

0

Make sure you dont have any data on hard drive(backup to some other place like external harddrive) before you follow this method:

  • I suggest to make boot-able DVD of windows first(you can buy a cheap DVD of 4.4GB from nearest store). link on how to burn DVD with ISO here
  • You can try downloading Ubuntu ISO using transmission .i.e. torrent link here
  • make bootable pendrive using "UnetbootIN" software from your present Ubuntu. burn the Ubuntu ISO to a pendrive. and boot into it.
  • After booting(now you are in live booted ubuntu not the installed one thats already on your PC), install Gparted and delete the whole harddrive and format it into NTFS. and shutdown the live session
  • now boot in to DVD on which windows in burned. Done. from there you can start installing it.

this time you wont get any error since your harddrive is NTFS.


if you dont have any data on harddrive, you can delete all partitions at the time of installation.
How to delete partition at the time of windows intallation ?
select the partition then you will see drive options(Advanced) click on it and then click delete. do this for all partitions.
after this you will get only one partition, click on it and click new and click next to proceed with the installation

Alex Jones
  • 8,192