From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HjrQK-0004C2-KG for qemu-devel@nongnu.org; Fri, 04 May 2007 02:37:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjrQI-00049U-VG for qemu-devel@nongnu.org; Fri, 04 May 2007 02:37:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjrQI-00049R-Of for qemu-devel@nongnu.org; Fri, 04 May 2007 02:37:46 -0400 Received: from nz-out-0506.google.com ([64.233.162.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HjrJg-00048K-Pq for qemu-devel@nongnu.org; Fri, 04 May 2007 02:30:56 -0400 Received: by nz-out-0506.google.com with SMTP id i11so1984714nzi for ; Thu, 03 May 2007 23:30:55 -0700 (PDT) Message-ID: <46d6db660705032330n4e00a0b1w3266916f983c1cf7@mail.gmail.com> Date: Fri, 4 May 2007 08:30:54 +0200 From: "Christian MICHON" Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 5/4/07, tang peilei wrote: > I first create a img file using command "qemu-img create myimgfile 10M" > then I use this img file in my qemu . ("qemu -kernel ... -initrd ... -hda > myimgfile"). > but when i am in linux shell , I can not find any hda info even in "dmesg", > and I can not fdisk or mount hda. > who knows what is the problem ??? > the problem might be in your guest linux kernel (no ATAPI/IDE modules or built-in). Could you send your kernel .config, and inform us on the revision of qemu you're using and the guest's arch you're using (x86, x86-64, arm...) ? That'd be a start... -- Christian