TestDisk issue with Linux

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Posts: 2
Joined: 05 Jul 2012, 10:05

TestDisk issue with Linux

#1 Post by themattkim »

howdy folks!

long story short...

blew my /boot partition on my CentOS server which caused the server not to boot. found my partitions in 'linux rescue' using TestDisk which i wrote back to disk. TestDisk advised me to reboot...i did, but still not booting up properly. i went back into 'linux rescue' and did a 'fdisk -l'...found all the missing partitions that weren't there before. so i know its been written to disk, but still having an issue booting up. it will not get to the splash screen and gets stuck at a blank screen with a cursor.

is my grub.conf still messed up? also i noticed that my partitions went from /dev/sdb# to /dev/sda#.

any help would be much appreciated!