Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MV3Ef-0006ik-Nn for mharc-grub-devel@gnu.org; Sun, 26 Jul 2009 08:53:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MV3Ee-0006id-6U for grub-devel@gnu.org; Sun, 26 Jul 2009 08:53:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MV3EZ-0006gZ-H7 for grub-devel@gnu.org; Sun, 26 Jul 2009 08:53:51 -0400 Received: from [199.232.76.173] (port=33630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MV3EZ-0006gN-EE for grub-devel@gnu.org; Sun, 26 Jul 2009 08:53:47 -0400 Received: from mail-bw0-f217.google.com ([209.85.218.217]:52100) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MV3EY-0007TU-Ub for grub-devel@gnu.org; Sun, 26 Jul 2009 08:53:47 -0400 Received: by bwz17 with SMTP id 17so1356834bwz.42 for ; Sun, 26 Jul 2009 05:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ck9Jq4AiMdBwZg06o0w10RRF+LnkI+M5pYmNbFWb7sM=; b=PZ/WRw1dRWY6dN8vVC4rKjOimMeinmR7z0RT1SpCdVZWFBViIENktieDgfDtSGorpd 9H67wg+fUuJ47X1c4jEyljIA9wl9YOnX6RYWeSTlwV9IzidMBN+1gleRPYjYIHGrKNot dmgI50lfN7w4MJXe/ZdUUXun2Nwyv0k5ZoiLg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=n6KokNxo3Ugls0llYdazNt9lfiSngMZkR59Hv6+eqOy8a072ShjwhfqY0EnCixaTU3 1iBrEQsokZ+4TSqXBbUCDIFDV8GtW0GZGUlWIMN5IXsIY/Gy8+WhbVOgXSM+/N2dlgFX qxXy1rU5Um10FzX+1xgR9rElL27SpHVYaYZYQ= MIME-Version: 1.0 Received: by 10.204.100.70 with SMTP id x6mr1885562bkn.140.1248612825945; Sun, 26 Jul 2009 05:53:45 -0700 (PDT) In-Reply-To: <1248284766.10707.14.camel@mj> References: <20090717165140.GN11691@riva.ucam.org> <20090718184555.GH8867@thorin> <20090718191741.GM8867@thorin> <20090719100741.GA12723@riva.ucam.org> <20090722171612.GC8706@thorin> <1248284185.10707.4.camel@mj> <1248284766.10707.14.camel@mj> Date: Sun, 26 Jul 2009 14:53:45 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Fix when installing on pationless but partionable medium 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: Sun, 26 Jul 2009 12:53:52 -0000 On Wed, Jul 22, 2009 at 7:46 PM, Pavel Roskin wrote: > On Wed, 2009-07-22 at 19:43 +0200, Vladimir 'phcoder' Serbinenko wrote: >> On Wed, Jul 22, 2009 at 7:36 PM, Pavel Roskin wrote: >> > On Wed, 2009-07-22 at 19:16 +0200, Robert Millan wrote: >> > boot.img has holes for FAT and PC MBR. =A0That's two configurations we >> > support. =A0No other partition tables or filesystems are supported. >> Many filesystems leave first block free. These are supported too > > Fine with me if we can identify them. > We could have an explicit list of them in util/i386/pc/grub-setup.c same way as we currently have a list of supported partition tables. This approach has a drawback of needing to manually add new filesystems to yet another list but it has a safeguqrd to install only on configurations which we have tested. If user needs to install to another FS he can test and submit a patch. The only problem I see is if FS is in grub-extras. In this case grub-setup wouldn't be able to identify it and would fail installing to prevent FS damage. This is part of larger problem of grub-utils with external modules. As a possibility grub-setup can ask host OS about the target filesystem (cumbersome) or we could implement module loading in grub-setup (using shared library approach perhaps?) > -- > Regards, > Pavel Roskin > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git