<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi,</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Jan 25, 2016 at 4:15 AM, 김병욱 <span dir="ltr"><<a href="mailto:quddnr145@naver.com" target="_blank">quddnr145@naver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="font-size:10pt;font-family:Gulim"><p><font size="2">Hello </font>ipxe<font size="2"> developer or contributors.</font></p><p><font size="2">I can compile pxe-boot to use usb. but it wasn't run.</font> </p><p>My notebook(real machine) is rebooted infinite.</p><p>I still don't understand, why wasn't run.</p><p> </p><p><b style="font-size:10pt">lrwxrwxrwx 1 root root   9  1월 25 12:02 usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0 -> ../../sdb</b></p><div>$ git clone <a href="http://github.com/ipxe/ipxe" target="_blank">http://github.com/ipxe/ipxe</a> ipxe-src</div><div>$ cd ipxe-src/src</div><div>$ make</div><div>$ make bin/ipxe.usb</div><div>$ sudo dd if=bin/ipxe.usb of=/dev/disk/by-id/<span style="font-size:10pt">usb-Sandisk_USB_Ultra_VC0482150712210757000233-0:0</span></div><div><span style="font-size:10pt"><b>$ qemu-system-i386 /dev/sdb -boot n<span style="color:rgb(255,0,0)"> <--- success</span></b></span></div><div><br></div></div></blockquote><div><br></div><div>Qemu have it's own version of ipxe, (check the version string when ipxe start you should see the start of git id)<br></div><div>So even if /dev/sdb boot fails it can boot ipxe from.</div><div>in this case you use network boot directly so /dev/sdb is not used at all is my guess.</div><div><br></div><div>Try the qemu command without -boot n</div><div><br></div><div>please try <span style="font-family:Gulim;font-size:13.3333330154419px">dd if=bin/ipxe.usb of=/dev/sdb</span></div><div><font face="Gulim"><span style="font-size:13.3333330154419px">Might be that you create a file with different name instead of writing to the usb drive.</span></font></div><div><font face="Gulim"><span style="font-size:13.3333330154419px">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)</span></font></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="font-size:10pt;font-family:Gulim"><div></div><p><span style="font-size:10pt"><b>[target machine information]</b></span></p><p><span style="font-size:10pt">$ lscpi -s 02:00.0 -nnn</span> </p><p>Network Controller [0200] : Qualcomm Atheros AR92856 Wireless Network Adapter (PCI-Express) [168C:002B] (rev 01)</p><p> </p><p>Why wasn't it booted in real machine?</p><p><br></p></div></blockquote><div><font face="Gulim"><span style="font-size:13.3333330154419px">When you run on target machine, do you see any iPXE text at all?</span></font></div><div><font face="Gulim"><span style="font-size:13.3333330154419px"><br></span></font></div><div><font face="Gulim"><span style="font-size:13.3333330154419px">/Christian</span></font></div><div> </div></div></div></div>