Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Kay Sievers <kay@vrfy.org>
Cc: util-linux@vger.kernel.org
Subject: Re: cfdisk created GPT tables are not recognized by the Windows 8.1 installer
Date: Fri, 9 Jan 2015 12:16:48 +0100	[thread overview]
Message-ID: <20150109111648.GC1314@x2.net.home> (raw)
In-Reply-To: <CAPXgP1300xmdYHCbBpdbRiFDAKvab4w33Jt5ZEGdkrQ4_9tj_A@mail.gmail.com>

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

      reply	other threads:[~2015-01-09 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150109111648.GC1314@x2.net.home \
    --to=kzak@redhat.com \
    --cc=kay@vrfy.org \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox