[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does grub-mkrescue support UEFI hybrid USB/DVD images?

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Does grub-mkrescue support UEFI hybrid USB/DVD images?
Date: Thu, 22 Jan 2015 23:15:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

On 22.01.2015 22:25, Kris Moore wrote:
> Hey all,
> We are trying to create hybrid USB/DVD images, and they work just fine
> on BIOS. However it doesn't seem to work when creating UEFI.
Try this:
diff --git a/grub-core/disk/efi/efidisk.c b/grub-core/disk/efi/efidisk.c
index 3b12c34..983afdb 100644
--- a/grub-core/disk/efi/efidisk.c
+++ b/grub-core/disk/efi/efidisk.c
@@ -862,9 +862,7 @@ grub_efidisk_get_device_name (grub_efi_handle_t *handle)
          if (! ctx.partition_name)
              grub_disk_close (parent);
-             if (is_cdrom)
-               return grub_strdup (device_name);
-             return 0;
+             return grub_strdup (device_name);

          dev_name = grub_xasprintf ("%s,%s", parent->name,

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]