On Feb 10, 2008 8:23 PM, Christian Franke <[EMAIL PROTECTED]> wrote: > Detecting BIOS CD device by INT13 "Check Extensions" (AH=42) call does > not work for all BIOSes. > > This patch fixes this to allow access to the boot CD. > > See also thread "[PATCH] Create floppy emulation boot CD with > grub-mkimage". The "(cd0" patch from Bean is not included here but > should also be applied. > > Christian > > 2008-02-10 Christian Franke <[EMAIL PROTECTED]> > > * disk/i386/pc/biosdisk.c: Include <grub/machine/kernel.h>. > (GRUB_MOD_INIT): Make boot CD accessible even if BIOS does not report > INT13 Extensions for grub_boot_drive. > * include/grub/i386/pc/biosdisk.h (GRUB_BIOSDISK_MACHINE_CDROM_START): > Change from 0xe0 to 0x9f to cover more BIOS variants. > * include/grub/i386/pc/kernel.h (grub_boot_drive): Add EXPORT_VAR.
i think we can assume grub_boot_drive as (cd0) if it's within range, and start scanning from grub_boot_drive + 1. -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel