[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GPT BIOS boot partition and installing to a partition
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: GPT BIOS boot partition and installing to a partition |
Date: |
Sat, 31 Oct 2009 19:39:44 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090701) |
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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git