Sponsored Content
Special Forums Hardware Unrecognized disk label on my external HD Post 302896197 by Sampa on Saturday 5th of April 2014 08:16:04 AM
Old 04-05-2014
Unrecognized disk label on my external HD

Hi everyone,
I have an external hard drive and I accidentally deleted the partition table.
Can I restore my files?
If I try to run the f-disk command this is what it says
Code:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1549f232

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *   313845760   621045759   153600000   83  Linux
/dev/sda2       621045760   625141759     2048000   82  Linux swap / Solaris
/dev/sda3            2048   313845759   156921856    7  HPFS/NTFS/exFAT

Partition table entries are not in disk order

Disk /dev/sdb: 2000.4 GB, 2000396746752 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907024896 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Any ideas?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cannot label disk when partitions are in use as described

:confused: Hello, In my Solaris system, I want to resize my mounted home directory slice. 1.I unmount the slice, #umount /export/home 2.Resize the directory #format>partition> 3.#format>label 4.#format>Cannot label disk when partitions are in use as described. So, How can label ? Thanks (2 Replies)
Discussion started by: XNOR
2 Replies

2. Solaris

Warning: No Disk Label

Hi Fellows, I am trying to mirror 2 identical disks on a SUN Ultra 10 machines (with new installation of Solaris 8). In the process, I found 2 issues: 1. prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0 Result: Disk partitions between the 2 disks do not match up. 2. manually... (2 Replies)
Discussion started by: o51974
2 Replies

3. Solaris

ZFS disk label missing

I 'm having problem in importing a zfs pool was getting error device missing and upon further digging found that labels on my disk for zpool are missing Does anyone know how to recover from it ? root@essapl020-u006 # zdb -l /dev/dsk/emcpower0c --------------------------------------------... (0 Replies)
Discussion started by: fugitive
0 Replies

4. Solaris

Help:"Bad checksum in disk label" and "Can't open disk label package"?

Hello, I'm brand new to Sun/Solaris. I have a Sun Blade 150, with SunOS 5.8. I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies

5. UNIX for Dummies Questions & Answers

How to read a disk label?

Hi there, I'm wondering how to display a disk label (why not edit it but I don't need that yet). I found several commands on forums like disklabel and diskinfo but I can't find them on my system and don't know the package they belong to. Can you help me? Cheers Santiago (2 Replies)
Discussion started by: chebarbudo
2 Replies

6. Hardware

Unrecognized disk label of a external HD

I have a external HD that I can't seem to open. When I try to open it with gparted it says unrecognized disk. When I run gparted from the terminal this is what it says. ~ $ sudo gparted ====================== libparted : 2.2 ====================== /dev/sdb: unrecognised disk label When I... (18 Replies)
Discussion started by: cokedude
18 Replies

7. Solaris

label a slice on disk erorr

Hi there, I am trying to do root volume mirroring on SunFire V210 server. I have two disks in it.First one is c1t0do and second one is c1t1do. Both disks already have partitions in them so I am deleting the partitions of second disk(c1t1do) using format command and selecting cylinder start 0... (2 Replies)
Discussion started by: newbi8321
2 Replies

8. Solaris

Script to label a disk

Hi Guys, Do you have any script to label a disk automatically. It is part of my script but I am not able to find solution to label this inside script without user intervention. (2 Replies)
Discussion started by: prashant2507198
2 Replies

9. HP-UX

Expert Recovery Shell - Fatal Error: Unrecognized disk layout

I have a B.11.31 U ia64 system where I swremove the disk driver "SerialSCSI-00 B.11.31.1303 PCI-X/PCI-E SerialSCSI" (by mistake). afterwards the system won;t boot because of the missing disk drivers. I'm trying to recover my kernel by using the image HP-ux_11_31_disc_1.iso Run an Expert... (1 Reply)
Discussion started by: black_fender
1 Replies

10. SCO

Unsuccessful install due to unrecognized disk issue

Dear Community! i try to instaled the sco 6 in hp proliant ML350g8 but unsucces, the trouble when i do instaled it undetected hardisk please help me :(:o (7 Replies)
Discussion started by: mnr
7 Replies
PREP(8) 						      System Manager's Manual							   PREP(8)

NAME
prep, format - prepare hard and floppy diskettes SYNOPSIS
disk/prep [ -ra ] special [ type ] disk/format [ -t type ] [ -f ] [ -d ] [ -b bfile ] [ -c csize ] [ -l label ] drive [ files ... ] DESCRIPTION
A partition table is stored on a hard disk to specify the division of the physical disk into a set of logical units. On Plan 9 the parti- tion table is a list of triples: name, starting sector, and ending sector. The kernel fabricates the first two partitions, disk and parti- tion; the disk partition records the starting and ending sectors for the whole disk, and the partition partition, typically the last sector on the disk, holds the partition table itself. Special is the maximal prefix of names of the logical units on the disk, for example #w/hd0. Prep reads and prints the associated parti- tion table and then enters a simple interactive mode to control editing the table. The options are: -r (read only) prohibits writing the table on disk. -a automatically create default partitions if no partition table already exists. These include partitions for DOS, a boot kernel, an NVRAM substitute, a kfs(4) file system, and, if room remains, a swap partition. Format prepares for use the floppy diskette in the disk file named drive, for example /dev/fd0disk. The options are: -f Do not physically format the disc. Used to install an MS-DOS filesystem on a previously formatted disc. With this option, drive can be a plain file. -t specify a density and type of disk to be prepared. The possible types are: 31/2DD 31/2" double density, 737280 bytes 31/2HD 31/2" high density, 1474560 bytes 51/4DD 51/4" double density, 368640 bytes 51/4HD 51/4" high density, 1146880 bytes The default is the highest possible on the device, unless -f is used, in which case the default is 31/2HD. -d add MS-DOS parameter block, file access table (FAT), and root directory to the start of the floppy. The remaining options have effect only when -d is specified: -b use the contents of bfile as the bootstrap block installed in sector 0. -c use a DOS cluster size of csize sectors when creating the DOS FAT. -l add a label when creating the DOS parameter block. Again under -d, any files listed are added, in order, to the root directory of the MS-DOS filesytem. The files are contiguously allocated and created with the READONLY attribute set. The file /sys/src/boot/pc/bb is an example of a suitable bfile to make the disk a boot disk. It gets loaded by the BIOS at 0x7C00, reads the root directory into address 0x7E00, and looks at the first root directory entry. If that file is called B.COM, it uses single sector reads to load the file into address 0x10000 and then jumps to the loaded file image. EXAMPLE
Create a Plan 9 boot floppy on a previously formatted diskette: disk/format -f -b bb -d /dev/fd0disk /386/b.com SOURCE
/sys/src/cmd/disk/prep.c /sys/src/cmd/disk/format.c /sys/src/boot/pc/bb.s SEE ALSO
floppy(3), wren(3), b.com(8) PREP(8)
All times are GMT -4. The time now is 04:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy