Don't pass biosdev if not booted from BIOS disk
This commit is contained in:
		
							parent
							
								
									5408044f4c
								
							
						
					
					
						commit
						2343285528
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -417,6 +417,9 @@ grub_multiboot_set_bootdev (void) | |||
|   biosdev = 0xffffffff; | ||||
| #endif | ||||
| 
 | ||||
|   if (biosdev == 0xffffffff) | ||||
|     return; | ||||
| 
 | ||||
|   dev = grub_device_open (0); | ||||
|   if (dev && dev->disk && dev->disk->partition) | ||||
|     { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue