From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1U3suM-00028i-1o for mharc-grub-devel@gnu.org; Fri, 08 Feb 2013 13:42:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3suJ-00027N-1N for grub-devel@gnu.org; Fri, 08 Feb 2013 13:42:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3suH-0003ca-CC for grub-devel@gnu.org; Fri, 08 Feb 2013 13:42:42 -0500 Received: from mail.csclub.uwaterloo.ca ([129.97.134.52]:56327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3suH-0003cG-8x for grub-devel@gnu.org; Fri, 08 Feb 2013 13:42:41 -0500 Received: from caffeine.csclub.uwaterloo.ca (caffeine.csclub.uwaterloo.ca [129.97.134.17]) by mail.csclub.uwaterloo.ca (Postfix) with SMTP id 6026F20105 for ; Fri, 8 Feb 2013 13:42:39 -0500 (EST) Received: by caffeine.csclub.uwaterloo.ca (sSMTP sendmail emulation); Fri, 08 Feb 2013 13:42:39 -0500 From: "Lennart Sorensen" Date: Fri, 8 Feb 2013 13:42:39 -0500 To: The development of GNU GRUB Subject: Re: GRUB and the risk of block list corruption in extX Message-ID: <20130208184239.GA20462@csclub.uwaterloo.ca> References: <51138645.4050405@ts.fujitsu.com> <51153345.2020509@ts.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51153345.2020509@ts.fujitsu.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 129.97.134.52 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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, 08 Feb 2013 18:42:44 -0000 On Fri, Feb 08, 2013 at 06:17:57PM +0100, Martin Wilck wrote: > In my case, the reason is a multiboot setup based on chainloading the > indiviual installed OS's bootloaders from a central, primary bootloader. > This is easily accomplished by installing the individual OS's > bootloaders in their respective "/" or "/boot" partitions. Linux > distributions have encouraged this kind of setup over several years - > "install boot loader in first sector of root/boot partition" used to be > a prominent option somewhere in the installation process (these > distributions were usually GRUB 0.9x based - GRUB 0.9x developers didn't > seem to have a big issue with stage1_5 being loaded via block lists). > > Recent GRUB2-based distributions like Fedora have removed this option, > and some users are dissatisfied with that. I would like to understand > what the actual risk is. So I'd appreciate examples for the "pretty > serious problems" you mention. grub 2 has a lot more features, is a lot bigger, and might not fit in your embedding area of some filesystems. Of course the block list breaks if the file in the filesystem is modified or moved without updating the block list, which used to break lilo all the time whenever one forgot to run the lilo command after making a change. Sure grub 0.9x was a bit less fragile than lilo, but block lists for files that could potentially be changed is fragile. Embedding enough of grub in the first track or a boot partition (as EFI systems support, as do a number of non x86 architectures) gives a much more reliable system since it can read anything else it needs using the filesystem and hence doesn't break if files are changed. -- Len Sorensen