From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NakCQ-0005lf-6I for mharc-grub-devel@gnu.org; Fri, 29 Jan 2010 01:19:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NakCN-0005jK-W9 for grub-devel@gnu.org; Fri, 29 Jan 2010 01:19:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NakCI-0005bU-SD for grub-devel@gnu.org; Fri, 29 Jan 2010 01:19:19 -0500 Received: from [199.232.76.173] (port=33691 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NakCI-0005b7-Bq for grub-devel@gnu.org; Fri, 29 Jan 2010 01:19:14 -0500 Received: from mail-gx0-f228.google.com ([209.85.217.228]:50246) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NakCI-0000Cq-0W for grub-devel@gnu.org; Fri, 29 Jan 2010 01:19:14 -0500 Received: by gxk28 with SMTP id 28so1440673gxk.9 for ; Thu, 28 Jan 2010 22:19:13 -0800 (PST) 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=jrbCP8rbjo5m+ETqz/B8tumR0z/+qGitV8JFzx4sRO0=; b=XjAl55tt4rCGChXpt2h8mRwI8aUvyeUipUBKSpPNre9s2oGG2VnKcuk4OOSYkjb1zi 1FRd7o1pE09WNis2/uDSm1fVXYxtpUNDNKT8LZr44JwvGBaxhyE+NTXmzTq+9euuKoGN KLFZuOWklQdo4NtVcYVvnSoIEOSYa7GLGJyPs= 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=JJEFuWOmMZAE3vovr7jmUSwaAw2Bxo0/2g0bp+IgUOa4EQn0sq/wCAB629VIvTHtBN 14gNt2L6Mr4o1j4C5XTEIF8syOFDzHpSMk2aIQIqlxo03yQrc0QO90MKF9dwl9SOHkAj 36r63t/7lazPml9pAUhJ2sNooKilyBYoRmig4= Received: by 10.150.27.31 with SMTP id a31mr975024yba.296.1264745953401; Thu, 28 Jan 2010 22:19:13 -0800 (PST) Received: from ?192.168.0.75? (cpe-24-174-183-197.satx.res.rr.com [24.174.183.197]) by mx.google.com with ESMTPS id 8sm612024yxb.43.2010.01.28.22.19.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 28 Jan 2010 22:19:12 -0800 (PST) Message-ID: <4B627DE0.90902@gmail.com> Date: Fri, 29 Jan 2010 00:19:12 -0600 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GNU GRUB References: <20100128114547.GI4409@riva.ucam.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Is it possible to have grub2's boot.img as my MBR, but have it look in a separate partition for core.img? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2010 06:19:20 -0000 Wesley Smith wrote: > It would be nice if Grub2 could both make a partition bootable and also install > an MBR that relied on that partition (rather than the embedded core.img). I > know this is "dangerous," but it is necessary sometimes, and it was not at all > difficult to accomplish with legacy Grub. I'm not a core GRUB developer, but how would you do it? Let's see, you have 512 bytes minus some space for the partition table. You want to access the file system in the space. Lets see, is that fat, ext, reiser, jfs, xfs, ntfs, lvm, raid, or something else? Do you want a splash screen with that? Somebody will. Are you booting over a serial line? A network card? Do you want that for linux, one of the bsd's, windows, solaris, or beos? Is that for intel, sparc, or powerpc? Remember, you have about 448 bytes... -- Bruce