Displaying 5 results from an estimated 5 matches for "read_efi_sect".
2012 Feb 15
2
[PATCH] isohybrid: Generate MBR even when in EFI mode
...lendian_int(mac_lba * 4);
+ memcpy(&mbr[8], &tmp, sizeof(tmp));
+
+ tmp = lendian_int(mac_count);
+ memcpy(&mbr[12], &tmp, sizeof(tmp));
+ }
mbr += 16;
}
mbr[0] = 0x55;
@@ -908,8 +954,7 @@ main(int argc, char *argv[])
if (!read_efi_section(buf)) {
buf += 32;
if (!read_efi_catalogue(buf, &efi_count, &efi_lba) && efi_lba) {
- offset = 1;
- type = 0xee;
+ offset = 0;
} else {
errx(1, "%s: invalid efi catalogue", argv[0]);
}
@@ -925,8 +970,7 @@ main(int argc, char *argv[])
if (...
2014 Jul 29
0
isohybrid: slint64-14.1.iso: unable to find mac efi image
...orito-alt-boot -no-emul-boot -eltorito-platform 0xEF \
-eltorito-boot isolinux/efiboot.img \
-eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF \
-eltorito-boot isolinux/macboot.img \
>From util/isohybrid.c :
----------------------------------------------------------------
int
read_efi_section(const uint8_t *buf)
{
...
if (platform_id == 0xef)
return 0;
return 1;
}
...
main(int argc, char *argv[])
{
...
if (mode & EFI)
{
if (!read_efi_section(buf)) {
...
}
buf += 32;
if (mode & MAC)
{...
2014 Jul 29
2
isohybrid: slint64-14.1.iso: unable to find mac efi image
HI,
In http://slint.fr/misc/MacBoot/ you'll find all context information. All
files referenced here are stored there.
Long story short: once dd-ed on an USB stick the ISO image can boot on
a BIOS or EFI machine, but I want it to be able to boot on most x86_64
Macs with an EFI firmware.
Unfortunately I get the error message:
isohybrid: slint64-14.1.iso: unable to find mac efi image
The
2011 Aug 05
3
isolinux: Generate GPT and Mac bootable images
...mp; 0x0000000000FF0000) << 24 | (s & 0x0000FF0000000000) >> 24
+ | (s & 0x00000000FF000000) << 8 | (s & 0x000000FF00000000) >> 8;
+
+ return r;
+}
+
int
check_banner(const uint8_t *buf)
@@ -314,6 +514,43 @@ read_catalogue(const uint8_t *buf)
}
+int
+read_efi_section(const uint8_t *buf)
+{
+ unsigned char header_indicator;
+ unsigned char platform_id;
+ short count;
+
+ memcpy(&header_indicator, buf++, 1);
+ memcpy(&platform_id, buf++, 1);
+
+ memcpy(&count, buf, 2);
+ count = lendian_short(count);
+ buf += 2;
+
+ if (platform_id == 0xef)
+ retu...
2014 Feb 08
5
isohybrid --mac doesn't find the mac efi image
I posted this on the bugzilla page but I figured that on the mailing
list it would get more attention. Please see
http://bugzilla.syslinux.org/show_bug.cgi?id=49 for a description of my
current issue.
--
Thank you,
Fernando Reyes
GPG BDD75DD7
Mission Accomplish, Inc.
http://missionaccomplish.com
Email:design at missionaccomplish.com
Tel: 7187100008
Cell: 3479275477