On Wednesday, 19 December 2018 18:46:40 GMT Grant Taylor wrote:
> On 12/19/2018 04:43 AM, Mick wrote:

> > Partition table holds up to 128 entries
> 
> 128 entries tells me that the disk has GPT partition table, not a
> classis MS-DOS / PC-BIOS partition table.
> 
> This sounds like the (what I understand to be) the classic protection
> partition that GPT fakes in PC-BIOS partition tables.
> 
> Do you have GPT partition support in your kernel?
> 
> I'm guessing the one partition that you see is the size of the entire drive.
> > Main partition table begins at sector 2 and ends at sector 33
> > First usable sector is 34, last usable sector is 1953525134
> > Partitions will be aligned on 2048-sector boundaries
> > Total free space is 4770 sectors (2.3 MiB)
> > 
> > Number  Start (sector)    End (sector)  Size       Code  Name
> > 
> >     1            2048          821247   400.0 MiB   2700  Basic data
> >     partition
> >     2          821248         1353727   260.0 MiB   EF00  EFI system
> >     partition
> >     3         1353728         1615871   128.0 MiB   0C01  Microsoft
> >     reserved
> > 
> > ...
> > 
> >     4         1615872      1911737034   910.8 GiB   0700  Basic data
> >     partition
> >     5      1911738368      1915412479   1.8 GiB     2700
> >     6      1915412480      1953523711   18.2 GiB    0700  Basic data
> >     partition
> > 
> > I can see partition 4 I was trying to recover, but could not add it:
> > 
> > partx --show --nr 4 /dev/sdb
> > NR   START        END    SECTORS   SIZE NAME                 UUID
> > 
> >   4 1615872 1911737034 1910121163 910.8G Basic data partition fea85fb3-
> > 
> > cfdb-4868-a1ad-bab264dad237
> > 
> > partx --add --nr 4 /dev/sdb
> > partx: /dev/sdb: error adding partition 4
> > 
> > partx --add /dev/sdb
> > partx: /dev/sdb: error adding partitions 1-6
> 
> That really sounds like your kernel doesn't have GPT support (loaded).

Grant, you're spot on!

Symbol: EFI_PARTITION [=n]

I was under the impression I had it enabled, but clearly I hadn't on this PC; 
which has a legacy BIOS with an MBR disk and which I used for troubleshooting 
the faulty drive after I removed it from the laptop.  Lesson learned.  ;-)

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to