iPXE discussion forum
Building bootable USB thumbdrive on a Mac - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Building bootable USB thumbdrive on a Mac (/showthread.php?tid=4559)



Building bootable USB thumbdrive on a Mac - stefanlasiewski - 2012-09-07 00:10

I am running Snow Leopard.

I want to build a iPXE bootable USB thumbdrive image and I am following the instructions from http://ipxe.org/download#using_a_boot_cd-rom_or_usb_key

But when I try that, I get an error:

Code:
~/src/ipxe/src $ make bin/ipxe.usb
FATAL:/usr/bin/../libexec/gcc/darwin/x86_64/as: I don't understand '-' flag!
  [BUILD] bin/usbdisk.o
FATAL:/usr/bin/../libexec/gcc/darwin/x86_64/as: I don't understand '-' flag!
make: *** [bin/usbdisk.o] Error 1

Is it possible to build the usb image on a Mac?

Thank you,

-= Stefan


RE: Building bootable USB thumbdrive on a Mac - jpwise - 2012-09-07 08:39

I can't help with the compile issues, but to the best of my knowledge you won't be able to usb boot it with the standard compile. I've been posting in this thread with my research/findings so far relating to iPXE booting Macs.

Jp.


RE: Building bootable USB thumbdrive on a Mac - stefanlasiewski - 2012-09-07 18:43

(2012-09-07 08:39)jpwise Wrote:  I can't help with the compile issues, but to the best of my knowledge you won't be able to usb boot it with the standard compile. I've been posting in this thread with my research/findings so far relating to iPXE booting Macs.

Thank you. Just to clarify, I won't be booting a mac from the USB drive, but I would be booting iPXE and attempting to netboot Linux and FreeBSD machines. Or, i might try to load a disk image from the same USB thumbdrive. Not sure what I want to do yet, as I am just experimenting. It seems like once I get iPXE loaded, there are many possible options.

iPXE looks to have a ton of potential, but I'm just not sure how to get there.


RE: Building bootable USB thumbdrive on a Mac - robinsmidsrod - 2013-07-20 17:24

stefan: Do remember you can get a prebuilt binary from http://rom-o-matic.eu/ while you figure out your compilation issue. I would suggest you try to join us on IRC and we might be able to figure out what's going on. If you try to make V=1 you should be able to see the compilation command that actually fails. My guess is that the xcode assembler (as) is a bit picky on its options.