Solved

RED HAT LINUX 9(Kernel Panic)

Posted on 2004-08-25
14
488 Views
Last Modified: 2013-12-06
Hi,
  I am in a really bad situation.I did a nfsk to my sytem and some of the inodes got deleted, and I was working in root.(So Dumb of me). Now when i restarted my machine I am not able to boot the grub.It says :
    Kernel panic: no init found. Try passing init= option to kernel
  The worst case is that i do not have the red hat disks.
  Please help me .

Bibin
0
Comment
Question by:bibinbhanu
  • 5
  • 3
  • 2
  • +2
14 Comments
 
LVL 11

Expert Comment

by:dimitry
ID: 11899677
You can download (on another computer) RH 9.0 installation, burn it,  and boot from CD #1 and enter recovery mode... Or reinstall everything...
You can download RH 9.0 from any place, I found this:
http://ftp.redhat.com/pub/redhat/linux/9/en/iso/i386/
http://princo.org:8080/linux/redhat/9.0/iso/
0
 
LVL 8

Expert Comment

by:da99rmd
ID: 11900050
Hi bibinbhanu,
I think you have deleted the empty directory /initrd
This is needed under the boot up state.
So take a RH9 disk and boot up in rescue mode and recreate the directory and try a reboot.
/Rob
0
 

Author Comment

by:bibinbhanu
ID: 11900631
thanx for the help.
I have got the red hat cd 1 , but when i did linux rescue , it said that the disk is not partitioned.
Any help in this regard would be appreciated.
Bibin
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 8

Expert Comment

by:da99rmd
ID: 11900657
bibinbhanu,
> I have got the red hat cd 1 , but when i did linux rescue , it said that the disk is not partitioned.
are you refering to the hdd or the cd ?

If you are talking about the hdd then your data is moste sertain lost :(. Try starting from a knopix cd and run fdisk to se whats wrong.

/Rob
0
 

Author Comment

by:bibinbhanu
ID: 11900865
Hi Bob,
  It is the hard disk I am talking about.
  I dont have the knopix cd , where can i get it .
Thanx.
Bibin


 
0
 
LVL 11

Expert Comment

by:dimitry
ID: 11903937
If linux rescue dosn't "see" any partitions that means that you've lost MBR...(Master Boot Record)
If your disk didn't contain any important data, I would suggest to reinstall RH 9.0
0
 
LVL 8

Expert Comment

by:da99rmd
ID: 11904003
bibinbhanu,
knopix can you download from the internet, its free and you can run it only from the cd.
/Rob
0
 

Author Comment

by:bibinbhanu
ID: 11950148
thanks for the help,
I dont know how knopix can help me in this regard.
0
 

Expert Comment

by:vizeg
ID: 11951200
if you have ..............
1. Win98 installed and win98 bootable floppy available
2. hdd name where linux is installed (hda1...6, hdb1...6) like that

Do follow following steps :

1. Go to CD#1 of RH9 and find "dosutils" directory
2. now create one empty directory in your C:\ drive naming "Linux"
3. copy loadlin.exe from "dosutils" directory
4. copy "vmlinuz" from "autoboot" directory
5. create a batch file in the same "Linux" folder naming "linux.bat"
and write folloing one line.
REM ------------------
loadlin vmlinuz root=/dev/hda5
REM ------------------
6. OK i assume "hda5" is where you installed your RH9 ..otherwise whatever drive name you know replace is with "hda5" in the earlier batch file.
7. now reboot your PC with win98 bootable floppy.
8. Start DOS session ........
9. c:\
10. cd Linux
11. linux


that's it... if everything works fine you will get your RH9 booted ..probably you wont get GUI in this try..but don't worry ... as soon as you get RH9 command prompt..you can mount windows partition and overwrite \boot\vmlinuz" file on to c:\Linux\vmlinuz................

that's it......
 
0
 

Author Comment

by:bibinbhanu
ID: 12003587
Thanks for all the help , but it seemed that nothing was working because of some h/w problem and eventually I had to replace the hard drive with a newer one and had to install linux once again after porting all my data to another machine.

Thanks
Bibin
0
 

Expert Comment

by:vizeg
ID: 12003623
that's okay.

if you re-install RH9, don't forget to make bootable floppy (bootdisk). One thing i have experinced about linux booting from MBR. i.e. Windows O/S considers such MBR as virus and any kind of virus scanning from windows cleans MBR with no formal intimation. So suddenly we tend to lose the booting process and in turn we can't start any of the O/Ss. There are possibilities to boot Linux from DOS partition, and using NTLDR of WinNT,2k or XP.

stay around...
0
 

Author Comment

by:bibinbhanu
ID: 12041239
Thanks for the suggestion.I have taken a bootable floppy.
:)
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 14006447
PAQed with points refunded (500)

GhostMod
Community Support Moderator
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question