Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I can't work out how to do it. When I try to use my Windows installation disk, it won't even show a setup menu.

I installed Ubuntu via a USB stick, and it is the only OS on my hard drive.

share|improve this question

marked as duplicate by hhlp, Raja, Eric Carvalho, Thomas W., Mik Mar 17 '13 at 13:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

What I really want to do is format my Hard Drive into a format that I can install Windows from my disk. – Chemical Mar 16 '13 at 9:20
I can't get the autorun.inf file on the Windows 7 disk to open, or the setup.exe. I have no idea what I am doing wrong... – Chemical Mar 16 '13 at 9:54

There is nothing to do with ubuntu. In time of installation you can format your disk from windows setup.

If you are using Windows disk,

  • Open up BIOS.

  • Change boot-priority to boot from optical disk first.

If you are using USB installation of Windows

  • Open up BIOS with device plugged in.

  • Change boot-priority to boot from USB.

Your USB may be detected as HDD,only in such case in boot-priority select HDD as first one. Then in HDD order change the order to list the USB before your hard disk. You should be able to boot.

If you are sure, you are booting from correct media, still windows setup doesn't start then the disk is corrupt or not bootable.

share|improve this answer
Whenever I try to set boot priority to my disk drive or some sort of disk, all it is doing is opening Linux normally, and I can't seem to work out how to get the disk to run while I am booted into Linux, as Linux doesn't seem to like .exe or .inf file types. – Chemical Mar 16 '13 at 10:11
you need to put the disk before booting starts – Web-E Mar 16 '13 at 12:25
and remember your windows disk must be bootable. this is a complete windows question and you will get more help at windows forum. See here - – Web-E Mar 16 '13 at 12:26

Use the Ubuntu USB to format the Drive to NTFS and then put the Windows CD or whatever you use

share|improve this answer
I should probably have mentioned that that particualar USB stick now contains other stuff, as I needed it for college work. – Chemical Mar 16 '13 at 9:29
Anyway, I think the solution is to use a tool to format the drive to NTFS to be detected by the windows setup menu – microarm15 Mar 16 '13 at 9:32
I think having ubuntu in hard disk doesn't prevent you from booting windows disk. isn't it? And windows installation disk is capable of formatting the disk in NTFS. – Web-E Mar 16 '13 at 9:35
As far as I know, ext file systems are not detected in windows installation menu – microarm15 Mar 16 '13 at 9:39
It may be trying to open the .exe file on the disk in the wrong program, but I can't work out what to open it with. – Chemical Mar 16 '13 at 9:46

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