none
Windows Embedded Compact 7 and bootloader on VHD files for Virtual CEPC RRS feed

  • Question

  • Hello,

    I have installed Windows Embedded Compact 7 and I have created an OS image using Virtual CEPC BSP under Virtual PC 2007. For thi porpouse I have used the hd0_sample.vhd file that is installed with WCE7 on my PC. I want to modify the Virtual CEPC bootloader and create a new vhd file to use instead of the hd0_sample.vhd. How can I create a new vhd file and write the new bootloader on it ?

    Thanks,

    Paolo

    Sunday, January 9, 2011 3:22 PM

All replies

  • vhd are virtual hard disk files for Virtual PC: you can create a new virtual machine and use the floppy disk you can create with the tool in CEPC platform to partition and format the HD. then you may copy the loadcepc  etc and the new eboot on it

    --
    Luca Calligaris
    lucaDOTcalligarisATeurotechDOTcom
    www.eurotech.com
     
     
    "paolopat" <=?utf-8?B?cGFvbG9wYXQ=?=> ha scritto nel messaggio news:c525a0d8-ed87-45a4-8abb-743ce9c2721f...

    Hello,

    I have installed Windows Embedded Compact 7 and I have created an OS image using Virtual CEPC BSP under Virtual PC 2007. For thi porpouse I have used the hd0_sample.vhd file that is installed with WCE7 on my PC. I want to modify the Virtual CEPC bootloader and create a new vhd file to use instead of the hd0_sample.vhd. How can I create a new vhd file and write the new bootloader on it ?

    Thanks,

    Paolo


    Luca Calligaris (MVP-Windows Embedded) lucaDOTcalligarisATeurotechDOTcom www.eurotech.com
    Monday, January 10, 2011 10:03 AM
  • You need to mount the VHD volume to your dev PC first (Win7 supports mount VHD, otherwise you need some tools to mount VHD), then partition the VHD, create a primary partition and set it as "Active", Format it with FAT.
    Then you can trasnfer your new boot loader to VHD.
    Depends on which boot code architecture you are using, the transferring tool can be different.
    For example, the Virtual CEPC BSP's default boot code can be transffered by platform\VirtualPC\src\boot\tools\bin\i386\cesys.exe to transfer bootsector and bootloader to your VHD.

    Monday, January 10, 2011 6:51 PM
  • For more information about creating a custom VHD, see the Advanced Virtual CEPC whitepaper at http://www.microsoft.com/windowsembedded/en-us/develop/advanced-virtual-cepc.aspx.
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, October 20, 2011 7:07 PM
  • The loopback adapter was my first choice: if you use it you will experience the 'TFTP timout' issue reported in other posts (for example here: http://social.msdn.microsoft.com/Forums/en-US/winembplatdev/thread/34db2cc5-4034-4089-b324-f0a54258f158/). The problem is that the workaround described in http://blogs.msdn.com/b/obloch/archive/2010/08/12/windows-embedded-compact-7-and-virtual-pc-bsp.aspx (turning off UDP Checksum of your network card) won't work because the loopback adapter has no such options.


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com
    Friday, October 21, 2011 10:06 AM