QEMU with network boot

Edwin Groothuis edwin at mavetju.org
Wed May 7 12:18:32 UTC 2008


On Wed, May 07, 2008 at 10:14:37PM +1000, Edwin Groothuis wrote:
> On Wed, May 07, 2008 at 01:21:08AM -0700, Bakul Shah wrote:
> > > I have moved the file /boot/pxeboot to my tftpboot directory, it
> > > gets loaded but then QEMU complains about:
> > > 
> > >     ......TFTP download complete, but Unable to load file.
> > > 
> > > And restarts. Not sure what goes wrong...
> > 
> > See my message to Freebsd-emulation, dated 23 Apr 2007
> > 12:23:09 PDT.  With the patched and recompiled etherboom ROM
> > now it gets to pxeboot loader's OK prompt. NFS MOUNT fails
> > but it gets further than I remember!
> 
> Thanks for your reply, I've managed to create my new rtl8139.zrom.
> And it works like a charm!
> 
> --------------------- 8< ----------------------------------
> Loading 192.168.253.1:/boot/pxeboot ..(PXE).....................................
> ................................................................................
> ................................................................................
> ................................................................................
> ................................................................................
> .......................................................................done     
> PXE Loader 1.00                                                                 
>                                                                                 
> Building the boot loader arguments                                              
> Relocating the loader and the BTX                                               
> Starting the BTX loader                                                         
> 
> BTX loader 1.00  BTX version is 1.01                                            
> Consoles: internal video/keyboard                                               
> BIOS drive C: is disk0                                                          
> 
> PXE version 2.1, real mode entry point @9f00:0680                               
> 
> int=0000000d  err=00000000  efl=00020002  eip=00000916                          
> eax=0009cb90  ebx=000008eb  ecx=00000000  edx=00003c54                          
> esi=00000000  edi=00000000  ebp=0009cf62  esp=000003d2                          
> cs=9f00  ds=9f00  es=0000    fs=0000  gs=0000  ss=9cb9                          
> cs:eip=66 0f 01 97 52 00 0f 20-c0 0c 01 0f 22 c0 66 ff                          
>        af 6a 00 66 b8 10 00 8e-d0 89 ec 8e d8 8e c0 8e                          
> ss:esp=00 00 00 00 71 00 00 00-00 00 00 00 e2 f6 09 00                          
>        00 9f b9 9c 00 00 00 00-00 00 00 00 00 00 02 02                          
> 
> BTX halted           
> --------------------- 8< ----------------------------------
> 
> Nearly like a charm. Well, the PXE part does work now, but the BTX
> part is not good.
> 
> It doesn't matter if I use an pxeboot from an 6.3 system or an 7.0
> system. This happens with both emulators/qemu as with emulators/qemu-devel.
> 
> Any idea where to look now?

http://www.mavetju.org/mail/view_message.php?list=freebsd-emulation&id=2550189
of course.

I need to start writing things up on this so others will have less
troubles than I have :-)

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/


More information about the freebsd-emulation mailing list