From: "Grégoire Sutre" <gregoire.sutre@gmail.com>
To: grub-devel@gnu.org
Subject: Re: Guidance on conflicts between GNU GRUB and proprietary software
Date: Wed, 29 Sep 2010 12:00:13 +0200 [thread overview]
Message-ID: <4CA30E2D.2010801@gmail.com> (raw)
In-Reply-To: <4CA267F4.6000402@gmail.com>
On 09/29/2010 00:11, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Let me try to explain more clearly what I have in mind. In the GPT
case, we have a dedicated partition ID for bootloader software. This
makes things simpler. If we had such a dedicated partition ID in the
MSDOS case, then a lot of embedding problems would (a priori) go away.
So it's worth trying to ``establish'' such a partition ID for MSDOS
partitions. And good candidates are partition IDs that are already
(almost exclusively) used by some bootloader software(s), because
- those partitions are very likely to only contain bootloader code
and configuration, so the risk of data loss when installing GRUB
is minimized.
- OSes and partitioning software may already know about them, which
would limit the risk of losing the embedded GRUB code.
>> If we really want to embed in an MSDOS partition, selecting a
>> partition type that is already used for similar purposes is IMHO
>> our best option. This would be a step in a direction to set a
>> ``standard'' MSDOS type for boot partitions. We don't need one
>> partition type per boot-loader software anyway.
> OS/2 used type 0x0a. If someone wants to install the OS/2 on his
> computer (I wouldn't attempt it on anything newer than Pentium 3)
> then he probably wants to chainload it (direct loading OS/2 would
> require much work and has no point, adapting ntldr would be possible
> though, but I wouldn't spend any time on it). So he needs 2 boot
> managers. Probably there are other similar cases as well.
I didn't mean that we only need one partition for bootloaders. What I
mean is that we only need one partition type. Such as, if you install
two Linux distributions, you would have the same ID for all your Linux
partitions.
But I agree that, if we had two MSDOS partitions with the same
``bootloader'' type, then grub-install shouldn't blindly take the first
one. Still, isn't this what happens in GPT case, when there are two
BIOS Boot partitions? Or maybe, in the GPT case, there is no point in
having several BIOS Boot partitions?
Anyway, I'm sure that we can find solutions to make sure that, in a
non-interactive mode, a new GRUB installation only overwrites a previous
GRUB installation.
> Deleting some other bootloader may also appear unfair and lead to
> data loss if its partition contained anything useful.
In the GPT case, doesn't grub-install delete existing data in the GPT
BIOS Boot partition?
> I don't mind sharing the embedding partition on the rule "who gets
> MBR gets this bonus,
I didn't see it this way. I assumed we could have different bootloader
software in different partitions of the ``bootloader type''.
> all possible occupants have to implement multiboot to be chainloaded
> if necessary" but former users of partition type may disagree.
Yes, of course, if we try to go this route, we would have to discuss
it with former users of the partition type.
Grégoire
next prev parent reply other threads:[~2010-09-29 10:00 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 22:19 Guidance on conflicts between GNU GRUB and proprietary software Colin Watson
2010-09-24 0:27 ` Lennart Sorensen
2010-09-24 14:09 ` Richard Stallman
2010-09-28 4:44 ` richardvoigt
2010-09-28 4:55 ` Bogdan
2010-09-28 8:04 ` Colin Watson
2010-09-28 9:10 ` Bogdan
2010-09-28 9:41 ` Colin Watson
2010-09-28 9:51 ` Bogdan
2010-09-28 10:25 ` Colin Watson
2010-09-28 10:40 ` Bogdan
2010-09-28 11:49 ` Colin Watson
2010-09-28 14:50 ` Lennart Sorensen
2010-09-28 15:05 ` Bogdan
2010-09-28 18:18 ` Grub2 Install Image Dee Sharpe
2010-09-28 21:45 ` Dmitry Ilyin
2010-09-28 15:40 ` Guidance on conflicts between GNU GRUB and proprietary software Phillip Susi
2010-09-28 16:18 ` Colin Watson
2010-09-28 17:52 ` Phillip Susi
2010-09-28 19:05 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-28 19:15 ` Lennart Sorensen
2010-09-28 19:43 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-28 20:07 ` Lennart Sorensen
2010-09-28 20:58 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-28 21:15 ` Lennart Sorensen
2010-09-28 21:34 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-28 19:22 ` Phillip Susi
2010-09-28 21:46 ` Grégoire Sutre
2010-09-28 22:11 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-29 10:00 ` Grégoire Sutre [this message]
2010-09-28 19:11 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-28 14:57 ` Lennart Sorensen
2010-09-28 9:01 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-24 10:57 ` Brendan Trotter
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=4CA30E2D.2010801@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 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).