LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 01:49 PM   #1
Sefid par
Member
 
Registered: Jul 2013
Location: Iran, Shiraz
Distribution: Ubuntu
Posts: 130

Rep: Reputation: 26
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 01:52 AM.
 
Old 07-29-2013, 04:36 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

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


What is the exact command line you use.
 
Old 07-30-2013, 01:55 AM   #3
Sefid par
Member
 
Registered: Jul 2013
Location: Iran, Shiraz
Distribution: Ubuntu
Posts: 130

Original Poster
Rep: Reputation: 26
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, 02:40 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
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



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 08:51 AM
chroot: cannot run command `/bin/bash': Exec format error snakeo2 Linux - Newbie 6 09-28-2010 03:41 AM
cgi: exec format error Jane2008 Linux - Newbie 2 08-14-2009 09:10 AM
Exec format error. binary file not executable. kaz2100 Linux - General 2 08-19-2006 05:26 PM
MDK 9.1 Fatal Error in Stage 1: Exec Format Error Beano Mandriva 5 09-12-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration