Kernel Panic: No init found

Allen Crider spam at swnews.net
Mon Jun 17 17:48:58 PDT 2002


Lon Lentz wrote:

> 
>   I did that. It reported that the root was my Mandrake partition, so I
> changed it, and double
>  checked it. So it is now pointing at the correct partition.  But I am
> still getting:
> 
>   Warning: unable to open an initial console.
>    Kernel panic: No init found.
> 
>   A couple things. I haven't umounted the partition from /mnt/lfs yet.
> Also, all of the devices
>  that are in my Mandrake /mnt are not present in my LFS /mnt, it's
> empty. Did miss something?

You probably skipped a few things in chapter 6 of the lfs book. It seems you 
haven't built system5 init or made your devices. Have you successfully done 
the chroot environment at the beginning of chapter 6?
>  
>   And thanks for the help.
> 
> Allen Crider wrote:
> 
>>Try looking at what rdev says about your kernel:
>>
>>rdev /boot/bzImage (for example)
>>
>>It should report the root partition which it expects init to be. If it is
>>incorrect you can then use rdev to change the root partition of the
>>kernel.
>>

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list