All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [Question]  multi-CDROM Devices
Date: Thu, 28 Aug 2008 17:45:13 -0400	[thread overview]
Message-ID: <1219959914.20608.5.camel@dv> (raw)
In-Reply-To: <0C6CFB21791D4EA9A8AD265C00D4DE9D@WINSERVER2008>

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



      reply	other threads:[~2008-08-28 21:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <48b2d81f.231e640a.2ccd.1c08SMTPIN_ADDED@mx.google.com>
2008-08-26  1:40 ` [Question] multi-CDROM Devices y.volta
2008-08-28 21:45   ` Pavel Roskin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1219959914.20608.5.camel@dv \
    --to=proski@gnu.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.