LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-26-2009, 05:09 AM   #1
rizean
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
QEMU does not work


Installed QEMU on Debian 5.0 (full updated) machine via apt-get install qemu. All went well and QEMU was installed, but any command I send to qemu-img or qemu does nothing but return --help print out. I've tried:

qemu-img create -f qcow2 txp.img 10g
qemu-img create c.img 3g

This is really frustrating as it does not give me an error message or anything other than a blank start tell me how to use it.

Code:
rizean@mdesktop:~$ qemu-img create -f qcow2 txp.img 10g 
qemu-img version 0.9.1, Copyright (c) 2004-2008 Fabrice Bellard
usage: qemu-img command [command options]
QEMU disk image utility

Command syntax:
  create [-e] [-6] [-b base_image] [-f fmt] filename [size]
  commit [-f fmt] filename
  convert [-c] [-e] [-6] [-f fmt] filename [filename2 [...]] [-O output_fmt] output_filename
  info [-f fmt] filename

Command parameters:
  'filename' is a disk image filename
  'base_image' is the read-only disk image which is used as base for a copy on
    write image; the copy on write image only stores the modified data
  'fmt' is the disk image format. It is guessed automatically in most cases
  'size' is the disk image size in kilobytes. Optional suffixes 'M' (megabyte)
    and 'G' (gigabyte) are supported
  'output_filename' is the destination disk image filename
  'output_fmt' is the destination format
  '-c' indicates that target image must be compressed (qcow format only)
  '-e' indicates that the target image must be encrypted (qcow format only)
  '-6' indicates that the target image must use compatibility level 6 (vmdk format only)

Supported format: parallels qcow2 vvfat vpc bochs dmg cloop vmdk qcow cow host_device raw
 
Old 07-26-2009, 05:22 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,490

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
Code:
'size' is the disk image size in kilobytes. Optional suffixes 'M' (megabyte)
    and 'G' (gigabyte) are supported
Have you tried to put the correct size? G (uppercase) instead of g (lowercase). Take in mind that Linux and the majority of its commands are case-sensitive.
 
Old 07-26-2009, 05:38 AM   #3
rizean
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you...
 
  


Reply

Tags
qemu


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
qemu: Keyboard does not work cwwilson721 Slackware 5 06-01-2007 12:14 PM
Qemu gabsik Linux - Software 9 05-31-2006 12:19 PM
qemu gaah Linux - Newbie 6 10-19-2005 05:22 AM
Qemu BarfBag Linux - Software 3 06-03-2005 01:06 PM
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-04-2005 11:25 PM


All times are GMT -5. The time now is 05:32 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