From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Michael Renner <robe@amd.co.at>
Subject: Re: GPT on PC/BIOS computers
Date: Fri, 04 May 2007 10:40:17 +0200 [thread overview]
Message-ID: <871whxouby.fsf@xs4all.nl> (raw)
In-Reply-To: <20070501191808.GA19766@aragorn> (Robert Millan's message of "Tue, 1 May 2007 21:18:08 +0200")
Robert Millan <rmh@aybabtu.com> writes:
> Here's a patch to enable GPT support for PC/BIOS systems. Need for GPT is
> increasingly common due availability of > 2 TiB hard drives.
>
> Please let me know if everything is correct.
>
> Some testing would be welcome, too (but be careful, earlier versions of my
> patch had a "feature" that fucked up your partition table - hopefuly fixed
> now, at least Works For Me [tm]).
Have you tested it on MBR?
> --
> Robert Millan
>
> My spam trap is honeypot@aybabtu.com. Note: this address is only intended
> for spam harvesters. Writing to it will get you added to my black list.
>
> 2007-05-01 Robert Millan <rmh@aybabtu.com>
>
> * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/gpt.c.
> (grub_probe_SOURCES): Likewise.
> * conf/i386-pc.mk: Regenerate.
No need to mention this.
> * util/i386/pc/biosdisk.c (grub_util_biosdisk_get_grub_dev): Detect
> GPT and initialize dos_part and bsd_part accordingly.
> * util/i386/pc/grub-setup.c: Ditto for install_dos_part and
> install_bsd_part.
> * util/i386/pc/grub-install.in: Add gpt module to core.img.
> * util/i386/pc/grub-probe.c: Activate gpt module for use during
> partition identification, and deactivate it afterwards.
> * util/i386/pc/grub-setup.c: Ditto.
You don't mention in which function you do these things, just the
files. Can you correct this? I personally would prefer if you do not
split up the changelog entries for one file, perhaps it is not even
allowed by the GCS.
> Index: util/i386/pc/grub-install.in
> ===================================================================
> RCS file: /sources/grub/grub2/util/i386/pc/grub-install.in,v
> retrieving revision 1.11
> diff -u -r1.11 grub-install.in
> --- util/i386/pc/grub-install.in 10 Apr 2007 21:38:26 -0000 1.11
> +++ util/i386/pc/grub-install.in 1 May 2007 18:56:07 -0000
> @@ -216,8 +216,8 @@
> exit 1
> fi
>
> -# Typically, _chain and pc are required.
> -modules="$modules $fs_module _chain pc"
> +# Typically, _chain, pc and gpt are required.
> +modules="$modules $fs_module _chain pc gpt"
It would be nice if we were able to use grub-probe to determine
this... But for now this is fine, I think.
--
Marco
next prev parent reply other threads:[~2007-05-04 8:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-01 19:18 GPT on PC/BIOS computers Robert Millan
2007-05-03 13:33 ` Javier Rodríguez Sánchez
2007-05-03 14:17 ` Robert Millan
2007-05-03 14:27 ` Javier Rodríguez Sánchez
2007-05-04 20:32 ` Javier Rodríguez Sánchez
2007-05-04 22:15 ` Robert Millan
2007-05-05 13:13 ` Marco Gerards
2007-05-06 7:02 ` Javier Rodríguez Sánchez
2007-05-04 8:40 ` Marco Gerards [this message]
2007-05-04 23:05 ` Robert Millan
2007-05-05 13:21 ` Marco Gerards
2007-05-07 9:17 ` Robert Millan
2007-05-07 19:23 ` Yoshinori K. Okuji
2007-05-07 19:58 ` Robert Millan
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=871whxouby.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--cc=grub-devel@gnu.org \
--cc=robe@amd.co.at \
/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.