From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N4Irm-0005Tf-18 for mharc-grub-devel@gnu.org; Sat, 31 Oct 2009 14:39:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4Irk-0005Sc-Lq for grub-devel@gnu.org; Sat, 31 Oct 2009 14:39:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4Irg-0005RW-9K for grub-devel@gnu.org; Sat, 31 Oct 2009 14:39:56 -0400 Received: from [199.232.76.173] (port=34281 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4Irg-0005RC-1R for grub-devel@gnu.org; Sat, 31 Oct 2009 14:39:52 -0400 Received: from mail-bw0-f215.google.com ([209.85.218.215]:60273) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4Irf-0001l8-Cj for grub-devel@gnu.org; Sat, 31 Oct 2009 14:39:51 -0400 Received: by bwz7 with SMTP id 7so4844662bwz.26 for ; Sat, 31 Oct 2009 11:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+StolhNUk3YayDOQke3OfaTNJpLWp6S6yKnefKJw0XQ=; b=AcrykFnT3qUFul6Ym+msztpgUL4jHkXu3PB30Qnp/3U51NZ3MQZOmAJ1WeTrInNXfq 2EF+3CgXthyBpNBf7d+A6BE1NTechfx2G5dfo2ChZMZzuNAs0KhsQrdm0nGDguY+Hc+5 7+mbt84jUnjIwuz7NIzx7EbQCRI3LLrMjs5bw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=iNt+3eX2c90doCwYTuNFWGeyzYpWFE38YtiXr9Em8ybcg/7bPAUtwdtQVZWz/bqiy+ tKYtbVi8a8vS0yvYT7uDbu3i5lfz0ZGE1sVH/xMkJTz+1HPvNGaVVn0noc02FfWanB3z 5d8udUhLi7yZQSv4hGqAgg4MBlaWbvjsb3QYU= Received: by 10.204.49.68 with SMTP id u4mr2291929bkf.42.1257014386842; Sat, 31 Oct 2009 11:39:46 -0700 (PDT) Received: from debian.bg45.phnet (vpn-global-dhcp1-71.ethz.ch [129.132.208.71]) by mx.google.com with ESMTPS id d13sm2519320fka.52.2009.10.31.11.39.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 31 Oct 2009 11:39:46 -0700 (PDT) Message-ID: <4AEC8470.9060204@gmail.com> Date: Sat, 31 Oct 2009 19:39:44 +0100 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: GPT BIOS boot partition and installing to a partition X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 18:39:56 -0000 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