LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2004, 06:49 AM   #1
MissMetal
Member
 
Registered: Jan 2003
Location: DC area
Distribution: opensuse, centos, rhel4
Posts: 32

Rep: Reputation: 15
Problems with Kernel Panic: No init found


I've installed Slackware 9.1 on my laptop before, however i'm not having as much luck with this installation.

I'd like to point out that I deleted all the linux partitions and recreated them. I did not install over my previous installation.

I have it installed to boot from the MBR, which it shared with XP. Lilo is installed and can boot to Windows, however when I try to boot to Slack I get "Kernel Panic: No init found." And it stops right there.

OK great. A searchable error message. I looked it up and it was suggested that this happens when Lilo is pointing to the wrong place. During the install, I had it point it /boot rather than /. Ok. Easy enough fix. Booted up on CD, mounted th e drive and edited lilo.conf so that it was pointing to my /dev/hdc6 (/) partition. (yes it actually is hdC, dell laptops are strange like that).

I still get the same kernel panic: no init found error.

I'd love to post my lilo.conf for you all now, however my jump drive is about 2 hours away from me currently. I will try and get that posted, but I can't right now.

What's my next step here?
 
Old 02-05-2004, 07:35 AM   #2
theSuperJason
LQ Newbie
 
Registered: Sep 2003
Location: Brisbane, AUS
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
After editing your '/etc/lilo.conf' did you re-install LILO by running '/sbin/lilo'?

TSJ
 
Old 02-05-2004, 07:44 AM   #3
MissMetal
Member
 
Registered: Jan 2003
Location: DC area
Distribution: opensuse, centos, rhel4
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by theSuperJason
After editing your '/etc/lilo.conf' did you re-install LILO by running '/sbin/lilo'?

TSJ
No I did not.. I think I'll try that.
 
Old 02-05-2004, 07:55 AM   #4
MissMetal
Member
 
Registered: Jan 2003
Location: DC area
Distribution: opensuse, centos, rhel4
Posts: 32

Original Poster
Rep: Reputation: 15
Alright. I booted back up again with my Slack CD. I mounted my HDD, cd'd to /mnt/hdc6/sbin and ran lilo.

I get a message saying "/etc/lilo.conf: No such file or directory"

It seems to be looking for lilo.conf on the ramdisk rather than my hard drive. I had a quick look at the different options for the lilo program there to see if I could somehow point it to my hdd, but couldn't seem to get anything to work.
 
Old 02-05-2004, 07:58 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,881

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
After booting from the CD do:
mount /dev/hdc6 /mnt
chroot /mnt
Then run /sbin/lilo from there.
 
Old 02-05-2004, 08:28 AM   #6
MissMetal
Member
 
Registered: Jan 2003
Location: DC area
Distribution: opensuse, centos, rhel4
Posts: 32

Original Poster
Rep: Reputation: 15
Just tried... more errors
"Warning: '/proc/partitions' does nto exist, disk scan bypassed
Fatal: open /boot/vmlinuz: No such file or directory"

and brings me back.
 
Old 02-05-2004, 08:43 AM   #7
theSuperJason
LQ Newbie
 
Registered: Sep 2003
Location: Brisbane, AUS
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
To be honest, I wouldn't have been as patient as you and would have re-installed by now :-)

...which is what I recommend you do.

TSJ
 
Old 02-05-2004, 11:29 AM   #8
MissMetal
Member
 
Registered: Jan 2003
Location: DC area
Distribution: opensuse, centos, rhel4
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah.. I agree...

But I plan on being a sys admin one day, and typically reinstalling the OS isn't an option. Thanks for the suggestions guys, I'll see what I can do..

...then start over from scratch
 
Old 02-05-2004, 07:13 PM   #9
MissMetal
Member
 
Registered: Jan 2003
Location: DC area
Distribution: opensuse, centos, rhel4
Posts: 32

Original Poster
Rep: Reputation: 15
After spending the day fscking with it, I give up. Reinstallation it is!
 
  


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 panic: No init found. Try passing init= option to kernel ridak Fedora 0 07-14-2004 08:23 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-19-2004 12:10 AM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Linux - Newbie 4 03-10-2004 07:08 AM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 11:18 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 - Distributions > Slackware

All times are GMT -5. The time now is 11:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration