From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JZKpT-0002KO-7a for mharc-grub-devel@gnu.org; Wed, 12 Mar 2008 02:52:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZKpR-0002Jx-H8 for grub-devel@gnu.org; Wed, 12 Mar 2008 02:52:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZKpQ-0002Jl-32 for grub-devel@gnu.org; Wed, 12 Mar 2008 02:52:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZKpP-0002Ji-Sx for grub-devel@gnu.org; Wed, 12 Mar 2008 02:52:43 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JZKpP-0006yF-Bk for grub-devel@gnu.org; Wed, 12 Mar 2008 02:52:43 -0400 Received: from mailout02.sul.t-online.de ([194.25.134.17] helo=mailout02.sul.t-online.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JZKpO-0003FV-8z for grub-devel@gnu.org; Wed, 12 Mar 2008 02:52:42 -0400 Received: from fwd33.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1JZKpL-0007Ls-02; Wed, 12 Mar 2008 07:52:39 +0100 Received: from [10.3.2.2] (GuO30uZAohcDRrNYiAF9L5Dx-6lUZ3M8pUazkTkRa1QijVZ6WDErmCvP5YyAJcuZ74@[217.235.236.254]) by fwd33.aul.t-online.de with esmtp id 1JZKpA-2JmeWm0; Wed, 12 Mar 2008 07:52:28 +0100 Message-ID: <47D77DAD.1080309@t-online.de> Date: Wed, 12 Mar 2008 07:52:29 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: The development of GRUB 2 References: <47D16136.1060705@nic.fi> <47D6F556.9040500@t-online.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: GuO30uZAohcDRrNYiAF9L5Dx-6lUZ3M8pUazkTkRa1QijVZ6WDErmCvP5YyAJcuZ74 X-TOI-MSGID: b7d5b49e-cd6f-4a5c-bbac-1b31d37f2cb0 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] cdrom access patch 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: Wed, 12 Mar 2008 06:52:45 -0000 Bean wrote: > On Wed, Mar 12, 2008 at 5:10 AM, Christian Franke > <...> wrote: > >> ... >> cd.diff works on this specific PC (Asus A8N, Phonix-Award BIOS), CD >> appears as hd31. >> >> BTW: grub_biosdisk_iterate should IMO always expose the boot_drive (see >> my latest patch). >> With current CVS and cd.diff, the boot_drive would not be visible in >> 'ls' if e.g 0x80=HDD, 0x82=boot CD (as seen on some old Laptop). >> > > Thanks for the tip, please test the new patch, it start scanning for > cdrom if the boot drive is larger than the last harddisk. > > OK, will test this soon. > BTW, i have a small question, if there is more than one cdrom, would > bios export all of them, or just the boot one ? > > At least during my tests, the 2nd CD drive was never accessible. I don't know if this is true in general. Different BIOS versions apparently handle CD booting different. For instance when booting a "floppy emulation" CD, some BIOS expose the real floppy drive as fd1, some don't. Christian