Util-Linux package development
 help / color / mirror / Atom feed
* cfdisk created GPT tables are not recognized by the Windows 8.1 installer
@ 2014-12-25 22:57 Kay Sievers
  2015-01-09 11:16 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2014-12-25 22:57 UTC (permalink / raw)
  To: util-linux

Hey,

the Windows 8.1 installer does not recognize the GPT partition tables
created with cfdisk. It claims it will need to initialize the entire
disk to install Windows.

Reading-in the cfdisk-created table and writing-back the very same
table with parted, makes the Windows installer recognizes it, and
Windows just its two additional partitions.

I've installed Windows on that box now and don't want to try this
again, but maybe looking at the difference what parted will change in
the cfdisk created table is sufficient to find the bug.

Thanks,
Kay

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

* Re: cfdisk created GPT tables are not recognized by the Windows 8.1 installer
  2014-12-25 22:57 cfdisk created GPT tables are not recognized by the Windows 8.1 installer Kay Sievers
@ 2015-01-09 11:16 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2015-01-09 11:16 UTC (permalink / raw)
  To: Kay Sievers; +Cc: util-linux

On Thu, Dec 25, 2014 at 11:57:56PM +0100, Kay Sievers wrote:
> the Windows 8.1 installer does not recognize the GPT partition tables
> created with cfdisk. It claims it will need to initialize the entire
> disk to install Windows.

hmm... the difference which I see is that libparted uses HeaderSize=92
and libfdisk HeaderSize=512. In libfdisk we count reserved area at the 
end of the first sector to header. The both solutions are pretty
valid according to standard, but I guess that Windows installer does
not real all the sector so crazy things may happen (crc, ...).

> Reading-in the cfdisk-created table and writing-back the very same
> table with parted, makes the Windows installer recognizes it, and
> Windows just its two additional partitions.
> 
> I've installed Windows on that box now and don't want to try this
> again

Sure, Christmas time with Windows 8... seems like Santa Claus hates
you; be better this year :-))

> but maybe looking at the difference what parted will change in
> the cfdisk created table is sufficient to find the bug.

Yep, thanks!

    Karel
-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

end of thread, other threads:[~2015-01-09 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-25 22:57 cfdisk created GPT tables are not recognized by the Windows 8.1 installer Kay Sievers
2015-01-09 11:16 ` Karel Zak

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