All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Liu <satimis@yahoo.com>
To: kvm@vger.kernel.org
Subject: Fail to create disk.img
Date: Tue, 5 Aug 2008 16:57:29 +0800 (CST)	[thread overview]
Message-ID: <543695.94609.qm@web35205.mail.mud.yahoo.com> (raw)

Hi folks,


Ubuntu 8.04 server amd64 - host - headless (w/o X packages)
Ubuntu 6.06 server amd64 - guest - headless (w/o X packages)
KVM


Previously I ran;


# qemu-img create -f qcow2 disk.img 10G

then

# kvm -hda disk.img -cdrom /dev/scd0 -m 512 -boot d

to create a working disk.img.  It works on the VM.


But I couldn't create direct on running;

# kvm -hda disk.img -cdrom /dev/scd0 -m 512 -boot d


must be in 2 steps.



Now I tried creating another disk.img but the above steps did not work.


# qemu-img create -f qcow2 ubuntu6.06_080805.img 10G
Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB


# kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512 -boot d -smp 2
     =======================|  DirectFB 1.0.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-04-08 15:15) 
(*) Direct/Memcpy: Using libc memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
    --> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment
variable.
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Initialization error!
Could not initialize SDL - exiting
* end *


without "-smp 2" still the same.


I don't know what mistake I have committed.  I didn't done anything on
the host except running apt-get update/upgrade.  Please advise.


TIA


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 

             reply	other threads:[~2008-08-05  8:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05  8:57 Stephen Liu [this message]
2008-08-05  9:03 ` Fail to create disk.img Ian Kirk
2008-08-05  9:10 ` Uri Lublin
2008-08-05  9:29   ` Stephen Liu
2008-08-05  9:48     ` Uri Lublin
2008-08-05 10:08     ` Soren Hansen
2008-08-05  9:59 ` Soren Hansen
2008-08-05 10:09 ` Uri Lublin
2008-08-05 10:37   ` Stephen Liu
2008-08-05 11:14     ` Soren Hansen
2008-08-05 11:50       ` Fail to create disk.img (SOLVED) Stephen Liu
2008-08-05 12:51         ` Soren Hansen
     [not found]           ` <285610.49651.qm@web35201.mail.mud.yahoo.com>
2008-08-07  7:14             ` Soren Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=543695.94609.qm@web35205.mail.mud.yahoo.com \
    --to=satimis@yahoo.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.