qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] How to run qemu (i386) without hda image?


From: Christian MICHON
Subject: Re: [Qemu-devel] How to run qemu (i386) without hda image?
Date: Sun, 28 Jan 2007 22:25:18 +0100

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 <address@hidden> 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 <address@hidden> 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 <address@hidden> 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
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
> >
>
>
> --
> Christian
>
>
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> 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
address@hidden
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 via email to

[Prev in Thread] Current Thread [Next in Thread]