LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-26-2002, 07:17 PM   #1
Sam Hobbs
Member
 
Registered: Mar 2002
Location: Southern California
Distribution: Damn Small Linux (DSL) for now
Posts: 27

Rep: Reputation: 15
Zipslack getting "Kernel panic: no init found. Try passing init= option to kernel"


I am getting the "Kernel panic: no init found. Try passing init= option to kernel" message from loadlin in Zipslack. One previous question about the message is Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...).

I downloaded from slackware-8.0/zipslack/zipslack.zip from my chosen FTP site. I unzipped it to the top level directory of a DOS partition so that Zipslack is in the E:\linux directory. Zipslack uses LOADLIN v1.6b and kernel version 2.2.19. I edited the LINUX.BAT file as specified.

I am not aware of any other modifications I have made to the unzipped Zipslack files and supposedly that is all I need to do. I assume that since it got to the point of looking for init I do not have a problem with 16-bit real mode and extended memory and such. My LINUX.BAT now has:

E:\linux\loadlin \linux\vmlinuz root=/dev/hda6

I have tried other partitions (hda4-hda7 at least) and none of the others get that far, so it seems certain I am specifying the correct (logical) drive. I sure wish loadlin could be more helpful for determining what is the correct drive.
 
Old 03-27-2002, 12:53 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
i've never worked with loadlin, but i've run into this same problem using lilo. could you post the entire linux.bat file?
 
Old 03-27-2002, 02:09 PM   #3
Sam Hobbs
Member
 
Registered: Mar 2002
Location: Southern California
Distribution: Damn Small Linux (DSL) for now
Posts: 27

Original Poster
Rep: Reputation: 15
I did

I did post the entire linux.bat file. When I said "My LINUX.BAT now has" I could have said "My entire LINUX.BAT now is".
 
Old 03-27-2002, 03:34 PM   #4
Sam Hobbs
Member
 
Registered: Mar 2002
Location: Southern California
Distribution: Damn Small Linux (DSL) for now
Posts: 27

Original Poster
Rep: Reputation: 15
Other files

My Config.sys has:

Buffers=30
DOS=HIGH
Files=50
device=E:\Windows\himem.sys
device=E:\Windows\emm386.exe

My Autoexec.bat has:

@Set Temp=E:\Temp
@Set Tmp=E:\Temp
@Prompt $t$h$h$h $p $g
@PATH=E:\Windows;D:\UTILITYS;
@E:
CD \Linux

My MSDOS.sys has:

[Paths]
HostWinBootDrv=E

[Options]
BootMulti=1
BootGUI=0
Network=1
Logo=0
 
Old 03-28-2002, 10:37 AM   #5
Sam Hobbs
Member
 
Registered: Mar 2002
Location: Southern California
Distribution: Damn Small Linux (DSL) for now
Posts: 27

Original Poster
Rep: Reputation: 15
Solved

I solved it. The solution is that I was not using the correct partition (logical drive). I really thought I had tried the one that I should have tried but it works now.

I really think loadlin could provide more information about the partitions. If it is possible for the code that does the "partition check" to provide more information about each partition then that could help. Some (possible) information that would help are:
  • DOS/Windows Drive letter
  • Label
  • Partition type (FAT or NTFS or UNIX etc.)
  • Serial number; I think one exists for each partition
 
  


Reply



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 tulip4heaven Linux - Newbie 1 10-14-2005 01:33 AM
Kernel Panic: No init found. Try passing init=option to Kernel ridak Fedora 5 09-08-2004 01:25 AM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 03:38 AM

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

All times are GMT -5. The time now is 02:50 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
Open Source Consulting | Domain Registration