From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MPhjT-0006oy-B6 for mharc-grub-devel@gnu.org; Sat, 11 Jul 2009 14:55:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPhjP-0006ml-Lh for grub-devel@gnu.org; Sat, 11 Jul 2009 14:55:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPhjK-0006jl-8D for grub-devel@gnu.org; Sat, 11 Jul 2009 14:55:30 -0400 Received: from [199.232.76.173] (port=32980 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPhjK-0006jW-1c for grub-devel@gnu.org; Sat, 11 Jul 2009 14:55:26 -0400 Received: from aybabtu.com ([69.60.117.155]:39434) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPhjJ-0005AA-Ka for grub-devel@gnu.org; Sat, 11 Jul 2009 14:55:25 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MPgeX-00083S-UC for grub-devel@gnu.org; Sat, 11 Jul 2009 19:46:26 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MPhjG-0008WJ-Vj for grub-devel@gnu.org; Sat, 11 Jul 2009 20:55:22 +0200 Date: Sat, 11 Jul 2009 20:55:22 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090711185522.GD18506@thorin> References: <20090704201846.GD27480@thorin> <20090707183933.GA14645@thorin> <1247033954.2895.9.camel@ct> <20090710171145.GB17114@thorin> <4A57B252.7080805@earthlink.net> <20090711183235.GM11691@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090711183235.GM11691@riva.ucam.org> 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 monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: Some ideas about new features of grub 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: Sat, 11 Jul 2009 18:55:31 -0000 On Sat, Jul 11, 2009 at 07:32:36PM +0100, Colin Watson wrote: > On Sat, Jul 11, 2009 at 06:20:13PM +0200, Michal Suchanek wrote: > > The other problem is that scripts like os-prober that use linux > > filesystem code for probing filesystems destroy your data. > > > > Linux cannot mount journalled filesystems readonly. It always modifies > > them. The extent of the modifications and the impact may vary > > depending on the state of the filesystem (clean/mounted) and the way > > you are going to use it in the future (resume the system/fresh boot) > > but until Linux people implement readonly filesystem support any Linux > > based os-probers cannot be recommended. > > I'm pretty sure this is fixable with blockdev --setro. The main reason > we haven't got round to doing this in os-prober yet is that we need to > get round to adding blockdev to busybox (which is important for > os-prober's original purpose, the Debian installer). Does D-I use os-prober for anything other than GRUB ? With grub-pc, it doesn't need to invoke os-prober directly, installing it to the target system would be enough. -- 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."