No partitions found - need to recreate partition table

How to use TestDisk to recover lost partition
Post Reply
Message
Author
morgana
Posts: 1
Joined: 23 Feb 2017, 11:29

No partitions found - need to recreate partition table

#1 Post by morgana » 23 Feb 2017, 11:42

Hi All,

I accidentally deleted the boot partition and now in boot error state.

I have used testdisk to find the partition but somehow it only shows my USB drive:

Code: Select all

Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 7761 MB / 7401 MiB - CHS 1022 239 62
     Partition               Start        End    Size in sectors
>  EFI System                    40     409639     409600 [EFI]
   EFI System                    46     409645     409600 [EFI]
   MS Data                    38294      44291       5998 [GParted-EFI]
   MS Data                   411648   15157247   14745600 [CHELLA]
   MS Data                   411654   15157253   14745600 [CHELLA]
   MS Data                   445320     452701       7382 [OCS-EFI]
   MS Data                  8056982    8059861       2880 [EFISECTOR]
   MS Data                  8059862    8062741       2880 [EFISECTOR]
   MS Data                 10329194   10335191       5998 [GParted-EFI]
   MS Data                 10888310   10894307       5998 [GParted-EFI]


Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
                P=Primary  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
root@partedmagic:~# ^C209 MB / 200 MiB
root@partedmagic:~# 
Also in Gparted it only shows my USB i think because the size is only 7,23 GiB (unallocated).

http://imgur.com/00CNwNg

I think i need to recreate partition table to restore master boot but how do i go about fixin that?

This is the output of fdisk:

Code: Select all

root@partedmagic:~# fdisk -l

Disk /dev/sda: 7761 MB, 7761035264 bytes, 15158272 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 label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
root@partedmagic:~# 
Any ideas how te recreate the partition table or maybe i'm using different testdisk settings?

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3765
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: No partitions found - need to recreate partition table

#2 Post by cgrenier » 23 Feb 2017, 20:58

If /dev/sda is your USB key and not your HD, I have no solution until your physical disk is listed.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest