LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2004, 12:55 AM   #1
williamtbranch
LQ Newbie
 
Registered: Oct 2002
Location: Apache Junction, AZ
Distribution: Suse
Posts: 5

Rep: Reputation: 0
Kernel Panic on Pocket Linux, no init even though one was passed


I am working through David Horton's Pocket Linux Guide on The Linux Documentation Project. I'm only on lesson one and I've been stuck there for a week and a half.

Although I usually try to figure everything out on my own, I'm at a complete loss here.

I ran lilo -r /mnt/floppy on the boot disk.
It ran fine.

I statically compiled bash and tested it on the root disk. I linked /bin/sh to /bin/bash.
I've even used various disks to rule out disk errors

# /etc/lilo.conf - boot loader configuration file
#
boot=/dev/fd0
compact
prompt
read-only
vga=normal
image=/boot/vmlinuz
label=bootdisk
append="load_ramdisk=1 prompt_ramdisk=1"
root=/dev/fd0
#
# end of /etc/lilo.conf

At the boot prompt I type as follows
boot: bootdisk init=/bin/sh

then I get the following messages.
Loading bootdisk
Uncompressing Linux... Ok, booting kernel
..
.. [various kernel messages]
..
VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 1440 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext filesystem) readonly.
Freeing unused kernel memory: 178k freed

(and then something like)
Kernel Panic: no init found try passing init=/initfile at the boot prompt.

Well, It's like it's not even getting my init=/bin/sh boot argument.
Does anyone know what might be going on?

Regards,
Bill Branch
 
Old 10-26-2004, 02:53 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

first of all u cannot post ur queries in this section

post it in the other sectioin
regarding ur problem

why don't u make a boot disk???

man mkbootdisk

will help u
also does ur kernel require initrd images to boot??

regards
 
Old 10-26-2004, 09:01 AM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,584

Rep: Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058Reputation: 4058
Moved: This thread is more suitable in Linux - General and has been moved accordingly to help your thread/question get the exposure it deserves.

--jeremy
 
Old 10-26-2004, 02:30 PM   #4
williamtbranch
LQ Newbie
 
Registered: Oct 2002
Location: Apache Junction, AZ
Distribution: Suse
Posts: 5

Original Poster
Rep: Reputation: 0
I don't want to use the automated bootdisk program because I'm trying to figure out basically how linux works.

Is it possible some option was not compiled into the kernel? What are the minimal options necessary

Regards,
Bill
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic: no init found. Try passing init= option to kernel. ericb Slackware - Installation 3 10-20-2005 12:03 PM
Kernel panic: no init found. Try passing init= option to kernel tulip4heaven Linux - Newbie 1 10-14-2005 02:33 AM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Linux - Newbie 4 03-10-2004 07:08 AM
kernel panic: no init found. Try passing init= option to kernel rroorroo Red Hat 7 03-07-2004 05:19 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration