Need Linux help before I can use RStudio

A forum on data recovery using the professional data recovery software R-STUDIO.
DataRecoveryWorks
Posts: 5
Joined: Mon Jun 29, 2015 4:14 am
Contact:

Need Linux help before I can use RStudio

Post by DataRecoveryWorks » Fri Apr 08, 2016 10:04 am

Hey all, RStudio isn't able to see a drive b/c (I think) a partition is being incorrectly reported, perhaps someone can help?

I know just enough about Linux to mess things up, so apologies in advance. I have tried looking at some of the other threads similar to this, but none of the answers seem to help. I have a 4TB Seagate Central drive that I need to get data off, but I am unable to, hoping you can help.

Here is what I have tried so far, I've 'bolded' the commands I entered

pc1@PC1:/$ sudo parted -l

Code: Select all

Model: ATA Hitachi HDS72101 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  256MB   255MB   primary   ext2         boot
 2      257MB   1000GB  1000GB  extended
 5      257MB   1000GB  1000GB  logical                lvm


Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh
table, and using Parted's rescue feature to recover partitions.

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-swap_1: 4249MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system     Flags
 1      0.00B  4249MB  4249MB  linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-root: 996GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  996GB  996GB  ext4
pc1@PC1:/$ sudo gdisk /dev/sdb

Code: Select all

GPT fdisk (gdisk) version 0.8.8

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Caution! After loading partitions, the CRC doesn't check out!
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************

Warning! Secondary partition table overlaps the last partition by
3472328288413643170 blocks!
You will need to delete this partition or resize it in another utility.

Command (? for help): i

Code: Select all

Partition number (1-128): 8
Partition GUID code: E6D6D379-F507-44C2-A23C-238F2A3DF928 (Linux LVM)
Partition unique GUID: B05189FC-488F-4DED-97F7-0C5E644CF129
First sector: 10569728 (at 5.0 GiB)
Last sector: 7814037134 (at 3.6 TiB)
Partition size: 7803467407 sectors (3.6 TiB)
Attribute flags: 0000000000000000
Partition name: 'Data'
Command (? for help): v

Code: Select all

Problem: partition 119 is too big for the disk.

Problem: partition 120 is too big for the disk.

Problem: partition 121 is too big for the disk.

Problem: partition 122 is too big for the disk.

Problem: partition 123 is too big for the disk.

Problem: partition 124 is too big for the disk.

Problem: partition 125 is too big for the disk.

Problem: partition 126 is too big for the disk.

Problem: partition 127 is too big for the disk.

Problem: partition 128 is too big for the disk.

Warning! Secondary partition table overlaps the last partition by
3472328288413643170 blocks!
You will need to delete this partition or resize it in another utility.

Identified 4281 problems!
sudo fixparts /dev/sdb

Code: Select all

(parted) check 8

Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh
table, and using Parted's rescue feature to recover partitions.

(parted) rescue start

Code: Select all

Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh
table, and using Parted's rescue feature to recover partitions.
So this is as far as I can get...which is just far enough for it to keep telling me what is wrong and what to do to fix it, I just don't know how to go about that - it actually seems like it isn't that hard, but I don't want to mess around with it any more at this point b/c I don't know what I am doing. I've checked out the info here -->http://www.rodsbooks.com/gdisk/repairing.html but don't understand it enough to proceed with confidence - HELP! :-)

Alt
Site Moderator
Posts: 2271
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Need Linux help before I can use RStudio

Post by Alt » Mon Apr 11, 2016 6:46 am

R-Studio should see the hard drive as a physical device regardless of how severe the data on it is damaged. Then you can scan the drive to find its partitions and copy files from them. And if it doesn't see the drive, something wrong with the hardware.
Regenerating the GPT table is another matter, and R-Studio cannot do it automatically. You need to use another software.

Post Reply