Sponsored Content
Operating Systems Linux Gentoo Data recovery of formatted external HDD Post 302916105 by RudiC on Sunday 7th of September 2014 05:11:36 AM
Old 09-07-2014
What do you mean by "formatted"?
Did you actually create a new file system over the old one? Then I think you're doomed.
Did you overwrite the MBR? Then try testdisk to find/recover lost partitions, which is available on rescue CDs like grml, or, AFAIK, knoppix.
 

10 More Discussions You Might Find Interesting

1. Linux

Installing Linux on External HDD

Hi, I want to install LINUX on my laptop. I have a 2GHZ,1GB RAM and HDD is not partitioned. I donot want to touch this HDD and I have external HDD of 200GB. Can I install LINUX on this external HDD?. I would like system to detect linux only when I connect my external hard drive. else system should... (5 Replies)
Discussion started by: sureshht
5 Replies

2. Solaris

How to mount External HDD in VMware 6.0

Hi Friends, I am using VMware 6.0 and i want to transfer some files from External HDD so how to mount the Disk, and i am not able to assign any ip to my network card any one can help me how to set ip in VMware. Thanks and Regards, Venky.:b: (0 Replies)
Discussion started by: 1409.venkatesh
0 Replies

3. UNIX for Advanced & Expert Users

Use external HDD as archive0

Hello UNIX-community, We have an older SCO UNIX-system running PCS3 (an industrial platform) and since a few weeks we are experiencing problems with our archiving software. For about ten years, the system archives data to Magneto-Optical discs (MO-discs) and thus far it has worked fine.... (3 Replies)
Discussion started by: V4Friend
3 Replies

4. Filesystems, Disks and Memory

Linux HDD Recovery

Hello, I have my backup disks here because my server got hacked and we didn't like how liquidweb made the things. So we ask them to ship us the disk. They ran photorec and they got lots of .gz files from it. All accounts I would say. But 50% of them the .tar.gz files came corrupt. And is lefting... (2 Replies)
Discussion started by: asturmas
2 Replies

5. OS X (Apple)

Installing mac on external hdd?

Hi, As I did not find any specific group for this question, i am putting it here. Can I install Mac OS on an external hard disk? Is this possible or not? I know it is very hard to install mac os on non-mac hardwares. I have a dell inspiron laptop and i want to use mac from external hdd. ... (1 Reply)
Discussion started by: sanzee
1 Replies

6. Filesystems, Disks and Memory

Recovery of formatted ext3 partition

Hi! I have a really big problem right now. I (accidently) formatted a ext3 partition with "mkfs.ext3 /dev/sda1". The problem is that I REALLY need some files from there. The partition had a size of about 4GB, after accidently formatting it, I accidently rewrote Grub on it :wall: I hope I didn't... (3 Replies)
Discussion started by: al0x
3 Replies

7. UNIX for Dummies Questions & Answers

External HDD

I need to get an external HDD for a SUN server running Solaris 10. The Western Digital that I have will not recognize and when I went looking for drivers WD only has them for MAC and Windows. Is there a External HDD that is known to work with Unix? (24 Replies)
Discussion started by: SIFT3R
24 Replies

8. Red Hat

External HDD Issue

Hello everyone ! I just installed Red Hat 6.4 and when i plug in my external HDD firstly i can see the files and after 5 seconds all dissapears. What causes to this and ways to fix it ? Thanks in advance ! (1 Reply)
Discussion started by: djqbert
1 Replies

9. Red Hat

Suitable External HDD for Linux RHEL

Hi All, I am very new to UNIX systems and need your help. OS: RHEL 5.4(LINUX) 64 bit I need to get a new external 2TB HDD for transferring data from between linux machines. This HDD will not be used in any windows/MAC servers. Only on UNIX systems(linux/solaris) the USB device is to be... (1 Reply)
Discussion started by: Bikash Mishra
1 Replies

10. Solaris

Solaris can't detect external HDD on HP server

Hello, Unix users :) Has anyone had this problem when you connect an external hard drive to the server and it is simply not visible with any commands? The server is HP DL380 g8, and OS is: root@...:/# cat /etc/release Oracle Solaris 10 8/11 s10x_u10wos_17b X86 ... (16 Replies)
Discussion started by: Aratai
16 Replies
GPT(8)							    BSD System Manager's Manual 						    GPT(8)

