From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KYpIy-0003u1-RT for mharc-grub-devel@gnu.org; Thu, 28 Aug 2008 17:45:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYpIw-0003sW-2z for grub-devel@gnu.org; Thu, 28 Aug 2008 17:45:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYpIu-0003qt-7g for grub-devel@gnu.org; Thu, 28 Aug 2008 17:45:21 -0400 Received: from [199.232.76.173] (port=60055 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYpIt-0003qk-Mp for grub-devel@gnu.org; Thu, 28 Aug 2008 17:45:19 -0400 Received: from c60.cesmail.net ([216.154.195.49]:49231) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KYpIs-0005u7-R6 for grub-devel@gnu.org; Thu, 28 Aug 2008 17:45:19 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 28 Aug 2008 17:45:15 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 450E84F1869 for ; Thu, 28 Aug 2008 17:45:15 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <0C6CFB21791D4EA9A8AD265C00D4DE9D@WINSERVER2008> References: <48b2d81f.231e640a.2ccd.1c08SMTPIN_ADDED@mx.google.com> <0C6CFB21791D4EA9A8AD265C00D4DE9D@WINSERVER2008> Content-Type: text/plain Date: Thu, 28 Aug 2008 17:45:13 -0400 Message-Id: <1219959914.20608.5.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [Question] multi-CDROM Devices 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: Thu, 28 Aug 2008 21:45:22 -0000 On Tue, 2008-08-26 at 09:40 +0800, y.volta wrote: > Hi, > > i tried the latest grub2 on my virtual machine with two CD-ROMs. > but, i can access only one of them. I read the biosdisk.c, here is > a "static int cd_drive = 0;" > > so i think, we can modify it to support more than one CD-ROM, itn't it? I believe BIOS would only work with the CD-ROM it's booting from. cd_drive is actually populated with the value provided by BIOS. There is no generic CD-ROM access in BIOS. You'll need direct ATAPI access for other CD-ROMs. In other words, use the "ata" module: insmod ata The downside that it will turn off all BIOS access, so e.g. floppies will be inaccessible. You may need to adjust "root" and "prefix" variables to point to the ata devices. -- Regards, Pavel Roskin