<<Include(Tag/ContentCleanup)>> <<Include(Tag/StyleCleanup)>> Goal: to set up a system that will dual boot XP and Ubuntu and also boot the XP install in a VM without destroying its ability to boot in Native Mode (i.e. outside of the VM) so you will be able to boot the same install of XP in and out of a virtual machine. General notes. These helps are to use at your own risk. I can only tell you that I have only a working knowledge of Ubuntu, Windows and the VMware forums and was able to figure this out. I have tested it for a day booting in and out of Ubuntu and XP in the VM and out with no errors. I hope that this helps some People. Feel free to edit it to make it more generic / user friendly. I gained a lot of help from http://www.vmware.com/community/thread.jspa?forumID=19&threadID=6282&messageID=44269#44269 Here goes . . . 1. Install XP as the first partition (or if the thought churns your stomach ask a friend) Leave enough room for Ubuntu. 2. Install Ubuntu with enough space to make a temporary 4.0GB Virtual machine 3. Install VMware in Ubuntu per https://wiki.ubuntu.com/InstallingVMWare
3.2 To run Alt+F2 then type "gksudo vmware" without the quotes and type the password. You will need this later to have acces to /dev/hda 3.5 Create a Virtual Machine with XP on it (set it up with a virtual disk not a raw partition) it will only be temporary, you can delete it later. 4. Once it is created; in the VM copy c:\windows\system32\hal.dll to a floppy or any other medium by which you will be able to transfer it to the native install (i.e. gmail it to yourself if this is an option) 5. Close the VM 6. Reboot into the native windows installation 7. Rename hal.dll that you copied to the floppy from the VM to halvm.dll 8. Copy it to c:\windows\system32 in the native install 9. Follow this KB artice ( http://support.microsoft.com/default.aspx?kbid=314082)
from the place . . . "1. Copy the following information into Notepad . . . " Note the typo in under 2: "...file, or copy..." should be "...file, and copy..." from steps 1 to 3. This is fairly straight foward and vital. 10. Click Start, Right click "My Computer", choose "properties" from the menu. 11. Click on the Advanced Tab, then choose settings under "Startup and Recovery", the click edit 12. There will be a line that looks similiar to : multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect 13. Copy this line (highlight it, Edit, Copy) then paste it right below 14 Change "Microsoft Windows XP Home Edition" to "Microsoft Windows XP Home Edition VMWARE" and add /HAL=halvm.dll, it should look like this: multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Home Edition VMWARE" /noexecute=optin /fastdetect /HAL=halvm.dll 15. Click File, then Save, 16. Then OK in the "Startup and Recovery Page" 17. Then click on the Hardware tab and click "Hardware Profiles" 18. Select Profile 1 then click copy: when it asks for a name type VMware 19. Now shutdown windows and pray like you should have before you started 20. Start up Ubuntu 21. Make a new virtual machine using the Native Partition: choose "Use a Physical disk" and choose "entire disk" (if you do not you will get grub error 17.) (Also note this machine must be made in Vmware 5.0 or earlier. VMware 5.5 does not let you do this, but once made you can use the virtual machine just fine in subsequent versions of VMware, and it is free to evaluate for 30 days, better yet create the machine in a demonstration i.e. 30 day version of vmware then use it on a regualar basis in vmplayer! absolutely free) 22. Boot into your VM by Chosing "Microsoft Windows XP Home Edition VMWARE" when prompted and choose "VMware" when it asks for a Hardware profile. 22. Install VMware tools. and reboot the VM. 23. From now on when you want to boot natively choose the first options when starting up, to boot in the Vm choose "Microsoft Windows XP Home Edition VMWARE" and "VMware" Closing Comments - Delete the temporary 4.0 GB VM that you made you only needed one file hal.dll that was created during the install.