Greetings to all beautiful people out there
This is a newbie sysadmins from Baghdad trying to find his way out in enormous Linux realm
If I may ask, I want to dig deep to the cause of this kernel panic problem which occurred after series of hard powering off the machine couples times
The snapshot of my screen is below:
Many appreciation Mr. Doyle for your fast response and allocating some time for my post.
I couldn’t manage to deploy your guidance due to strange behavior.
Unfortunately, the situation seems to be a little bit complicated, in sense, that I already deployed many kernel version to keep for researching and studying purposes, so I have more than 10 version of it to choose from as shown below:
As many are suggesting to go with an easy approach and do a fresh Linux install after extracting my important data (if there was), yet I tend to get myself a full picture of what is happening behind the scenes of Linux Booting Process and it’s stages (read many books and articles regarding boot process). Therefore any kernel version I try to use it end up to the same issue, kind of strange to me.
Steps I have taken:
After many attempts in which I’ve tried my best to bypass that level of error and tried to get myself a terminal to do some sanity check, finally I’ve found an ambiguous approach buried deep in book called CompTIA Linux+ Study Guide Exam XK0-004, page 560, title Surviving a lost root password, so I deployed one of its suggested steps to press E key on boot menu to edit the grub, then look for (ro) kernel parameter and change it to rw init=/sysroot/bin/sh once you’ve done press Ctrl+X to boot the system, AND THAT WORKED when I’ve reached to emergency console prompt in which I’ve been looking for, so I can reach to the virtual file system.
Again I’ve discovered strange things! when I ls -lh the root (/) directory there were no /boot directory at all.
So what happens if you try and reboot from - Fedora (5.10.7-200… (The 2nd on the list)? Are you able to boot from any of the kernels listed? If not you will to reinstall and restore from a backup up. Or if your setup has a separate home partition, you should be able to reinstall and keep your data.
Many respects to you Rene for referring me to the last link in which I’ve found one of my ambiguous questions pieces which the answer to it was, I quote:
“ Even if your file system is mounted, the default root partition while in rescue mode is a temporary root partition, not the root partition of the file system used during normal user mode (runlevel 3 or 5). If you selected to mount your file system and it mounted successfully, you can change the root partition of the rescue mode environment to the root partition of your file system”