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

Re: kernel problem



On Wed, Jun 21, 2000 at 11:04:52AM +0300, Petteri Heinonen wrote
> I compiled kernel succesfully, but when I try to boot with it,
> it says:
> Kernel panic: No init found. Try passing init= option to kernel.
> 
> Have I left something important out of my kernel or what is
> going on?
> 

Probably, you've set the wrong boot partition.
Presumably, it can mount the partition that it *thinks* is root,
otherwise you'ld have a "Panic: Can't mount root fs".

If you're using LILO, you can pass the root partition at the 
boot: prompt; e.g.,
boot: linux root=/dev/hda3


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Reply to: