As I had some problems doing this and could not find a simple How To on it, here are some notes on how to do it. It is really quite easy once you know how!
If you want to see what you have changed compared to the original source files, type svn diff. To create a nice diff file type svn diff > mychanges.diff and then load the file mychanges.diff using NotePad2 or a similar programmers text editor.
1. Download BackTrack 5 ISO and install it to a virtual machine's virtual hard disk (e.g. Windows Virtual PC - set network adapter to Intel 82562V-2 10/100 not NAT).
2. Check the browser is working and then in a console window type svn checkout http://grubutils.googlecode.com/svn/trunk/ grubutils3. Use cd to change to the grubutils/src folder and type ./build to build all utilities.
4. In the Windows Virtual PC Settings menu, enable the Integration features and then in BT5, run Setup from the CD that should now be detected by linux. This will install integration features via WINE.
5. In Dolphin, click on Network and Add Network Folder, enter the name of your host computer - e.g. MyDell\c$, enter the username and password and tick Remember password - if the password does not seem to work - just keep hitting OK until it is accepted - it seems to take several attempts!
6. You should now be able to browse to the host computer C: drive and drop any compiled utilities from the virtual machine onto the host machine.
Now just edit a source file - e.g. wenv.c and type ./build to recompile it. Then copy it to your host C: drive and then copy it to a USB drive to test it (e.g. under QEMU).
1. Download latest source
2. cd to new folder and run
configure --disable-guest-agent (otherwise asks for python)
(if error about glib-2.0 required to compile QEMU then edit configure file around line 1840 to comment out exit 1 line)
(if error about error: zlib check failed then install zlib and maybe xy too - see here for instructions)
strip qemu-img.exe (to get rid of debug code)
Note: qemu may not be usable as usually needs tweaks .