Link to home
Start Free TrialLog in
Avatar of bibinbhanu
bibinbhanu

asked on

RED HAT LINUX 9(Kernel Panic)

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
Avatar of dimitry
dimitry

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/
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
Avatar of bibinbhanu

ASKER

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
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
Hi Bob,
  It is the hard disk I am talking about.
  I dont have the knopix cd , where can i get it .
Thanx.
Bibin


 
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
bibinbhanu,
knopix can you download from the internet, its free and you can run it only from the cd.
/Rob
thanks for the help,
I dont know how knopix can help me in this regard.
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......
 
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
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...
Thanks for the suggestion.I have taken a bootable floppy.
:)
ASKER CERTIFIED SOLUTION
Avatar of GhostMod
GhostMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial