I am unable to connect the laptop to the network as it is unbootable. However, I have removed the HDD from it and am currently trying to access it by connecting it to my PC via docking station and PC is running Ubuntu.
I have actually read that page you linked but don't understand how to install the programs from the repositories. I tried "sudo apt-get install testdisk"
I got this: Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package testdisk
ubuntu@ubuntu:~$ testdisk device
The program 'testdisk' is currently not installed. You can install it by typing:
sudo apt-get install testdisk
You will have to enable the component called 'universe'
Hi,
Just noticed you had added further instruction to your post and I am about to try that and will then proceed to the data recovery page you linked and see how I get on now.
Thought this may be helpful:
Output from sudo parted -l:
Code:
Model: ATA ST1000DM003-1CH1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 157GB 157GB primary ntfs
3 157GB 315GB 157GB primary ntfs
4 315GB 472GB 157GB primary ntfs
Model: NORELSYS 106X (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 524MB 523MB ntfs Basic data partition hidden, diag
2 524MB 839MB 315MB fat32 EFI system partition boot
3 839MB 973MB 134MB Microsoft reserved partition msftres
4 973MB 473GB 472GB ntfs Basic data partition msftdata
5 473GB 473GB 493MB ntfs hidden, diag
6 473GB 474GB 366MB ntfs hidden, diag
7 474GB 499GB 25.5GB ntfs Basic data partition hidden, diag
8 499GB 500GB 1074MB fat32 Basic data partition hidden, diag
==========================================
The bottom hard drive is the one I am trying to fix. Do you think we can rescue those hidden partitions?
This is the results from me running the commands you suggested:
Code:
ubuntu@ubuntu:~$ sudo apt-get install testdisk
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package testdisk
ubuntu@ubuntu:~$ man testdisk
No manual entry for testdisk
ubuntu@ubuntu:~$ man photorec
No manual entry for photorec
Does it matter that I don't have Ubuntu installed and I am just running from LIVE CD?
***Update***
After spending over 2 hours trying to get this to work I decided to install Ubuntu instead of running it from Live CD. After doing this I was able to install testdisk, so it would appear that the program repositry was not available from the LIVE CD.
Going to go and try and clone the drive now before I begin trying to fix the partition and recover the data. Thanks for the help so far. Will let you know how I get on.
***Update 2***
I am having no luck trying to fix this. As far as I can tell the master file table is corrupt as I managed to get into my UEFI, disable secure boot and boot from USB drive with Windows, I then ran chkdsk from command prompt.
In Ubuntu I ran
sudo fsck /dev/sdb & sudo fsck /dev/sd4
before realising they would not work on NTFS
Upon realising that I installed ntfsprogs and ran: and got following message:
Error opening '/dev/sdb': No such file or directory
Volume is corrupt. You should run chkdsk.
I then found a way to check the disk for errors (can't find the command I used) and it is just returning this message:
Warning: read error (EIO) near sector (xxxxxxxx) , skipping.
This is still running and I am waiting to see the end message. Just completed there and end message is
*** Fatal error: dev(/dev/sdb): seek failure.
While I have been waiting for that to complete, I have been doing further reading and came across this: http://www.cgsecurity.org/wiki/Advan...and_MFT_Repair
The sections that are of interest to me are:
Recovering An NTFS Boot Sector On An NTFS Partition Using Its Backup
and
Rebuilding An NTFS Boot Sector On An NTFS Partition
. However, I do not understand how to do what they are suggesting. Could someone talk me through this please?
I have also been trying to use gddrescue and have got as far as installing, opening and reading help but I am scared to run it as I know it can wipe things if you don't know what you are doing. Therefore, I was wondering if someone would be kind enough to talk me through it or show me where I can find a guide for dummies like myself.
Thanks
Bookmarks