NAME
gpt -- GUID partition table maintenance utility SYNOPSIS
gpt [general_options] command [command_options] device ... DESCRIPTION
The gpt utility provides the necessary functionality to manipulate GUID partition tables (GPTs), but see BUGS below for how and where func- tionality is missing. The basic usage model of the gpt tool follows that of the cvs(1) tool. The general options are described in the fol- lowing paragraph. The remaining paragraphs describe the individual commands with their options. Here we conclude by mentioning that a device is either a special file corresponding to a disk-like device or a regular file. The command is applied to each device listed on the command line. General Options The general options allow the user to change default settings or otherwise change the behaviour that is applicable to all commands. Not all commands use all default settings, so some general options may not have an effect on all commands. The -f option causes the gpt utility to open the device with O_SHLOCK|O_RDWR mode. Use this mode cautiously. It may conflict with other tasks currently have the write access to the same device. The -p count option allows the user to change the number of partitions the GPT can accommodate. This is used whenever a new GPT is created. By default, the gpt utility will create space for 128 partitions (or 32 sectors of 512 bytes). The -r option causes the gpt utility to open the device for reading only. Currently this option is primarily useful for the show command, but the intent is to use it to implement dry-run behaviour. The -v option controls the verbosity level. The level increases with every occurrence of this option. There is no formalized definition of the different levels yet. Commands gpt add [-b number] [-i index] [-s count] [-t type] device ... The add command allows the user to add a new partition to an existing table. By default, it will create an HFS partition covering the first available block of an unused disk space. The command-specific options can be used to control this behaviour. The -b number option allows the user to specify the starting (beginning) sector number of the partition. The minimum sector number is 1, but has to fall inside an unused region of disk space that is covered by the GPT. The -i index option allows the user to specify which (free) entry in the GPT table is to be used for the new partition. By default, the first free entry is selected. The -s count option allows the user to specify the size of the partition in sectors. The minimum size is 1. The -t type option allows the user to specify the partition type. The type is given as an UUID, but gpt accepts efi, hfs, apfs, linux and windows as aliases for the most commonly used partition types. gpt create [-fp] device ... The create command allows the user to create a new (empty) GPT. By default, one cannot create a GPT when the device contains a MBR, however this can be overridden with the -f option. If the -f option is specified, an existing MBR is destroyed and any partitions described by the MBR are lost. The -p option tells gpt to create only the primary table and not the backup table. This option is only useful for debugging and should not be used otherwise. gpt destroy [-r] device ... The destroy command allows the user to destroy an existing, possibly not empty GPT. The -r option instructs gpt to destroy the table in a way that it can be recovered. gpt label [-a] <-f file | -l label> device ... gpt label [-b number] [-i index] [-s count] [-t type] <-f file | -l label> device ... The label command allows the user to label any partitions that match the selection. At least one of the following selection options must be specified. The -a option specifies that all partitions should be labeled. It is mutually exclusive with all other selection options. The -b number option selects the partition that starts at the given block number. The -i index option selects the partition with the given partition number. The -s count option selects all partitions that have the given size. This can cause multiple partitions to be removed. The -t type option selects all partitions that have the given type. The type is given as an UUID or by the aliases that the add com- mand accepts. This can cause multiple partitions to be removed. The -f file or -l label options specify the new label to be assigned to the selected partitions. The -f file option is used to read the label from the specified file. Only the first line is read from the file and the trailing newline character is stripped. If the file name is the dash or minus sign (-), the label is read from the standard input. The -l label option is used to specify the label in the command line. The label is assumed to be encoded in UTF-8. gpt recover device ... The recover command allows the user to recover the GPT from the backup table. gpt remove [-a] device ... gpt remove [-b number] [-i index] [-s count] [-t type] device ... The remove command allows the user to remove any and all partitions that match the selection. It uses the same selection options as the label command. See above for a description of these options. Partitions are removed by clearing the partition type. No other information is changed. gpt show [-l] device ... The show command displays the current partitioning on the listed devices and gives an overall view of the disk contents. With the -l option the GPT partition label will be displayed instead of the GPT partition type. The option has no effect on non-GPT partitions. SEE ALSO
fdisk(8), mount(8), newfs(8), pdisk(8) HISTORY
The gpt utility appeared in FreeBSD 5.0 for ia64. BUGS
The development of the gpt utility is still work in progress. Many necessary features are missing or partially implemented. In practice this means that the manual page, supposed to describe these features, is farther removed from being complete or useful. As such, missing functionality is not even documented as missing. However, it is believed that the currently present functionality is reliable and stable enough that this tool can be used without bullet-proof footware if one thinks one does not make mistakes. It is expected that the basic usage model does not change, but it is possible that future versions will not be compatible in the strictest sense of the word. For example, the -p count option may be changed to a command option rather than a generic option. There are only two commands that use it so there is a chance that the natural tendency for people is to use it as a command option. Also, options primarily intended for diagnostic or debug purposes may be removed in future versions. Another possibility is that the current usage model is accompanied by other interfaces to make the tool usable as a back-end. This all depends on demand and thus feedback. BSD
May 7, 2012 BSD
All times are GMT -4. The time now is 11:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy