<p>I do it as the follow steps:<br>1. download QEMU from  <a href="http://bellard.org/qemu/qemu-0.9.1-i386.tar.gz">http://bellard.org/qemu/qemu-0.9.1-i386.tar.gz</a><br>2. install it<br>    tar xfz qemu-0.9.1-i386.tar.gz -C /<br>
3. download rtems floppy image from ftp server :<br>    <a href="ftp://ftp.rtems.com/pub/rtems/qemu/i386-pc/rtems-boot.img">ftp://ftp.rtems.com/pub/rtems/qemu/i386-pc/rtems-boot.img</a><br>4. download <a href="ftp://ftp.rtems.com/pub/rtems/qemu/i386-pc/rtems-grub.cfg">ftp://ftp.rtems.com/pub/rtems/qemu/i386-pc/rtems-grub.cfg</a><br>
    and copy it to my root directory /<br>5. mkdir /capture<br>   cp hello.exe /capture/capture.exe<br>6. run qemu<br>    qemu -fda rtems-boot.img -boot a -hda /dev/sda</p>
<div>but the capture.exe (which is actually helloworld I build with rtems-4.7.3) does not run as I excepted.</div>
<div>This capture.exe could run on my host by modifying /boot/grub/menu.lst</div>
<p>I type the following commands in grub: <br>grub> set root=(hd0,0)<br>grub> set kernel=/capture/capture.exe<br>grub> boot</p>
<p>then grub told me:   <br>error: no loaded kernel</p>
<p>I type the following commands in grub:<br>grub> set root=(hd0,0)<br>grub> multiboot /capture/capture.exe</p>
<p>then grub told me:<br>error: Couldn't open file</p>
<p>Could somebody help me?</p>
<p>My host is openSUSE 11.1, my disk information is:<br>/dev/sda1              3091312    516528   2417752  18% /<br>udev                    252876      5428    247448   3% /dev<br>/dev/sda8              3605268    153972   3268160   5% /home<br>
/dev/sda7              1130540    221192    851920  21% /tmp<br>/dev/sda9              6412052   3541120   2545216  59% /usr<br>/dev/sda6              1130540    193556    879556  19% /var</p>
<p>I type the following commands in grub:<br>grub> ls</p>
<p>then grub told me:<br>(fd0) (hd0) (hd0,0) (hd0,4) (hd0,5) (hd0,6) (hd0,7) (hd0,8)</p>
<p>they didn't match my host disk partition number</p>