From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ECJmb-00074o-OU for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:25:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ECJmZ-00073C-QI for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:25:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECJiv-0004ok-BF for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:21:33 -0400 Received: from [64.233.162.201] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ECJS2-00074S-MR for qemu-devel@nongnu.org; Mon, 05 Sep 2005 12:04:06 -0400 Received: by zproxy.gmail.com with SMTP id i11so739011nzh for ; Mon, 05 Sep 2005 09:00:11 -0700 (PDT) Message-ID: <2ad73a05090509004ab97887@mail.gmail.com> Date: Mon, 5 Sep 2005 13:00:11 -0300 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Subject: Re: [Qemu-devel] about qemu In-Reply-To: <431C0C4B.000005.12601@m191.126.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <431C0C4B.000005.12601@m191.126.com> 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 Well, as far as I can see, you're passing the RAW DEVICE NODE as the root partition instead of the numbered partition convention. Instead of passing root=3D/dev/hda, try something like root=3D/dev/hda1 I hope that helps. p.s.: Next time, please, take your time to read what you're doing before complaining to a discussion list that had nothing to do with the problem you faced in the first place.. And, as you may or may not have noticed, your last sentence sounded somewhat harsh... Cheers, A. -- "The weakest way to solve a problem is just to solve it"-Alan Kay 2005/9/5, wfreshair : > hi > i have read the pdf file:Embedded Linux kernel and driver developm Traini= ng > lab book.pdf. > at the page 7,when i boot kernel. > " qemu -m 32 -kernel > /lab/linux-2.6.11.11/arch/i386/boot/bzImage -append > "clock=3Dpit root=3D/dev/hda" -hda > /lab/linux/lab1/data/linux_i386.img -boot c" > i meet the information: > kernel panic -not syncing:no init found. > try passing init=3Doption to kernel." > then i add a console device to root filesystem: > mkdir /lab/rootfs > cd ....../lab1 > mount -o loop data/linux_i386.img /lab/rootfs > then=20 > i just copy /dev/console file to > /lab/rootfs/dev.-----------though i can't find it in > /lab/rootfs after i do that. > and then i umount /lab/rootfs > i meet the error:umount: /lab/rootfs: device is busy. > Also ,i can't qeum kernel. > who know the reason? explain it clearly!=20 >=20 >=20 >