[haiku-bugs] Re: [Haiku] #8823: DriveSetup won't let you repartition GPT drives to MBR (intel)

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Thu, 18 Jun 2015 21:34:26 -0000

#8823: DriveSetup won't let you repartition GPT drives to MBR (intel)
---------------------------------------+----------------------------
Reporter: kallisti5 | Owner: stippi
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Applications/DriveSetup | Version: R1/Development
Resolution: | Keywords: GPT, MBR
Blocked By: 8991 | Blocking:
Has a Patch: 0 | Platform: All
---------------------------------------+----------------------------

Comment (by kallisti5):

This is the final big GPT bug.

At this time, writing an Intel disk system over a GPT disk system results
in both disk system in place. (MBR at the front, GPT's backup header at
the end). GPT has a higher priority so it gets used.

Here is the result of a GPT disk system created, then an Intel/MBR disk
system created over-top of it:
{{{
$ gdisk test.img
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: present

Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT

Your answer: 2
Using GPT and creating fresh protective MBR.

Command (? for help): v

No problems found. 204733 free sectors (100.0 MiB) available in 2
segments, the largest of which is 204727 (100.0 MiB) in size.

Command (? for help): p
Disk test.img: 204800 sectors, 100.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): 82009838-FFFF-FFFF-3898-0082FFFFFFFF
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 204766
Partitions will be aligned on 2048-sector boundaries
Total free space is 204733 sectors (100.0 MiB)

Number Start (sector) End (sector) Size Code Name
1 40 67623 33.0 MiB FFFF
}}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/8823#comment:10>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: