Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 526
  • Last Modified:

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
0
bibinbhanu
Asked:
bibinbhanu
  • 5
  • 3
  • 2
  • +2
1 Solution
 
dimitryCommented:
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
 
da99rmdCommented:
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
 
bibinbhanuAuthor Commented:
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
da99rmdCommented:
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
 
bibinbhanuAuthor Commented:
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
 
dimitryCommented:
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
 
da99rmdCommented:
bibinbhanu,
knopix can you download from the internet, its free and you can run it only from the cd.
/Rob
0
 
bibinbhanuAuthor Commented:
thanks for the help,
I dont know how knopix can help me in this regard.
0
 
vizegCommented:
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
 
bibinbhanuAuthor Commented:
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
 
vizegCommented:
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
 
bibinbhanuAuthor Commented:
Thanks for the suggestion.I have taken a bootable floppy.
:)
0
 
GhostModCommented:
PAQed with points refunded (500)

GhostMod
Community Support Moderator
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 5
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now