linux boot problem

Had bad blocks on my system (debian linux). ran fsck and e2fsck. Now it won't boot, even in Linux single. Stops in initramfs, after correctly identifying the installed keyboard. When I hit ctrl-d it says 'cannot open /root/dev/console' and 'kernel panic' and reboots itself - back to the same place

What is best to do next?I have the original installation CD, and I think some sort of a backup on a network drive - but cannot get to the network drive, and it may not be a system back-up anyway (just key files I have customised)
SteveHodgeAsked:
Who is Participating?
 
SteveHodgeConnect With a Mentor Author Commented:
Thanks anyway. I have re-installed - a real pain - still at it but will get there in the end
0
 
rindiCommented:
I would check the system for hardware errors, like bad RAM or bad HD's. Most Linux distro's include memtest86+ (you should have that as a boot option when grub shows it's menu, or also on the CD). Use that to test the RAM. If it shows errors, remove all RAM modules except one and then test that module, if it is good, test the next and so on, until you have found the bad module. If you can't find the bad module, you may have a bad memory slot, so test a good module in the other slots until you have found the bad one. Of course it's also possible that one of the modules wasn't correctly seated, and it may now work if you add all the modules again. Another cause if the modules and slots work properly when they are alone, but not when all modules are in place, could be that you are overclocking. Check if you can change timings and power for the Memory within the BIOS.

Also check your HD's using the manufacturer's diagnostic utility. You'll find those on the UBCD (memtest86+ is included on that CD too if your distro doesn't include it):

http://ultimatebootcd.com

If you are using hardware RAID you will have to remove the disks form that PC and connect them to a non RAID system so the diagnostic tool sees the disks as single HD's and can check them.
0
 
SteveHodgeAuthor Commented:
Th OS is running on a mac mini box - ie powerpc. Don't think I can do any of those memory checks
0
 
rindiCommented:
When it comes to powerpc, I know nothing. Maybe Apple has some tools for testing the hardware?
0
 
SteveHodgeAuthor Commented:
None of the answers worked
0
All Courses

From novice to tech pro — start learning today.