LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   qemu: run gust images face error > Exec format error (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/qemu-run-gust-images-face-error-exec-format-error-4175471354/)

Sefid par 07-29-2013 01:49 PM

qemu: run gust images face error > Exec format error
 
I have installed the QEMU with Slackbuild on SW14 on x86_64 system.
My first problem is qemu command doesn't exist. But its man page is available.
I tried 'qemu-x86_64' as someone offered.
But when I use 'qemu-x86_64' on Linux0.2 testing image from QEMU website, I faced with error:
Code:

Error while loading linux-0.2.img: Permission denied
After this problem, I modified the permissions of linux-0.2.img to 777, Then executed the qemu-x86_64 again and faced with another error:
Code:

#qemu-x86_64 linux-0.2.img
Error while loading linux-0.2.img: Exec format error

p.s: I have loaded the kvm_intel module.

jefro 07-29-2013 04:36 PM

qemu-x86_64 linux* I don't get this.


What is the exact command line you use.

Sefid par 07-30-2013 01:55 AM

Quote:

Originally Posted by jefro (Post 4999172)
qemu-x86_64 linux* I don't get this.


What is the exact command line you use.

I meant 'linux-0.2.img'; The code is edited.

jefro 07-30-2013 02:40 PM

Try some other linux and see if it boots. If so that should mostly prove this vm install is OK. Then look at your linux image and see whats wrong. Did you know if this image will work? Is it tested md5 or shal? Is the command line you used correct?
Kind of why I asked.


All times are GMT -5. The time now is 05:50 AM.