grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: grub mishandles corrupt/missing primary GPT
Date: Mon, 09 Dec 2013 16:54:10 +0100	[thread overview]
Message-ID: <52A5E7A2.6060104@gmail.com> (raw)
In-Reply-To: <52A5E1A1.3000103@ubuntu.com>

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

On 09.12.2013 16:28, Phillip Susi wrote:
> On 10/23/2013 9:49 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>> partmap module is size-critical and CRC32 verification is pretty
>> big. There are 3 problems with backup header:
> 
> The grub core no longer fits in 63 sectors in all but the most trivial
> configurations as it is,
Not true. I've checked: all configs not involving compressed fs or
diskfilter fit in 31K.
> and a 2048 sector embed area has been
> standard now for several years, so I don't think size is a problem.
> 
We're speaking abut GPT, nothing to do with MBR embed area.

My problem with that is that it increases complexity a lot in currently
simple code.
And also I had experience with backup header out of place due to disk
reconfiguration and primary header corrupted but still well enough to
have valid partitions. I could boot this system by using "gpt" linux
option. With proposed changes this system would become unbootable.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

  reply	other threads:[~2013-12-09 15:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-24  1:38 grub mishandles corrupt/missing primary GPT Chris Murphy
2013-10-24  1:49 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-24  3:07   ` Chris Murphy
2013-10-24 13:39     ` Lennart Sorensen
2013-10-24 18:17       ` Chris Murphy
2013-11-02 22:36         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-09 15:28   ` Phillip Susi
2013-12-09 15:54     ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-12-10  0:11       ` Chris Murphy
2013-12-10  0:55         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-10  1:56           ` Chris Murphy
2013-12-10  2:06             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-10 19:38       ` Phillip Susi

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=52A5E7A2.6060104@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.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;
as well as URLs for NNTP newsgroup(s).