Kernel Panic: no init found

2000-08-07 Thread Aaron Davies
I've completed the basic installation from the rescue floppy ramdisk,
but when I turn the ramdisk off and tell BootX to boot with /dev/sda5
(my Linux native partition) as root, I get the following error message:

Kernel panic: no init found.  Try passing init= option to kernel.
Rebooting in 180 seconds..

What does this mean and what can I do about it?
--
____
   /  )  /  )
  /--/ __.  __  /  / __. , __o  _  _
 /  (_(_/|_/ (_(_) / / <_  /__/_(_/|_\/ <__

Re: Kernel Panic: no init found

2000-08-08 Thread Adam C Powell IV
Aaron Davies wrote:

> I've completed the basic installation from the rescue floppy ramdisk,
> but when I turn the ramdisk off and tell BootX to boot with /dev/sda5
> (my Linux native partition) as root, I get the following error message:
>
> Kernel panic: no init found.  Try passing init= option to kernel.
> Rebooting in 180 seconds..
>
> What does this mean and what can I do about it?

When you boot, does the "Partition check" for that drive list your partition?
Later, does it say something like "Mounting root partition read-only"?  Does it
add the swap partition successfully?

When you boot with the ramdisk, you should be able to mount your existing Linux
partition(s).  Then you can use alt-F2 to switch to a different console and open
a shell (and switch back to the install console with alt-F1).  "df" will verify
that the partitions are where you say they are (your installed root partition
should be mounted as /target/).

Then do "ls target/sbin" and you should see init.  It shouldn't be necessary to
pass an "init=" parameter.

I'm not an expert on these things, this is the best I can do without being at
the machine, but there's probably someone here who knows what else could be
going wrong.

Hope this helps in some small way,

-Adam P.




Re: Kernel Panic: no init found

2000-08-09 Thread Adam C Powell IV
Aaron Davies wrote:

> Adam C Powell IV wrote:
> >
> > When you boot, does the "Partition check" for that drive list your 
> > partition?
> > Later, does it say something like "Mounting root partition read-only"?  
> > Does it
> > add the swap partition successfully?
>
> OK, I don't know how to pause the boot process, so I can only give you
> the last screen before the crash. It looks at my IDE devices, the
> floppy, and the SCSI bus, then this follows:
>
> Partition check:
>  sda: sda1 sda2 sda3 sda4 sda5 sda6 (root on 5)
>  hda: hda1 hda2 hda3 hda4 hda5 hda6
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 180k init 32k prep
> Kernel panic: no init found.  Try passing init= option to kernel.
> Rebooting in 180 seconds..

Looks good to me.

> I don't see anything about adding the swap partition.

Okay, that must be done after init is started.  (Silly me to think it came 
before.)

> > When you boot with the ramdisk, you should be able to mount your existing 
> > Linux
> > partition(s).  Then you can use alt-F2 to switch to a different console and 
> > open
> > a shell (and switch back to the install console with alt-F1).  "df" will 
> > verify
> > that the partitions are where you say they are (your installed root 
> > partition
> > should be mounted as /target/).
>
> This works fine, /dev/sda5 is /target.
>
> > Then do "ls target/sbin" and you should see init.  It shouldn't be 
> > necessary to
> > pass an "init=" parameter.
>
> This works too, /target/sbin/init is there.

Hmm...  AFAIK, the installed kernel is the same as the one on the rescue 
floppy, so
if the rescue floppy sees /dev/sda5 then the installed kernel should too.

The only other thing I can think of is a missing or incorrect /dev entry, but 
this
should give an error earlier, while trying to mount root readonly.  Just to make
sure, it might be worth booting in the rescue floppy, mounting existing 
partition(s),
and doing "ls -l /target/dev/sda5".  Please report the result to the list, I 
don't
know what the major/minor numbers should be (I'm away from my mac for a couple 
of
weeks).

What model powermac is this again?

Sorry I couldn't be more definitive, and that this process is so frustrating.  
Anyone
else?

-Adam P.




Re: Kernel Panic: no init found

2000-08-10 Thread Aaron Davies
Adam C Powell IV wrote:
> 
> Aaron Davies wrote:
> 
> > Adam C Powell IV wrote:
> > >
> > > When you boot, does the "Partition check" for that drive list your 
> > > partition?
> > > Later, does it say something like "Mounting root partition read-only"?  
> > > Does it
> > > add the swap partition successfully?
> >
> > OK, I don't know how to pause the boot process, so I can only give you
> > the last screen before the crash. It looks at my IDE devices, the
> > floppy, and the SCSI bus, then this follows:
> >
> > Partition check:
> >  sda: sda1 sda2 sda3 sda4 sda5 sda6 (root on 5)
> >  hda: hda1 hda2 hda3 hda4 hda5 hda6
> > VFS: Mounted root (ext2 filesystem) readonly.
> > Freeing unused kernel memory: 180k init 32k prep
> > Kernel panic: no init found.  Try passing init= option to kernel.
> > Rebooting in 180 seconds..
> 
> Looks good to me.
> 
> > I don't see anything about adding the swap partition.
> 
> Okay, that must be done after init is started.  (Silly me to think it came 
> before.)
> 
> > > When you boot with the ramdisk, you should be able to mount your existing 
> > > Linux
> > > partition(s).  Then you can use alt-F2 to switch to a different console 
> > > and open
> > > a shell (and switch back to the install console with alt-F1).  "df" will 
> > > verify
> > > that the partitions are where you say they are (your installed root 
> > > partition
> > > should be mounted as /target/).
> >
> > This works fine, /dev/sda5 is /target.
> >
> > > Then do "ls target/sbin" and you should see init.  It shouldn't be 
> > > necessary to
> > > pass an "init=" parameter.
> >
> > This works too, /target/sbin/init is there.
> 
> Hmm...  AFAIK, the installed kernel is the same as the one on the rescue 
> floppy, so
> if the rescue floppy sees /dev/sda5 then the installed kernel should too.
> 
> The only other thing I can think of is a missing or incorrect /dev entry, but 
> this
> should give an error earlier, while trying to mount root readonly.  Just to 
> make
> sure, it might be worth booting in the rescue floppy, mounting existing 
> partition(s),
> and doing "ls -l /target/dev/sda5".  Please report the result to the list, I 
> don't
> know what the major/minor numbers should be (I'm away from my mac for a 
> couple of
> weeks).

OK, I get the following:

brw-rw1 root 8,   5 Jul 20 01:06 /target/dev/sda5

> What model powermac is this again?

Beige G3/300.
--
____
   /  )  /  )
  /--/ __.  __  /  / __. , __o  _  _
 /  (_(_/|_/ (_(_) / / <_  /__/_(_/|_\/ <__

Re: Kernel Panic: no init found

2000-08-14 Thread Aaron Davies
Aaron Davies wrote:
> 
> Adam C Powell IV wrote:
> >
> > Aaron Davies wrote:
> >
> > > Adam C Powell IV wrote:
> > > >
> > > > When you boot, does the "Partition check" for that drive list your 
> > > > partition?
> > > > Later, does it say something like "Mounting root partition read-only"?  
> > > > Does it
> > > > add the swap partition successfully?
> > >
> > > OK, I don't know how to pause the boot process, so I can only give you
> > > the last screen before the crash. It looks at my IDE devices, the
> > > floppy, and the SCSI bus, then this follows:
> > >
> > > Partition check:
> > >  sda: sda1 sda2 sda3 sda4 sda5 sda6 (root on 5)
> > >  hda: hda1 hda2 hda3 hda4 hda5 hda6
> > > VFS: Mounted root (ext2 filesystem) readonly.
> > > Freeing unused kernel memory: 180k init 32k prep
> > > Kernel panic: no init found.  Try passing init= option to kernel.
> > > Rebooting in 180 seconds..
> >
> > Looks good to me.
> >
> > > I don't see anything about adding the swap partition.
> >
> > Okay, that must be done after init is started.  (Silly me to think it came 
> > before.)
> >
> > > > When you boot with the ramdisk, you should be able to mount your 
> > > > existing Linux
> > > > partition(s).  Then you can use alt-F2 to switch to a different console 
> > > > and open
> > > > a shell (and switch back to the install console with alt-F1).  "df" 
> > > > will verify
> > > > that the partitions are where you say they are (your installed root 
> > > > partition
> > > > should be mounted as /target/).
> > >
> > > This works fine, /dev/sda5 is /target.
> > >
> > > > Then do "ls target/sbin" and you should see init.  It shouldn't be 
> > > > necessary to
> > > > pass an "init=" parameter.
> > >
> > > This works too, /target/sbin/init is there.
> >
> > Hmm...  AFAIK, the installed kernel is the same as the one on the rescue 
> > floppy, so
> > if the rescue floppy sees /dev/sda5 then the installed kernel should too.
> >
> > The only other thing I can think of is a missing or incorrect /dev entry, 
> > but this
> > should give an error earlier, while trying to mount root readonly.  Just to 
> > make
> > sure, it might be worth booting in the rescue floppy, mounting existing 
> > partition(s),
> > and doing "ls -l /target/dev/sda5".  Please report the result to the list, 
> > I don't
> > know what the major/minor numbers should be (I'm away from my mac for a 
> > couple of
> > weeks).
> 
> OK, I get the following:
> 
> brw-rw1 root 8,   5 Jul 20 01:06 /target/dev/sda5
> 
> > What model powermac is this again?
> 
> Beige G3/300.

Hello? Anybody else have any idea what's wrong? I'm still waiting here.
--
____
   /  )  /  )
  /--/ __.  __  /  / __. , __o  _  _
 /  (_(_/|_/ (_(_) / / <_  /__/_(_/|_\/ <__

FW: Kernel Panic: no init found

2003-08-04 Thread deFreese, Barry
OK, I am ready to throw this PowerBook G3 (firewire/Pismo whatever) out the
fricking window.  For some reason it will not boot from the Debian "Woody"
CD or anyother cd (including MacOS) for that matter. Actually I think the
device alias for cd: is wrong but it won't let me change it with nvalias??
So I jump into handy dandy OF and do a:

0> boot ide1:,\install\powermac\yaboot

I get the yaboot prompt.  Then I do:

boot: ide1:0,/install/powermac/vmlinux2.4

Kernel panic VFS blah blah.  So I do:

boot: ide1:0,/install/powermac/vmlinux2.4 root=/dev/hdf ro  (which is the
device found on previous boot of vmlinux2.4 image).

Now I get Kernel Panic: no init found.  Try passing the init= to the kernel
or something to that affect.

I have tried just about all known combinations of init= including
append="init=/bin/sh" and nothing seems to get recognized.

Can anyone save me before I either throw the PowerBook out the window or
jump myself?? :-)

Bye the way, I apologize but I don't subscribe to this list anymore.  If
possible could you please CC me on any answers?

Thanks a million!!

Barry deFreese
Technology Services Manager
Nike Team Sports
(949)-616-4005
[EMAIL PROTECTED]

--
"Technology doesn't make you less stupid; it just makes you stupid faster."
Jerry Gregoire - Former CIO at Dell






"Kernel Panic: No init found" After Install

2000-08-03 Thread Aaron Davies
I've finished the basic install off the ramdisk, so I rebooted, turned off the 
ramdisk in the BootX dialog, and hit linux. Then I got "Kernerl Panic: no init 
found. Try passing init= to the kernel". What option do I need to use here?
--
____
   /  )  /  )
  /--/ __.  __  /  / __. , __o  _  _
 /  (_(_/|_/ (_(_) / / <_  /__/_(_/|_\/ <__

Re: FW: Kernel Panic: no init found

2003-08-05 Thread Clive Menzies
On (04/08/03 19:26), deFreese, Barry wrote:
> OK, I am ready to throw this PowerBook G3 (firewire/Pismo whatever) out the
> fricking window.  For some reason it will not boot from the Debian "Woody"
> CD or anyother cd (including MacOS) for that matter. Actually I think the
> device alias for cd: is wrong but it won't let me change it with nvalias??
> So I jump into handy dandy OF and do a:
> 
> 0> boot ide1:,\install\powermac\yaboot
> 
> I get the yaboot prompt.  Then I do:
> 
> boot: ide1:0,/install/powermac/vmlinux2.4
> 
> Kernel panic VFS blah blah.  So I do:
> 
> boot: ide1:0,/install/powermac/vmlinux2.4 root=/dev/hdf ro  (which is the
> device found on previous boot of vmlinux2.4 image).
> 
> Now I get Kernel Panic: no init found.  Try passing the init= to the kernel
> or something to that affect.
> 
> I have tried just about all known combinations of init= including
> append="init=/bin/sh" and nothing seems to get recognized.
> 
> Can anyone save me before I either throw the PowerBook out the window or
> jump myself?? :-)
> 
> Bye the way, I apologize but I don't subscribe to this list anymore.  If
> possible could you please CC me on any answers?

I guess you would have tried this but have you reset the PRAM:
Cmd+Opt+P+R?

HTH

Clive



Re: "Kernel Panic: No init found" After Install

2000-08-03 Thread Michel Dänzer
Aaron Davies wrote:
> 
> I've finished the basic install off the ramdisk, so I rebooted, turned off
> the ramdisk in the BootX dialog, and hit linux. Then I got "Kernerl Panic:
> no init found. Try passing init= to the kernel". What option do I need to
> use here?

Have you specified the (correct) root partition?


Michel


-- 
Hark! What rock through yonder window breaks?
__
Earthling Michel Dänzer (MrCooper)  \  CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \   member of XFree86, Team *AMIGA*, AUGS