From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Which partitioning schemes should be supported by GRUB?
Date: Mon, 07 Jun 2010 22:46:38 +0200 [thread overview]
Message-ID: <4C0D5AAE.6070504@gmail.com> (raw)
In-Reply-To: <4C0BE2C7.4020407@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2648 bytes --]
On 06/06/2010 08:02 PM, Grégoire Sutre wrote:
> 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)?
There are two parts of this question:
1) Which partition schemes should GRUB be able to read modules and
payloads from ? It's platform-indepedent and 2 conditions apply:
- Usage. There are OS which are able to boot from such OS and such
configuration isn't considered obscure by them.
- Non-confusability. The risk of false positive of this partition config
which would prevent normal function is small.
If at least one condition is met it's worth considering. If both
conditions are met it should be supported.
2) Support for embedding.
Embedding is a potentially dangerous operation so we have to be
cautious. Using a dedicated embedding partition if it can be
unambiguously identified as such is a sane solution.
>
> 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
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2010-06-07 20:46 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-06 18:02 Which partitioning schemes should be supported by GRUB? Grégoire Sutre
2010-06-07 20:46 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
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=4C0D5AAE.6070504@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 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.