From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Liu Subject: Fail to create disk.img Date: Tue, 5 Aug 2008 16:57:29 +0800 (CST) Message-ID: <543695.94609.qm@web35205.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT To: kvm@vger.kernel.org Return-path: Received: from web35205.mail.mud.yahoo.com ([66.163.179.84]:42305 "HELO web35205.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754190AbYHEI5a (ORCPT ); Tue, 5 Aug 2008 04:57:30 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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