LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-17-2004, 08:04 PM   #1
only1gameguru
Member
 
Registered: Sep 2003
Location: a magical place, on some remote place on the planet
Distribution: Mandrake 10.1 winxp pro, free bsd
Posts: 91

Rep: Reputation: 15
Kernel Panic: No init found


read title then,

it tells me to try passing init= option to kernel

any idea how i can fix this without reinstalling.

I have no idea how i got this message and if you are wondering
I am using Lilo bootloader
And before that it said

[Error 5] something
Press Shift to Continue

Very many thanks to (s)he who helps me and i shall always be in your debt
 
Old 04-17-2004, 08:13 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
post the output of fdisk -l
and the contents of your lilo.conf file.
 
Old 04-17-2004, 08:31 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
  • Try booting from your install disc, entering "rescue" mode (press F1 before the install routines start, and then type "rescue" followed by <Enter>).
  • Go to the menu item that says "mount partitions under /mnt".
  • Then open a console.
  • Type chroot /mnt
  • Edit your lilo.conf file (emacs /etc/lilo.conf) and add the appropriate lines as below.
  • Once done, type /sbin/lilo
  • Then reboot and cross your fingers.
Your default Linux entry should look something like this:
Code:
image=/boot/vmlinuz
        label="linux"
        root=/dev/hdaX
        initrd=/boot/initrd.img
        append="devfs=mount hdc=ide-scsi hdf=ide-scsi"
        vga=794
        read-only
You will need to change the line that says "root=/dev/hdaX" to reflect your real / partition. The important line is the "initrd=/boot/initrd.img" line.

Good luck.
 
Old 04-18-2004, 03:04 PM   #4
only1gameguru
Member
 
Registered: Sep 2003
Location: a magical place, on some remote place on the planet
Distribution: Mandrake 10.1 winxp pro, free bsd
Posts: 91

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by AutOPSY
post the output of fdisk -l
and the contents of your lilo.conf file.
i dont know nor do i know how to view the output of my fdisk -l
but the lilo output should be

linux
failsafe
windows

but i checked the lilo.conf file in the emacs as Thymox reconmaned and there was nothing there....
-----------------------------------------------------------------------------------------------
would be easier for me to reinstall the OS dispite the fact I want to be able run linux and fix all the problems without reinstalling the OS. Dispite the fact I am quite sure that everything can be fixed with reinstalling it

Last edited by only1gameguru; 04-18-2004 at 03:10 PM.
 
Old 04-19-2004, 06:32 AM   #5
only1gameguru
Member
 
Registered: Sep 2003
Location: a magical place, on some remote place on the planet
Distribution: Mandrake 10.1 winxp pro, free bsd
Posts: 91

Original Poster
Rep: Reputation: 15
this was a head scretcher...
but i found out the trouble...
my brother set the computer up and plugged the harddrive into the wrong IDE contentor thing... which brings me to something why does it make a difference in Linux and not Windows...?
 
Old 05-03-2004, 11:32 PM   #6
d_t_baker
Member
 
Registered: Oct 2003
Location: AU
Distribution: Ubuntu
Posts: 57

Rep: Reputation: 15
Windows is designed to "guess" what the user does and fix it without the user knowing they did somethign wrong, which is bad when u intentionally do somethign and windows fixes it.

In Linux if you change which IDE cable ur hdd is plugged into, the HDD will get a new "label" (ie from hda to hdc) and the rest of linux wont know how to find the new label.
 
Old 05-04-2004, 06:03 PM   #7
only1gameguru
Member
 
Registered: Sep 2003
Location: a magical place, on some remote place on the planet
Distribution: Mandrake 10.1 winxp pro, free bsd
Posts: 91

Original Poster
Rep: Reputation: 15
man windows sucks even more in my eyes now
 
Old 05-04-2004, 11:45 PM   #8
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
look at (kernel source tree)/Documentation/devices.txt for the definitions of hda, hdb, hdc etc, etc

and its not really a new label, the kernel sees the devices /dev/hda as the master on ide0 (primary ide slot), /dev/hdc is the slave of the primary ide slot
 
Old 05-13-2004, 02:24 PM   #9
decypher
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Hello, I am running mandrake 9.2 and recently compiled the kernel and am experiecing similar problems are the poster of the thread. I've checked my lilo.conf and everything is precisely as it was before the compile, only the vmlinuz value has been changed on all the boot options. What gives? What can I do to fix this?
 
  


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 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 ridak Fedora 0 07-14-2004 07:23 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Mandriva 7 03-14-2004 02:37 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 - General

All times are GMT -5. The time now is 04:01 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