Linux bootup: kernel panic: pivot_root failed
I have a Dell p2 system with 40GB hardrive and 128mb ram.
Windows 98 was oringinally installed on the 40GB hard drive. I used Partition Boot Magic 4 in windows to limit the original drive to 20GB and created 20GB of free space for a Linux installation. I then installed Linux Fedora Core 1 on 20GB of free space. This was up and working with no problems.
I then installed java 1.4.2, jakarta ant, jakarta tomcat 4.0.6 and MySQL 4.0.18. These applications all installed successfully and were working fine.
One week ago my machine stopped booting up successfully and has been the same ever since. I keep getting kernel panics as below:
> Ext3-fs: mounted file system with ordered data mode
> pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed:2
> umount /initrd/proc failed : 2
> freeing unused kernel memory: 132k freed
> kernel panic: No init found. Try passing init=option to kernel
Using instructions found online, I have booted linux in rescue mode and completed a mkinitrd and successfully replaced the existing initrd. This has had no impact and I still get the above problem.
Due to timescales I would prefer not to reinstall Linux.
Does anyone have any clues as to what is causing this kernel panic? and how I can go about fixing it?
Can I avoid reinstallng from scratch?
If I do have to reinstall can I stop this re-occurring in the future?
Any advice, pointers greatly appreciated.
Thanks in advance.