qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: RE: [Qemu-devel] Kernel panic - not syncing: No init found.
       [not found] <20071019085724.26224gmx1@mx102.gmx.net>
@ 2007-10-19  9:04 ` Clemens Kolbitsch
  2007-10-19  9:31   ` Kjel Delaey
  0 siblings, 1 reply; 3+ messages in thread
From: Clemens Kolbitsch @ 2007-10-19  9:04 UTC (permalink / raw)
  To: qemu-devel

are you passing an initrd to qemu?

i call qemu like this:

qemu \
        -hda image \
        -boot c \
        -net user \
        -net nic,vlan=0,model=rtl8139 \
        -initrd initrd \
        -append "root=/dev/hda1" \
        -kernel kernel \
        -no-kqemu

whereas kernel is a link to the bzImage and initrd links to a file i have 
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        init= option 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 “root=/dev/hda \clock=pit”
> > >
> > > and I get the error...
> > >
> > > I tried to pass init=/sbin/init or init=/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=/dev/hda1"
> >
> > (note HDA1 instead HDA)
> >
> > and direct booting works fine for me :-)
> >
> > Clemens

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [Qemu-devel] Kernel panic - not syncing: No init found.
  2007-10-19  9:04 ` RE: [Qemu-devel] Kernel panic - not syncing: No init found Clemens Kolbitsch
@ 2007-10-19  9:31   ` Kjel Delaey
  2007-10-19 12:06     ` Christian MICHON
  0 siblings, 1 reply; 3+ messages in thread
From: Kjel Delaey @ 2007-10-19  9:31 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 2227 bytes --]

I can't find the initramfs file. When I use locate initramfs I can find some initramfs files, but none in the directory where I work in.



> From: clemens.kol@gmx.at
> To: qemu-devel@nongnu.org
> Subject: Re: RE: [Qemu-devel] Kernel panic - not syncing: No init found.
> Date: Fri, 19 Oct 2007 11:04:07 +0200
> 
> are you passing an initrd to qemu?
> 
> i call qemu like this:
> 
> qemu \
>         -hda image \
>         -boot c \
>         -net user \
>         -net nic,vlan=0,model=rtl8139 \
>         -initrd initrd \
>         -append "root=/dev/hda1" \
>         -kernel kernel \
>         -no-kqemu
> 
> whereas kernel is a link to the bzImage and initrd links to a file i have 
> 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        init= option 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 “root=/dev/hda \clock=pit”
> > > >
> > > > and I get the error...
> > > >
> > > > I tried to pass init=/sbin/init or init=/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=/dev/hda1"
> > >
> > > (note HDA1 instead HDA)
> > >
> > > and direct booting works fine for me :-)
> > >
> > > Clemens
> 
> 
> 
> 

_________________________________________________________________
Deel je gedachten direct met je vrienden
http://messenger.live.com

[-- Attachment #2: Type: text/html, Size: 3070 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Kernel panic - not syncing: No init found.
  2007-10-19  9:31   ` Kjel Delaey
@ 2007-10-19 12:06     ` Christian MICHON
  0 siblings, 0 replies; 3+ messages in thread
From: Christian MICHON @ 2007-10-19 12:06 UTC (permalink / raw)
  To: qemu-devel

On 10/19/07, Kjel Delaey <kjel_delaey@hotmail.com> wrote:
>
> I can't find the initramfs file. When I use locate initramfs I can find some
> initramfs files, but none in the directory where I work in.
>
>
>
> ________________________________
> > From: clemens.kol@gmx.at
> > To: qemu-devel@nongnu.org
> > Subject: Re: RE: [Qemu-devel] Kernel panic - not syncing: No init found.
> > Date: Fri, 19 Oct 2007 11:04:07 +0200
>
> >
> > are you passing an initrd to qemu?
> >
> > i call qemu like this:
> >
> > qemu \
> > -hda image \
> > -boot c \
> > -net user \
> > -net nic,vlan=0,model=rtl8139 \
> > -initrd initrd \
> > -append "root=/dev/hda1" \
> > -kernel kernel \
> > -no-kqemu
> >
> > whereas kernel is a link to the bzImage and initrd links to a file i have
> > 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        init= option 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 "root=/dev/hda \clock=pit"
> > > > >
> > > > > and I get the error...
> > > > >
> > > > > I tried to pass init=/sbin/init or init=/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=/dev/hda1"
> > > >
> > > > (note HDA1 instead HDA)
> > > >
> > > > and direct booting works fine for me :-)
> > > >
> > > > Clemens
> >
> >
> >
> >
>
> ________________________________
> Deel al je foto's met je vrienden! Maak je eigen online plek! Windows Live
> Spaces

you need to generate this file.

may I suggest something (while I do it in parallel) ?

please download detaolb_v06.iso and extract the "debug" file at the
root of the iso.
This is a static initramfs file. Use it this way:

qemu -L bios -hda hda -kernel vmlinux -initrd debug

you can find the iso at http://detaolb.sf.net

On my side, I'll compile linux 2.6.18.1 with your config file and test
it over here...

-- 
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-19 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20071019085724.26224gmx1@mx102.gmx.net>
2007-10-19  9:04 ` RE: [Qemu-devel] Kernel panic - not syncing: No init found Clemens Kolbitsch
2007-10-19  9:31   ` Kjel Delaey
2007-10-19 12:06     ` Christian MICHON

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).