All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: GPT BIOS boot partition and installing to a partition
Date: Sat, 31 Oct 2009 19:39:44 +0100	[thread overview]
Message-ID: <4AEC8470.9060204@gmail.com> (raw)
In-Reply-To: <d8658f80910311129r5b5beccdr748dc0b303b7c5b2@mail.gmail.com>

Dave Vasilevsky wrote:
> On my GPT-partitioned MacBook, I seem to have two options for booting
> with grub-pc:
>
> 1. Install grub to the start of an existing partition. This coexists
> well with the rEFIt boot menu, but requires blocklists to load
> core.img.
> 2. Use a BIOS boot partition. This allows embedding core.img, but
> installs to the MBR and makes rEFIt unhappy.
>
>   
On EFI system try grub-efi.
> I had the idea that we could get the advantages of both: Install the
> boot-image to an existing partition, but load core.img from a BIOS
> boot partition. With some creative hex-editing I got this working
> without much difficulty.
>
> Is there a technical reason why grub doesn't support this setup? If I
> were to write a patch allowing this, what behaviour would be
> preferred: Should 'grub-setup (hdX,Y)' automatically use a BIOS boot
> partition if one exists, or should a command-line flag be required?
>
>   
It may be a good idea but the best way is to use first sector of BPB for
this. But the usability is limited. For EFI systems we have grub-efi and
for BIOS boot you still need a specially adapted MBR for it anyway
> Dave Vasilevsky
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>   


-- 
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git 




  reply	other threads:[~2009-10-31 18:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d8658f80910310215t2892982era860dbf083c1c9c8@mail.gmail.com>
2009-10-31 18:29 ` GPT BIOS boot partition and installing to a partition Dave Vasilevsky
2009-10-31 18:39   ` Vladimir 'phcoder' Serbinenko [this message]
2009-10-31 18:50     ` Dave Vasilevsky
2009-10-31 18:55       ` Vladimir 'phcoder' Serbinenko
2009-10-31 19:09         ` Dave Vasilevsky
2009-10-31 19:14           ` Vladimir 'phcoder' Serbinenko
2009-10-31 23:55           ` Michael Scherer
2009-11-01 11: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=4AEC8470.9060204@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.