Skip to contentSkip to conversation

multi-CDROM Devices

Question y.volta 2 participants 2 messages Aug 26, 2008 – Aug 28, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

y.volta

author
#1 lore raw

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?

Y.Volta

#2 lore raw
Quoted 7 lines · y.volta

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.

Signature · 2 lines
Regards,
Pavel Roskin