qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Christian MICHON" <christian.michon@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to run qemu (i386) without hda image?
Date: Sun, 28 Jan 2007 22:25:18 +0100	[thread overview]
Message-ID: <46d6db660701281325l45fcf5afq94f7180a33a64b3@mail.gmail.com> (raw)
In-Reply-To: <5d649bdb0701281316p71cd6f3aq6a398a509ce73182@mail.gmail.com>

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 <neojia@gmail.com> 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 <christian.michon@gmail.com> 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 <neojia@gmail.com> 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

  reply	other threads:[~2007-01-28 21:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-28 20:11 [Qemu-devel] How to run qemu (i386) without hda image? Neo Jia
2007-01-28 20:49 ` Christian MICHON
2007-01-28 21:16   ` Neo Jia
2007-01-28 21:25     ` Christian MICHON [this message]
2007-01-28 21:37       ` Neo Jia
2007-01-28 21:45         ` Christian MICHON
2007-01-31 22:50 ` Christian MICHON
2007-01-31 23:15   ` Neo Jia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46d6db660701281325l45fcf5afq94f7180a33a64b3@mail.gmail.com \
    --to=christian.michon@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).