I want to install windows 10 64 bit but the my current verson of windows is 32 bit so it is unable to run the setup.exe file so booted into ubuntu 14.10 64 bit and installed qemu to use my current harddisk as virtual harddisk and the iso cdrom. This is the command I use

sudo qemu-system-x86_64 -cpu qemu64 -vga std -cdrom file=~/WindowsTechnicalPreview-x64-EN-US.iso -boot d -drive /dev/sda1

But this gives me error

qemu-system-x86_64: -cdrom file=/home/ubuntu/WindowsTechnicalPreview-x64-EN-US.iso: could not open disk image file=/home/ubuntu/WindowsTechnicalPreview-x64-EN-US.iso: Could not open 'file=/home/ubuntu/WindowsTechnicalPreview-x64-EN-US.iso': No such file or directory

But I have checked the file exists

  • 1
    No, the file file=/home/ubuntu/WindowsTechnicalPreview-x64-EN-US.iso doesn't exist. The file /home/ubuntu/WindowsTechnicalPreview-x64-EN-US.iso on the other hand probably exists.
    – Leiaz
    Dec 21, 2014 at 19:17

1 Answer 1


-cdrom SOMEFILE is a shortcut for -drive index=2,media=cdrom,file=SOMEFILE. Either use the verbose -drive option or the -cdrom shortcut, don't mix them up. You've told Qemu to open a file called file=/home/ubuntu/WindowsTechnicalPreview-x64-EN-US.iso', and this file doesn't exist.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .