I think knoppix-std has 'testdisk' on it.
it'll scan the whole drive, and recover lost partitions, and rewrite the tables.
I added some critical windows patches to a file server at work. After restarting the machine Windows claimed the second HD was dead.![]()
I was suspicious about this 'hardware error' (especially after a software update) so I grabbed a Knoppx CD from home the next morning and gave it a try when I got in to work.
Yep, the drive was working perfectly. Nothing I did on the Windows machine could fix the problem and convince windows to 'see' the drive, but luckily Knoppix comes with a CD burning app built-in, so all the files were burnt to CD and moved to our other file server. The boot, browse, burn took only a few minutes and was as smooth as silk.
The reason knoppix saved my life? Our last backup from the 'dead' drive had failed -- which, of course, you often only discover when you most need it.
I might need to make a donation to balance the Karma.
I think knoppix-std has 'testdisk' on it.
it'll scan the whole drive, and recover lost partitions, and rewrite the tables.

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99
Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99
ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49
Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99
ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99
ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99
ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard
$351.99