public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hardware disk description
@ 2024-05-28 19:51 Jude DaShiell
  2024-05-28 20:42 ` karl
  2024-05-28 23:10 ` Wols Lists
  0 siblings, 2 replies; 4+ messages in thread
From: Jude DaShiell @ 2024-05-28 19:51 UTC (permalink / raw
  To: gentoo-user

My machine has protected mbr with gpt partitions on it.  Are those kind of
partitions hybrid?


--
 Jude <jdashiel at panix dot com>
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] hardware disk description
  2024-05-28 19:51 [gentoo-user] hardware disk description Jude DaShiell
@ 2024-05-28 20:42 ` karl
  2024-05-28 23:10 ` Wols Lists
  1 sibling, 0 replies; 4+ messages in thread
From: karl @ 2024-05-28 20:42 UTC (permalink / raw
  To: gentoo-user

Jude DaShiell:
> My machine has protected mbr with gpt partitions on it.  Are those kind of
> partitions hybrid?

 Why not check for yourself:
https://en.wikipedia.org/wiki/GUID_Partition_Table

 You can use theese to find out what you have:
file -s /dev/sda
fdisk -l /dev/sda

Regards,
/Karl Hammar




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] hardware disk description
  2024-05-28 19:51 [gentoo-user] hardware disk description Jude DaShiell
  2024-05-28 20:42 ` karl
@ 2024-05-28 23:10 ` Wols Lists
  2024-05-28 23:18   ` Michael
  1 sibling, 1 reply; 4+ messages in thread
From: Wols Lists @ 2024-05-28 23:10 UTC (permalink / raw
  To: gentoo-user

On 28/05/2024 20:51, Jude DaShiell wrote:
> My machine has protected mbr with gpt partitions on it.  Are those kind of
> partitions hybrid?
> 

This is completely standard nowadays. I think the "protected MBR" just 
points to the first four GPT partitions.

This is basically down to the fact that (a) the MBR can no longer 
describe a modern large disk (I'm not sure what the limit is, 2TB? 
4TB?), and also older formatting tools - if they don't see an MBR - are 
known for assuming the disk is empty and trashing the start of it. Yeah 
they shouldn't, but they do ...

Cheers,
Wol


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] hardware disk description
  2024-05-28 23:10 ` Wols Lists
@ 2024-05-28 23:18   ` Michael
  0 siblings, 0 replies; 4+ messages in thread
From: Michael @ 2024-05-28 23:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]

On Wednesday, 29 May 2024 00:10:07 BST Wols Lists wrote:
> On 28/05/2024 20:51, Jude DaShiell wrote:
> > My machine has protected mbr with gpt partitions on it.  Are those kind of
> > partitions hybrid?
> 
> This is completely standard nowadays. I think the "protected MBR" just
> points to the first four GPT partitions.
> 
> This is basically down to the fact that (a) the MBR can no longer
> describe a modern large disk (I'm not sure what the limit is, 2TB?
> 4TB?), and also older formatting tools - if they don't see an MBR - are
> known for assuming the disk is empty and trashing the start of it. Yeah
> they shouldn't, but they do ...
> 
> Cheers,
> Wol

The 'protective MBR' is a partition type 0xEE starting at sector 0 and 
spanning the entire length of a disk (or 2TiB).  Legacy partitioning tools 
which do not recognise GUID Partition Table structures will identify a GPT 
disk to have no free space left, instead of mistakenly consider it 
unpartitioned.

A hybrid MBR is a variant of the protective MBR and it also contains up to 3 
additional primary partitions occupying the same space as up to 3 GPT 
partitions.  Older OSs which cannot boot from GPT disks should be installed 
there, while modern OSs will be able to use the remaining GPT partitions on 
the disk.

Unless gdisk declares "MBR partitions" with their Status as "primary", you do 
not have a hybrid MBR or any primary partitions on your disk.

You can check this page for more information:

https://wiki.gentoo.org/wiki/Hybrid_partition_table

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-28 23:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 19:51 [gentoo-user] hardware disk description Jude DaShiell
2024-05-28 20:42 ` karl
2024-05-28 23:10 ` Wols Lists
2024-05-28 23:18   ` Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox