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 09-21-2004, 05:36 PM   #1
Moritsu
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
Unhappy Kernel Panic: No initr found!!!


Please help me this is very urgent, I seem to have accidently deleted something important to the Kernel because now my Linux bozx won't boot (RedHat 9.0 BTW).

It states Kernel Painc: initr not found. Try passing init= option to kernel...

What does this mean? Can anyone help me????????
 
Old 09-21-2004, 07:31 PM   #2
Ateo
Member
 
Registered: Sep 2004
Location: Long Beach, CA
Distribution: FreeBSD,Ubuntu,Gentoo,MacOS
Posts: 139

Rep: Reputation: 15
What did you do between the last good boot and your kernel panic? Did you tinker with /boot? What boot loader are you using?
 
Old 09-21-2004, 08:04 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,350

Rep: Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908
initrd - initial ramdisk.
A good explaintion from SuSE
http://portal.suse.com/sdb/en/2000/02/initrd.html

Boot using the 1st CD and select rescue mode. Your / directory will be mounted at /mnt/sysimage
Type the commands
chroot /mnt/sysimage

If you have a boot partition create a directory and mount it. Change to the boot directory and then type the commands
uname -r (to find the kernel version)

cat /boot/grub/menu.lst | less (To determine what the name of the image file) (press space bar to continue, q to quit) Look for the default boot to find out the image name.

mkinitrd <initrdname.img> <kernel-version>

The other alternative is to use any name for the image file and then edit the /boot/grub/menu.lst file to match the new name.
 
Old 09-21-2004, 08:47 PM   #4
Moritsu
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
One problem.....

I got this machine with Linux installed... And it has no CD-ROM!!! is there anything to help me???
 
Old 09-21-2004, 08:50 PM   #5
Moritsu
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
LILO

Lilo boot loader......
 
Old 09-21-2004, 09:19 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
First off -- don't panic! This can be fixed, probably, but it's going to take a little work. There's no such thing as an initr, does the message say it's missing an initrd, as MichaelK suggest, or is it missing the init (the actual first non kernel process)? It's very important to get the error message exactly correct, because the problem is different in each case.

Anyhow, do you have a boot floppy? If not, maybe acquire tomsrtbt from http://www.toms.net/rb/ which will at least get you into your system. Unfortunately, tomsrtbt does not seem to have mkinitrd installed, but if it detects your network card (and it should be able to, at least that was my experience when I had to try to recover a majorly hosed system with it, a couple years ago) you can probably yank the kernel and init packages off of FTP and reinstall them (or extra the files you need and put them in place yourself).

Also, is it possible you did something silly like changing your partitions or swapping IDE cables or something that would cause your partition table to no longer be correct?
 
Old 09-21-2004, 09:27 PM   #7
Moritsu
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry

Yes, it in fact says "No init found." I apoligize for getting all excitable.... Anyhow, yes I have a boot floppy but it is for RedHat 7.0... (I got this machine from work when they were getting rid of stuff they no longer needed.)

Should I just get one from the site you mentioned or should that floppy work?



Thanks for your help...
 
Old 09-21-2004, 10:07 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,350

Rep: Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908
I do not think the floppy will work for what we want. Go ahead and download Tom's boot/root disk. You might be able to get the PC to boot if you comment out the initrd line in the /boot/grub/menu.lst file. I am still guessing that this is the problem. Can you post any more of the boot messages? Do have any idea on what files you deleted or what you were messing with?
 
  


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 - Init Not Found!! The Pentium Guy Debian 3 10-14-2004 10:32 PM
Kernel panic: no init found choker Slackware 6 08-20-2004 06:37 AM
kernel panic: No init found mmmfanta Fedora 1 08-03-2004 08:34 PM
kernel panic: No Init Found SgtBhaji Red Hat 22 03-08-2004 08:46 AM
Kernel panic : No init found pvc9 Linux - General 2 12-23-2002 11:50 PM

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

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