All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Grégoire Sutre" <gregoire.sutre@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Which partitioning schemes should be supported by GRUB?
Date: Sun, 06 Jun 2010 20:02:47 +0200	[thread overview]
Message-ID: <4C0BE2C7.4020407@gmail.com> (raw)

Hi,

Tests of GRUB on NetBSD (and FreeBSD) have raised several issues (most
of them reported on the list) regarding partition detection.  However,
I have the feeling that some of these issues are not considered as real
issues since the test configuration is not supported by GRUB.  This
surprises me since I naively thought that most user configurations
should be supported.

So I ask the question: Which partitioning schemes are (or shall be)
supported by GRUB on i386-pc (with standard BIOS)?

To start the discussion, I'll focus on a few examples (the list is
surely not exhaustive).  Maybe some configurations simply cannot exist,
in which case please let me know.

1. A single top-level partition map
    (a) MS-DOS
    (b) GPT
    (c) BSD disklabel
    (d) Apple partition map
    (e) Sun label

2. Hybrid: top-level MS-DOS + another *top-level* partition map
    (a) MS-DOS + GPT
        (i.e. GPT + at-least one non 0xEE MS-DOS partition)
    (b) MS-DOS + BSD
    (c) ...

If I read the code correctly, grub-setup (on i386-pc) only supports
1(a) and 1(b).  However, on NetBSD, 1(c) is very common, and 2(b) is
not rare.  Also, some OSes are fine with 2(a), e.g. FreeBSD.

Personally, I would rather support all possible configurations, unless
some technical reason prevents it.  So grub-setup would not test for
some specific configurations, but would instead use a generic
(and simple) approach.  If it fails, it should be for a good reason,
and not because "No DOS-style partitions [were] found".

What's your opinion?

Grégoire



             reply	other threads:[~2010-06-06 18:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-06 18:02 Grégoire Sutre [this message]
2010-06-07 20:46 ` Which partitioning schemes should be supported by GRUB? Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-09 22:45   ` Grégoire Sutre
2010-06-09 23:03     ` C. P. Ghost
2010-06-12 16:32   ` Grégoire Sutre
2010-06-12 17:26     ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-13 16:16       ` Grégoire Sutre
2010-06-14 11:37         ` Colin Watson
2010-06-14 13:07           ` richardvoigt
2010-06-14 13:25             ` Colin Watson
2010-06-14 15:02               ` Colin Watson
2010-06-14 15:58                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-14 16:43                   ` Colin Watson
2010-06-14 16:55                     ` Seth Goldberg
2010-06-14 17:33                       ` Colin Watson
2010-06-14 17:12                     ` Grégoire Sutre
2010-06-15 11:21                       ` Colin Watson
2010-06-15 21:07                         ` Grégoire Sutre
2010-06-16 13:01                           ` Colin Watson
2010-06-16 23:31                             ` Grégoire Sutre
2010-06-17  0:47                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-17 11:29                           ` Colin Watson

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=4C0BE2C7.4020407@gmail.com \
    --to=gregoire.sutre@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.