Solved

RED HAT LINUX 9(Kernel Panic)

Posted on 2004-08-25
14
456 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
 
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now