Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IinmB-0004MR-4X for qemu-devel@nongnu.org; Fri, 19 Oct 2007 05:04:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iinm9-0004Lz-Bj for qemu-devel@nongnu.org; Fri, 19 Oct 2007 05:04:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iinm9-0004Lw-4Y for qemu-devel@nongnu.org; Fri, 19 Oct 2007 05:04:13 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Iinm8-0008LT-Kt for qemu-devel@nongnu.org; Fri, 19 Oct 2007 05:04:12 -0400 From: Clemens Kolbitsch Subject: Re: RE: [Qemu-devel] Kernel panic - not syncing: No init found. Date: Fri, 19 Oct 2007 11:04:07 +0200 References: <20071019085724.26224gmx1@mx102.gmx.net> In-Reply-To: <20071019085724.26224gmx1@mx102.gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710191104.08051.clemens.kol@gmx.at> 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 are you passing an initrd to qemu? i call qemu like this: qemu \ -hda image \ -boot c \ -net user \ -net nic,vlan=3D0,model=3Drtl8139 \ -initrd initrd \ -append "root=3D/dev/hda1" \ -kernel kernel \ -no-kqemu whereas kernel is a link to the bzImage and initrd links to a file i have=20 created inside qemu using mkinitramfs Clemens On Friday 19 October 2007 10:54:58 qemu-devel-request@nongnu.org wrote: > If I do this I got a VFS problem > > Not syncing: VFS: Unable to mount root fs on unknown-block(3,1.) > > I also tried to enable reiserfs support. I read on a forum that this may = be > a solution to the init problem. In my case it wasn't a working solution. > > > From: clemens.kol@gmx.at > > To: qemu-devel@nongnu.org; kjel_delaey@hotmail.com > > Subject: Re:[Qemu-devel] Kernel panic - not syncing: No init found. > > Trypassing=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0init=3D optio= n to kernel. Date: Fri, 19 Oct 2007 09:19:59 > > +0200 > > CC: > > > > On Friday 19 October 2007 09:13:40 qemu-devel-request@nongnu.org wrote: > > > Then I try this command: > > > qemu -m 32 hda rootfs.img kernel linux-2.6.18.1/arch/i386/boot/bzImage > > > -append =E2=80=9Croot=3D/dev/hda \clock=3Dpit=E2=80=9D > > > > > > and I get the error... > > > > > > I tried to pass init=3D/sbin/init or init=3D/bin/init but it doesn't > > > help... > > > > Hi! > > Although allmost every documentation tells you to use exactly what you > > did, I always use > > > > qemu [....] -append "root=3D/dev/hda1" > > > > (note HDA1 instead HDA) > > > > and direct booting works fine for me :-) > > > > Clemens