From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBHWc-00012e-9M for qemu-devel@nongnu.org; Sun, 28 Jan 2007 16:25:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBHWZ-00012S-RT for qemu-devel@nongnu.org; Sun, 28 Jan 2007 16:25:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBHWZ-00012P-MC for qemu-devel@nongnu.org; Sun, 28 Jan 2007 16:25:19 -0500 Received: from nz-out-0506.google.com ([64.233.162.239]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HBHWZ-0007vi-Cf for qemu-devel@nongnu.org; Sun, 28 Jan 2007 16:25:19 -0500 Received: by nz-out-0506.google.com with SMTP id i11so2076534nzi for ; Sun, 28 Jan 2007 13:25:18 -0800 (PST) Message-ID: <46d6db660701281325l45fcf5afq94f7180a33a64b3@mail.gmail.com> Date: Sun, 28 Jan 2007 22:25:18 +0100 From: "Christian MICHON" Subject: Re: [Qemu-devel] How to run qemu (i386) without hda image? In-Reply-To: <5d649bdb0701281316p71cd6f3aq6a398a509ce73182@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5d649bdb0701281211xc19afcal5c2b5d10d483695b@mail.gmail.com> <46d6db660701281249o61cf03bcycfad0d9106c4ecd9@mail.gmail.com> <5d649bdb0701281316p71cd6f3aq6a398a509ce73182@mail.gmail.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 remove "root=/dev/hda". you may have not compiled block drivers as built-in, and fc3.img may not have the proper init files (which should be inside your initrd). On 1/28/07, Neo Jia wrote: > The following is the command line i used > > qemu -kernel vmlinuz-2.6.20-rc6 -initrd initrd-2.6.20-rc6.img -hda > fc3.img -nographic -append console=ttyS0 root=/dev/hda > > The following is the error message ... > (...) > Switching to new root > switchroot: mount failed: 22 > umount /initrd/dev failed: 2 > Kernel panic - not syncing: Attempted to kill init! > > > On 1/28/07, Christian MICHON wrote: > > one possibility is to include your kernel and initrd inside a > > bootable iso (mkisofs and isolinux are your friends: look at > > the man pages for numerous solutions). > > > > the kernel panic could be actually missing block drivers > > or your root parameter is wrong. > > > > On 1/28/07, Neo Jia wrote: > > > hi, > > > > > > I notice that this would be a very newbie question. Hope you can point me out. > > > > > > I am going to simulate i386 arch. But I cannot run it just with initrd > > > and vmlinuz just like running it for mips arch. It always complained > > > about missing the hda image file. When I applied the hda.img file, the > > > kernel will panic due to the file format (eg, ext3). > > > > > > Acturallly, my goal is trying to use qemu to setup a kernel debugging envir. > > > > > > Your help will be greatly appreciated! > > > > > > Thanks, > > > Neo > > > > > > -- > > > I would remember that if researchers were not ambitious > > > probably today we haven't the technology we are using! > > > > > > > > > _______________________________________________ > > > Qemu-devel mailing list > > > Qemu-devel@nongnu.org > > > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > > > > > > > -- > > Christian > > > > > > _______________________________________________ > > Qemu-devel mailing list > > Qemu-devel@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > > > -- > I would remember that if researchers were not ambitious > probably today we haven't the technology we are using! > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > -- Christian -- << There's a symlink from awk to gawk, if you're using gawk! If you're not using gawk, there's no symlink from gawk to awk! Use the standard names, _please_! >> - Rob Landley