* grub-core/disk/i386/pc/biosdisk.c (GRUB_MOD_INIT): Workaround buggy
BIOSes.
This commit is contained in:
		
							parent
							
								
									a0159f370d
								
							
						
					
					
						commit
						446fa40081
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		|  | @ -624,6 +624,11 @@ GRUB_MOD_INIT(biosdisk) | |||
|       ((cdrp->media_type & GRUB_BIOSDISK_CDTYPE_MASK) | ||||
|        == GRUB_BIOSDISK_CDTYPE_NO_EMUL)) | ||||
|     cd_drive = cdrp->drive_no; | ||||
|   /* Since diskboot.S rejects devices over 0x90 it must be a CD booted with
 | ||||
|      cdboot.S | ||||
|    */ | ||||
|   if (grub_boot_drive >= 0x90) | ||||
|     cd_drive = grub_boot_drive; | ||||
| 
 | ||||
|   grub_disk_dev_register (&grub_biosdisk_dev); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue