* Re: [Question] multi-CDROM Devices
2008-08-26 1:40 ` [Question] multi-CDROM Devices y.volta
@ 2008-08-28 21:45 ` Pavel Roskin
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2008-08-28 21:45 UTC (permalink / raw)
To: The development of GRUB 2
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
^ permalink raw reply [flat|nested] 2+ messages in thread