[ipxe-devel] ipxe wasn't compiled.

Christian Nilsson nikize at gmail.com
Wed Jan 27 20:03:52 UTC 2016


On Mon, Jan 25, 2016 at 4:15 AM, 김병욱 <quddnr145 at naver.com> wrote:

> Hello ipxe developer or contributors.
> I can compile pxe-boot to use usb. but it wasn't run.
> My notebook(real machine) is rebooted infinite.
> I still don't understand, why wasn't run.
> *lrwxrwxrwx 1 root root   9  1월 25 12:02
> usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0 -> ../../sdb*
> $ git clone http://github.com/ipxe/ipxe ipxe-src
> $ cd ipxe-src/src
> $ make
> $ make bin/ipxe.usb
> $ sudo dd if=bin/ipxe.usb of=/dev/disk/by-id/
> usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0
> *$ qemu-system-i386 /dev/sdb -boot n <--- success*
Qemu have it's own version of ipxe, (check the version string when ipxe
start you should see the start of git id)
So even if /dev/sdb boot fails it can boot ipxe from.
in this case you use network boot directly so /dev/sdb is not used at all
is my guess.

Try the qemu command without -boot n

please try dd if=bin/ipxe.usb of=/dev/sdb
Might be that you create a file with different name instead of writing to
the usb drive.
Also if dd does not have access to write to the disk then qemu probably
won't have access to read (you can skip the sudo part, or you need sudo for
qemu as well)

> *[target machine information]*
> $ lscpi -s 02:00.0 -nnn
> Network Controller [0200] : Qualcomm Atheros AR92856 Wireless Network
> Adapter (PCI-Express) [168C:002B] (rev 01)
> Why wasn't it booted in real machine?
> When you run on target machine, do you see any iPXE text at all?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160127/60fb595d/attachment.htm>

More information about the ipxe-devel mailing list