mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Don't pass biosdev if not booted from BIOS disk
This commit is contained in:
1 parent
5408044f4c
commit
2343285528
2 files changed
+6
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user