Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KLQ38-0005F8-4r for mharc-grub-devel@gnu.org; Tue, 22 Jul 2008 18:09:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLQ37-0005F3-3E for grub-devel@gnu.org; Tue, 22 Jul 2008 18:09:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLQ36-0005Er-MP for grub-devel@gnu.org; Tue, 22 Jul 2008 18:09:36 -0400 Received: from [199.232.76.173] (port=44629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLQ36-0005Eo-Dr for grub-devel@gnu.org; Tue, 22 Jul 2008 18:09:36 -0400 Received: from aybabtu.com ([69.60.117.155]:60906) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KLQ36-0003YH-FC for grub-devel@gnu.org; Tue, 22 Jul 2008 18:09:36 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KLPx7-0003Bp-OD for grub-devel@gnu.org; Wed, 23 Jul 2008 00:03:26 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KLQ29-0004Gq-1G for grub-devel@gnu.org; Wed, 23 Jul 2008 00:08:37 +0200 Date: Wed, 23 Jul 2008 00:08:37 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080722220837.GB15825@thorin> References: <200807160115.07363.okuji@enbug.org> <1216164117.9604.8.camel@dv> <200807160132.18470.okuji@enbug.org> <1216165935.9604.26.camel@dv> <20080716071126.170a1d58@gibibit.com> <1216224537.26635.32.camel@dv> <20080719151410.GE23778@thorin> <1216675577.11291.40.camel@dv> <20080722213629.GB15111@thorin> <1216763876.5601.9.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1216763876.5601.9.camel@dv> 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.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: device.map (Re: Next release?) 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, 22 Jul 2008 22:09:37 -0000 On Tue, Jul 22, 2008 at 05:57:56PM -0400, Pavel Roskin wrote: > On Tue, 2008-07-22 at 23:36 +0200, Robert Millan wrote: > > On Mon, Jul 21, 2008 at 05:26:17PM -0400, Pavel Roskin wrote: > > > > > > > > This is mostly implemented already. I sent a proof of concept in a mail > > > > titled "[PATCH] disk/fs_uuid.c". > > > > > > > > It will only search hard drives unless no match is found (in that case your > > > > boot is broken, so you wouldn't care much that floppy is being probed ;-) > > > > > > Then all be need it to have an option in grub-install to enable this > > > logic. > > > > Why an option? Is there any situation in which it is known that boot will > > be unreliable (because embed disk != /boot/grub disk), and in spite of that > > you don't want UUIDs to be used? > > I guess I was unclear. It's not like I don't want the UUIDs to be used. > I don't want users to create a cross-drive setup unknowingly or without > knowing the consequences. Failure of any of the drives will break the > loading. There are many temporary portable drives and flash devices. > The intention of the user may be to make that drive bootable, not to > create a configuration that would require both the internal and the > external drives. > > If the user is OK with the cross-drive install, using UUIDs should be > either the default or the only option. I don't think it's that unusual. Let's take an example. We have 1 PATA disk and 1 SATA disk, and are installing GNU/Linux in it. We only have one /boot partition (or directory in /). Turns out we have no idea which of the two disks the BIOS will want to use for boot. So the safest option is to grub-install in both. A consequence of this is that one of the two installs is cross-disk. And (provided that UUIDs are used), this setup is _completely_ reliable and there's no reason to prevent the user from doing it, IMHO. -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)