#13216: DriveSetup is not able to create and format partitions
---------------------------------------+----------------------------
Reporter: Premislaus | Owner: stippi
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/DriveSetup | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: x86-64
---------------------------------------+----------------------------
Comment (by jessicah):
Well, the KDL is likely due to trying to format a strange partition. The
partition creation itself is interesting though, as the GPT structures on
disk think it has a maximum size of 1GB, which doesn't match what
DriveSetup is showing. Obviously, the partition validation code is
shrinking the partition to the maximum size the current GPT headers
indicate, resulting in the tiny partition.
Indeed, we have in syslog "KERN: last usable block: 2047966", multiply
this by sector size of 512 gives us 1GB. This would require DriveSetup
identifying that the GPT is on a larger disk, relocating the backup
headers and changing the pointers to end of the disk to match that of the
actual disk size. I'm not sure how feasible this would be to achieve, but
definitely an interesting case to look into.
--
Ticket URL: <https://dev.haiku-os.org/ticket/13216#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.