Kernel panic problem and unable to chroot
Mason Oliver Dickson
masonoliverdickson at hotmail.com
Sat Feb 12 06:18:05 PST 2005
<senthil at puggy.symonds.net> wrote in message
news:37722.214.171.124.19.1108215554.squirrel at puggy.symonds.net...
> Hi List,
> Thanks for responding to the /boot/grub/menu.lst issue. I
> resolved and got past it, and now when I was booting my LFS, I
> got the following messages:
> Freeing unused Kernel Memory: 184K Freed
> Warning: Unable to open an Intial Console
> Kernel Panic: No Init found. Try Passing init= option to the kernel
> -- I searched the archives for this problem and found Gerard's reply to
> same to check /mnt/lfs/dev/console.
> Yeah, I had to create a console file and I wanted to create that.
> So, I tried to chroot to create it:
> using section: 6.61
> chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ '
> PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login
> But this gave me Error:
> chroot: Cannot Run Command '/usr/bin/env' : No such file or directory.
This error occurs if you do not mount your LFS partition before chroot.
And note that you always need to mount your virtual filesystems (chapter
6.2) before entering chroot.
More information about the lfs-support