Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OlmtZ-0000LO-CB for mharc-grub-devel@gnu.org; Wed, 18 Aug 2010 13:57:49 -0400 Received: from [140.186.70.92] (port=56684 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OlmtP-0000IL-71 for grub-devel@gnu.org; Wed, 18 Aug 2010 13:57:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OlmtD-00014a-PK for grub-devel@gnu.org; Wed, 18 Aug 2010 13:57:33 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:56498) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OlmtD-00014L-Lp for grub-devel@gnu.org; Wed, 18 Aug 2010 13:57:27 -0400 Received: from caffeine.csclub.uwaterloo.ca (localhost [127.0.0.1]) by caffeine.csclub.uwaterloo.ca (Postfix) with ESMTP id CB841DA07 for ; Wed, 18 Aug 2010 13:57:26 -0400 (EDT) Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id B7085DA09; Wed, 18 Aug 2010 13:57:26 -0400 (EDT) Date: Wed, 18 Aug 2010 13:57:26 -0400 To: The development of GNU GRUB Message-ID: <20100818175726.GF2632@caffeine.csclub.uwaterloo.ca> References: <4C698F9F.1080609@post.cz> <20100818144402.GD2632@caffeine.csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: my thoughts about grub 2 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: Wed, 18 Aug 2010 17:57:47 -0000 On Thu, Aug 19, 2010 at 03:18:53AM +0930, Brendan Trotter wrote: > Um, what? Well at least update-grub reads from /etc to generate the final config (which is still /boot/grub/grub.cfg, so it does go in /boot, but since it is generated (at least on my debian system), I don't consider it config anymore). > Imagine you've got 3 OSs: Hiaku, FreeDOS and ReactOS. Given that none > of these OSs normally have an "/etc" directory, which "/etc" should be > used to store GRUB's configuration? Well whichever one is responsible for generating the grub.cfg could store the files wherever is normal on that OS. > Perhaps you're saying that GRUB should be useless for anything that > isn't a Unix clone. In that case, imagine you've got 3 Unix clones. Of > course all of them want to automatically update their boot loader's > configuration when their kernel is updated, and they can't all share > the same "/etc". Does the user nominate one Unix clone as "working" > and let the other 2 OSs fail? I honestly don't personally care at all about any OS that isn't a unix clone anymore. Fortunately, I am only a grub user and not one of the developers. They seem to care. > Using a separate partition for "/boot" that contains GRUB's > configuration for all OSs worked (at least in theory) because all OSs > that are installed could mount that partition without conflicts (as > long as you use a file system that all OSs understand). grub2 certainly has no issue with that. The default is to use grub.cfg in the /boot/grub directory. > I was talking about boot managers, not boot loaders. Why should there be a difference? > Conceptually you have a boot manager (to select which OS to boot) that > doesn't really need to care about any of the details for any > particular OS; plus a boot loader for each OS which is designed > specifically for that OS (and doesn't really need to care about other > file systems, etc). The difference between them often gets blurred > because feature creep is tempting (for example, a lot of the boot > managers I looked at earlier had features for creating/removing > partitions, even though this is normally done using separate utilities > designed for the purpose, like fdisk, parted, etc; and a lot of boot > loaders are probably able to chainload). > > GRUB is different in that it's intended to be a boot manager and a > boot loader for many OSs (and isn't primarily intended for a single > role); and I'd guess that is the reason it has to be too complex to be > "user friendly" for any specific role. Almost every x86 boot loader for linux has also been a boot manager (through chainloading if nothing else). Even the ntldr can do that. It seems to me that a boot manager is a stripped down boot loader that doens't do very much. Seems like a completely useless piece of software to me. I don't get it. -- Len Sorensen