From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JOB7k-0002Fg-SL for mharc-grub-devel@gnu.org; Sun, 10 Feb 2008 07:17:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOB7j-0002EU-T4 for grub-devel@gnu.org; Sun, 10 Feb 2008 07:17:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOB7i-0002Cw-T5 for grub-devel@gnu.org; Sun, 10 Feb 2008 07:17:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOB7i-0002Ci-Na for grub-devel@gnu.org; Sun, 10 Feb 2008 07:17:30 -0500 Received: from mailout01.sul.t-online.de ([194.25.134.80] helo=mailout01.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOB7i-0003pK-Da for grub-devel@gnu.org; Sun, 10 Feb 2008 07:17:30 -0500 Received: from fwd29.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1JOB7g-0000LI-00; Sun, 10 Feb 2008 13:17:28 +0100 Received: from [10.3.2.2] (bjkh6wZbQhFMOX74SBRIFFZ+2yNXZLd3yHSuMFHHax83sMgG+8JjPTkMysG+oD4we8@[217.235.212.46]) by fwd29.aul.t-online.de with esmtp id 1JOB7Z-20p6Rs0; Sun, 10 Feb 2008 13:17:21 +0100 Message-ID: <47AEEB52.7@t-online.de> Date: Sun, 10 Feb 2008 13:17:22 +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: <47ACA35C.6080803@t-online.de> <20080208191743.GB24599@thorin> <47ACD19B.8040702@t-online.de> <20080208224510.GB12839@thorin> <47ADDA78.5020602@t-online.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: bjkh6wZbQhFMOX74SBRIFFZ+2yNXZLd3yHSuMFHHax83sMgG+8JjPTkMysG+oD4we8 X-TOI-MSGID: 9d5be29d-3e65-4b47-9541-2b8e3ad91df7 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [PATCH] Create floppy emulation boot CD with grub-mkimage 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: Sun, 10 Feb 2008 12:17:32 -0000 Bean wrote: > On Feb 10, 2008 12:53 AM, Christian Franke <...> wrote: > >> ... >> Results: >> >> PC: grub_boot_drive=0x9f, but INT13 Extensions reported for 0x9f >> >> VMware: grub_boot_drive=0x9f >> >> VirtualPC: grub_boot_drive=0xef >> >> VirtualBox: grub_boot_drive=0xe0 >> >> GRUB_MOD_INIT(biosdisk) detects INT13 Extensions for 0x9f on the real >> PC, therefore "(cd0)" does not appear in "ls" output. >> Nevertheless, access to (cd0) and everthing else works as expected due >> to the default setting of >> biosdisk.c::cd_start = 0x9f. >> >> ... >> > > I don't know which drive to start scanning for cdrom. 0x9F means at > most 31 hard drives, i think it's fine for the most time. > > Agree. Sorry, my info was wrong, it should read: PC: Reports INT13 Extensions *not* available for drive 0x9f. All VMs: INT13 Extensions available for grub_boot_drive. CD device scanning fails if BIOS reports no INT13 Extensions for the boot CD drive. I will post a patch in a new thread. Please apply your init.c "(cd0" patch also, as it is necessary if grub_boot_drive is not equal to ..._CDROM_START. Christian