Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building bootable USB thumbdrive on a Mac
2012-09-07, 00:10
Post: #1
Building bootable USB thumbdrive on a Mac
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
Visit this user's website Find all posts by this user
Quote this message in a reply
2012-09-07, 08:39
Post: #2
RE: Building bootable USB thumbdrive on a Mac
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.
Find all posts by this user
Quote this message in a reply
2012-09-07, 18:43 (This post was last modified: 2012-09-07 18:44 by stefanlasiewski.)
Post: #3
RE: Building bootable USB thumbdrive on a Mac
(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.
Visit this user's website Find all posts by this user
Quote this message in a reply
2013-07-20, 17:24
Post: #4
RE: Building bootable USB thumbdrive on a Mac
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)