From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ME7pd-0005Ah-7l for mharc-grub-devel@gnu.org; Tue, 09 Jun 2009 16:22:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME7pc-00057j-Bi for grub-devel@gnu.org; Tue, 09 Jun 2009 16:22:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME7pX-0004uX-M4 for grub-devel@gnu.org; Tue, 09 Jun 2009 16:22:03 -0400 Received: from [199.232.76.173] (port=47688 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME7pX-0004uM-HO for grub-devel@gnu.org; Tue, 09 Jun 2009 16:21:59 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:54478) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME7pW-000242-VB for grub-devel@gnu.org; Tue, 09 Jun 2009 16:21:59 -0400 Received: from [85.180.43.154] (e180043154.adsl.alicedsl.de [85.180.43.154]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1ME7pU3gZP-0001e6; Tue, 09 Jun 2009 22:21:57 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: References: <1244389079.3791.7.camel@fz.local> <1244390152.27559.13.camel@mj> Content-Type: text/plain Date: Tue, 09 Jun 2009 22:21:56 +0200 Message-Id: <1244578916.3477.17.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19QCb5UkqE0GRXFvEHqacQGIvCCfVUrFYMiRta PaohiLt2C3kq6hokC6McTYJexJM1fHHWScfSN1HjULX5PEimyP d/RKhCar6TKUESDbN1SCg0coEBneNYg X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] add drivemap support to 30_os-prober.in and use UUIDs 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: Tue, 09 Jun 2009 20:22:04 -0000 Am Montag, den 08.06.2009, 12:54 +0200 schrieb Vladimir 'phcoder' Serbinenko: > On Sun, Jun 7, 2009 at 5:55 PM, Pavel Roskin wrote: > > On Sun, 2009-06-07 at 17:37 +0200, Felix Zielcke wrote: > >> Attached patch uses `prepare_grub_to_access_device' to set the root in > >> the generated entrys. > >> And it adds drivemap to the chainload ones, if root isn't (hd0). > >> > >> The Debian grub-installer adds map only with Dos and Windows, should I > >> do the same or is it okay to do it for all? > > > > Perhaps it would be better to avoid it when it's not needed. But it may > > be tricky to determine what bootloader we are using. > > > > Let's do it always and eliminate the cases where it's harmful or > > definitely useless. > Drivemapping isn't good per se. It's more like unfortunate need. > However it should always be safe to drivemap because AFAIK no OS > relies on particular drive ordering except 0x80 being booting drive. > However this entry will fail unless my drivemap fix is incorporated os-prober currently prints `chain' on FreeDOS, QNX4, Windows, MS-DOS, Solaris, Minix and Dell Utility Partition Solaris probable won't need it but for Minix and QNX4 (I don't even know what this is) I don't know. FreeDOS probable needs it too or not? So better just use it always and if someone says it can't boot because of drivemap we can change it for that OS. -- Felix Zielcke