LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 07-29-2013, 02:49 PM   #1
Sefid par
Member
 
Registered: Jul 2013
Location: Iran, Tehran
Distribution: Slackware Current
Posts: 58

Rep: Reputation: Disabled
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.

Last edited by Sefid par; 07-30-2013 at 02:52 AM.
 
Old 07-29-2013, 05:36 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,969

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
qemu-x86_64 linux* I don't get this.


What is the exact command line you use.
 
Old 07-30-2013, 02:55 AM   #3
Sefid par
Member
 
Registered: Jul 2013
Location: Iran, Tehran
Distribution: Slackware Current
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by jefro View Post
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.
 
Old 07-30-2013, 03:40 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,969

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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.
 
1 members found this post helpful.
  


Reply

Tags
qemu, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exec Format error on chroot business_kid Fedora 3 10-07-2012 09:51 AM
chroot: cannot run command `/bin/bash': Exec format error snakeo2 Linux - Newbie 6 09-28-2010 04:41 AM
cgi: exec format error Jane2008 Linux - Newbie 2 08-14-2009 10:10 AM
Exec format error. binary file not executable. kaz2100 Linux - General 2 08-19-2006 06:26 PM
MDK 9.1 Fatal Error in Stage 1: Exec Format Error Beano Mandriva 5 09-12-2004 04:04 PM


All times are GMT -5. The time now is 12:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration