Gparted asking for command gpart, which is not in Software Center

Asked by Joe Gerwin

I have an external drive with a damaged table of contents due to an intermittent USB port that opened file manager and insecurely un-installed a handful of times in a couple seconds. I wanted to run "attempt data rescue" in Gparted. It responds with "command gpart not found". I encountered this once before and "gpart" came up in the software center, as well as gparted, but that no longer appears to be the case.

1) Can gpart be added to the software library
2) is there another option for table of contents restoration

 Also, the particular drive in question is format in FAT32, not ext. If that is a factor, and/or I should be seeking out a windows option, any input is appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joe Gerwin (joe-g101) said :
#1

UPDATE - upon a second reboot after installation of Gparted, gpart does now come up in software center. I installed and proceeded to run data rescue and the the Gparted tab is in freeze. The tab has gone grey, and a "search for file systems on..." comes up with explanation of full disc scan need and a long time possibly needed, but does not respond or go away when "ok" is selected. No status bar or noise coming from drive to indicate anything is happening. Disappointing. This is a newly installed version of 14.04 LTS with an update run minutes before install and use of Gparted.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Why don't you restore your user data from your backups? You do have backups, right?

Revision history for this message
Joe Gerwin (joe-g101) said :
#3

No t sure why Andrew would ask a pointless question rather than try to provide a solution. But so everyone knows - it IS my backup drive. Not everything was essential, but I had just moved some files on to it to switch my desktop install from Mythbuntu - which I did not like at all, back to Ubuntu. I made the mistake of plugging the drive in to a laptop to watch a downloaded TV show while the other installation was happening. Couldn't have been a worse case of poor timing.

Revision history for this message
Curtis Gedak (gedakc) said :
#4

If the problem is that the partition table is missing, you might try testdisk [1] to scan the surface of the disk guess the partition table. Testdisk is more up-to-date than the older gpart (no "ed) command.

If the partition table is unrecoverable, you might try photorec [2] to scan the surface of the disk looking for files that it recognizes. Recovering data this way is very tedious, but possible.

Please not that before attempting recovery, it is a good practice to make an image backup of the device. That way if any recovery step makes things worse, then you can restore the image and start again.

[1] http://www.cgsecurity.org/wiki/TestDisk
[2] http://www.cgsecurity.org/wiki/PhotoRec

Can you help with this problem?

Provide an answer of your own, or ask Joe Gerwin for more information if necessary.

To post a message you must log in.