I have redhat 5 VM which was running as a ftp server but once I restarted the machine, it is not coming up.
It gets stucked at the point of loading kernel and returns with this error
kernel panic: not syncing Attempted to kill init
I thought it would be better to go to the rescue mode to fix the issue But when I went into rescue mode
This is the message which appears on the screen
You donot have any any linux partitions.You will be redirected to shell.Press cancel to reboot.
after this when I enter the shell most of the files goes missing from my file system
there is no fstab, grub
or all other main files
To give a try I did the same rescue method in my test vm where I get a message
your linux partition has been mounted on /mnt/sysimage
to change root you need to type chroot /mnt/sysimage
once I enter the shell I run the command as mentioned and all the files are visible
I did a bit of search on Google and I found that this is a sort of bug in anaconda for RED HAT but I don't see any solution for this bug
Can anyone please help me overcome this issue as this server contains very critical data.
Or is there any way that I can recover those data.