From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MaTQY-0002in-32 for mharc-grub-devel@gnu.org; Mon, 10 Aug 2009 07:52:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaTQV-0002hh-Ox for grub-devel@gnu.org; Mon, 10 Aug 2009 07:52:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaTQR-0002go-6z for grub-devel@gnu.org; Mon, 10 Aug 2009 07:52:31 -0400 Received: from [199.232.76.173] (port=56426 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaTQQ-0002gl-VR for grub-devel@gnu.org; Mon, 10 Aug 2009 07:52:27 -0400 Received: from mx20.gnu.org ([199.232.41.8]:40267) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaTQQ-00008a-GG for grub-devel@gnu.org; Mon, 10 Aug 2009 07:52:26 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8] helo=aybabtu.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MaTQP-0000co-BL for grub-devel@gnu.org; Mon, 10 Aug 2009 07:52:25 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MaTQO-0001L6-Kk for grub-devel@gnu.org; Mon, 10 Aug 2009 13:52:24 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MaTQO-0002ar-1h for grub-devel@gnu.org; Mon, 10 Aug 2009 13:52:24 +0200 Date: Mon, 10 Aug 2009 13:52:24 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090810115224.GJ9344@thorin> References: <20090802232422.GA23320@thorin> <20090804192715.GA14820@thorin> <4A791A24.8050602@t-online.de> <20090807105810.GB6695@thorin> <20090807114344.GO6695@thorin> <5FD279B0-A670-4A9F-8F5C-C3A56AAABFAB@zetam.org> <4A7DF4DC.5010106@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A7DF4DC.5010106@t-online.de> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] ntldr support 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: Mon, 10 Aug 2009 11:52:31 -0000 On Sat, Aug 08, 2009 at 11:57:48PM +0200, Christian Franke wrote: > Vladimir 'phcoder' Serbinenko wrote: >>> About the command, i think that it will be simpler for the user if we have >>> only one command: chainloader (like in grub4dos) that will try to detect the >>> type of the bootloader. This is only my personal opinion. >>> >> I don't agree with this. chainloader and ntldr don't share the same >> syntax: chainloader expects a bootsector whereas ntldr expects an >> ntldr ot bootmgr file. GRUB2 is done to break with bad design >> decisions of GRUB1 one of them being "kernel" command. GRUB4DOS >> follows GRUB1 on this subject. >> > > I agree. Alright. Let's make it a separate command. I think it should still share code with chainloader.c though (with some ifdefs). I'll sort this out and make a newer patch when I find a free minute. > It probably would make sense that the 'ntldr' command does simple > signature checks and fail on unknown files unless '--force' is specified. You mean checking for the PE signature? Yes, this would be nice too. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."