LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-24-2001, 08:47 AM   #1
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Rep: Reputation: 30
Kernel panic


Kernel panic
I installed Mandrake 8.1, had a problem with my printer and now Linux won't boot.

It's hanging at this message: "Kernel panic: No init found. Try passing init= option to kernel.

There is a command prompt (?) here but I can't type anything into it. In fact pressing any key on the keyboard has no effect. I have to hit the Reset button on the computer to get out.

Now let me try to explain how this all came about. During the install process, it asked if I wanted to print a test page. I clicked yes. The printer (an old Citizen GSX dot matrix that works fine) started printing out multiple pages. It was getting ridiculous, printing out page after page (using the CUPS server) so I turned off the printer. After the install was complete, I went into the Print Administrator (or whatever it's called) and tried to kill the print job. Clicking on Remove had no effect. The owner was root so I logged out and back in as root. I still couldn't kill the print job so I removed the printer in the Control panel thinking I could reinstall it. Removing it worked fine and it seemed to clear the print job and the printer. When I went to reinstall the printer through the Control Panel, the computer froze. I waited awhile and it un-froze but each time I tried to install the printer, it froze again and finally, it just got stuck in hang-mode. In frustration, I hit the reset button on the computer and now Linux won't boot, giving me the above message after a series of other lines in the boot process. Booting from the Boot Floppy I made during the initial installation has the same effect. Booting into Failsafe mode also has the same effect.

I tried updating my system from the CD and that didn't work either. The update process hangs at the stage where it's supposed to install the boot loader. I had previously installed Partition Magic's Boot Loader and made a Linux Boot Floppy and installed Lilo in the Linux partition (hda8). This worked fine. I was able to choose Linux from Boot Magic and then Lilo would come up and I could boot on into Linux. Now the update process won't even make a new Boot Floppy and won't get past the "Installing a Boot Loader" stage so that I have to hit the Reset button to get back out of the Install program. (The "Exit Installation" button evidently isn't there in Update mode)

Since I don't know what I'm doing, I don't know what to do next other than format the Linux partition and start all over again. By the way, I used Expert mode to do the first install just to see if I could do it and it went ok. It took me about 3 hours, but anyway...

I've read all this stuff about how stable Linux is supposed to be but at this point, it seems to me to be pretty sensitive and touchy.

:smash:
 
Old 12-25-2001, 12:18 PM   #2
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
hm... ok i don't really know what's wrong as i haven't used mandrake in a long long time...

but linux is stable yea... when it's up and working...

unless you're willing to wait for a more experienced mandrake user to come along to your post, perhaps a re-format and re-installation is in order. if u decide to do so, don't install the printer first. make sure the system is up and running. then try installing the printer later after the installation is successful. i'm sure mandrake has some nice automated tools to that process so it shouldn't be too hard.

don't worry about the expert mode. if u handled it already then u should be fine. the next round should take lesser than 3 hours

i know this sounds tough now, but as in anything new that you would embark on in life, patience and perseverence will bring u far. all i have to encourage u now is that linux is worth the trouble that it might initially bring, so u won't be wasting your time.

let us know how it goes. i'm sure there'll be someone here who can help u.
 
Old 12-25-2001, 07:28 PM   #3
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by gui10
let us know how it goes. i'm sure there'll be someone here who can help u.
Thanks. It seems like there must be a way to fix this, it's just that I don't have a clue what it is. I don't really mind formatting and re-installing, but I'd probably learn more if I could find a way to correct the problem. I mean if the boot process hangs and leaves a message to "Try passing init= option to kernel", there must be a way to do it. But how to do it and what option to use is beyond me.
 
Old 12-25-2001, 11:10 PM   #4
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
hm... i'm not sure why that message pops up...

if i'm not wrong, the "init = " thing refers to the different runlevels that u can go into at the boot prompt or the command prompt.
  • runlevel what it does
    ------ ---------
    0 shutdown
    1 single user (maintenance mode)
    2 multi-user with minimal network services turned on
    3 multi-user with full network services turned on
    4 unused (or user customized)
    5 same as 3 except that the system also boots into X11R6
    6 reboot
u'd probably want to get into single user mode to repair your printer stuff.

OR

can u get to the boot prompt at all? perhaps u can use the linux rescue disk (either your floppy or the bootable CD from which u did your installation) and then type "linux rescue" at the boot prompt.

if u can't even get to the boot prompt, then i think u would have to reformat and reinstall. unless u have some fancy tool...

ok that's what i can think of... not sure if it helps... i'll try to attract some attention to your post. i'm quite sure there's some people who can help u.

Last edited by gui10; 12-25-2001 at 11:36 PM.
 
Old 12-26-2001, 01:23 PM   #5
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
Hi guys

Unfortunately, I havnt got a clue on this one, I havnt tried to setup a printer on any OS before let alone linux.

However I do agree that if you re-install, leave the printer setup until you have a working system, because Mandrake isnt the most reliable at setting up hardware and you can probably do a better job yourself.

On to the init front, all Mandys init scripts are in etc/initd which are then symlinked {I think thats the right decription) to other folders, namely rc0.d-rc6.d for each init run level and from the error message, the kernel can no longer find them.

I havnt got a clue how to boot this system, so my advice is to re-install.

L8rs

RecoilUK
 
Old 12-26-2001, 11:01 PM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Maybe this here might be of help.
 
Old 12-27-2001, 04:18 PM   #7
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by linuxcool
Maybe this here might be of help.
Thanks, I checked it out and here's what I copied:

The ultimate in failsafe boot (and my personal favorite) is the
following:

"linux init=/bin/sh" on the LILO boot prompt.

So now my question is how do I get to the LILO boot prompt? Is there a way to get to it from the LILO GUI?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration