Recover a linux sytem

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
Posts: 1
Joined: 28 Sep 2017, 11:19

Recover a linux sytem

#1 Post by paulmac »

Hi, I have a linux system that on booting yp is reporting duplicate Bad Blocks on /dev/hda2 press ctrl D to continue

Ctrl D simply reboots the system, I dont have any CD's or disks for the OS.

What can I do to be able to run Testdisk or something similar ?

Sponsored links

User avatar
Site Admin
Posts: 5307
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France

Re: Recover a linux sytem

#2 Post by cgrenier »

You should create a Linux LiveUSB or LIveCD/DVD and run "fsck /dev/hda2".
See there is a chapter on how to create a LiveUSB.