个人工具

“UbuntuHelp:VMware/Workstation/NativeVirtualMachine”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/VMware/Workstation/NativeVirtualMachine}}
 
{{From|https://help.ubuntu.com/community/VMware/Workstation/NativeVirtualMachine}}
 
{{Languages|UbuntuHelp:VMware/Workstation/NativeVirtualMachine}}
 
{{Languages|UbuntuHelp:VMware/Workstation/NativeVirtualMachine}}
 +
<<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.
 
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 [[UbuntuHelp:VMware|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.
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  
 
I gained a lot of help from  
 
http://www.vmware.com/community/thread.jspa?forumID=19&threadID=6282&messageID=44269#44269
 
http://www.vmware.com/community/thread.jspa?forumID=19&threadID=6282&messageID=44269#44269
 
 
Here goes . . .  
 
Here goes . . .  
 
 
1. Install XP as the first partition (or if the thought churns your stomach ask a friend) Leave enough room for Ubuntu.
 
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  
 
2. Install Ubuntu with enough space to make a temporary 4.0GB Virtual machine  
 
+
3. Install [[UbuntuHelp:VMware|VMware]] in Ubuntu per https://wiki.ubuntu.com/InstallingVMWare
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.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.
 
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)
 
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
 
5. Close the VM
 
 
6. Reboot into the native windows installation
 
6. Reboot into the native windows installation
 
 
7. Rename hal.dll that you copied to the floppy from the VM to halvm.dll
 
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  
 
8. Copy it to c:\windows\system32 in the native install  
 
 
9. Follow this KB artice ( http://support.microsoft.com/default.aspx?kbid=314082)
 
9. Follow this KB artice ( http://support.microsoft.com/default.aspx?kbid=314082)
 +
 
from the place . . .  "1. Copy the following information into Notepad . . . "
 
from the place . . .  "1. Copy the following information into Notepad . . . "
 
Note the typo in under 2:  "...file, or copy..." should be "...file, and copy..."
 
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.
 
from steps 1 to 3. This is fairly straight foward and vital.
 
 
10. Click Start, Right click "My Computer", choose "properties" from the menu.
 
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
 
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 :
 
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  
 
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
 
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:  
 
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
 
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,  
 
15. Click File, then Save,  
 
 
16. Then OK in the "Startup and Recovery Page"
 
16. Then OK in the "Startup and Recovery Page"
 
 
17. Then click on the Hardware tab and click "Hardware Profiles"
 
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 [[UbuntuHelp:VMware|VMware]]
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
 
19. Now shutdown windows and pray like you should have before you started
 
 
20. Start up Ubuntu
 
20. Start up Ubuntu
 
 
21. Make a new virtual machine using the Native Partition: choose "Use a Physical disk" and choose "entire disk"
 
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.)
 
(if you do not you will get grub error 17.)
 
+
(Also note this machine must be made in Vmware 5.0 or earlier. [[UbuntuHelp:VMware|VMware]] 5.5 does not let you do this, but once made you can use the virtual machine just fine in subsequent versions of [[UbuntuHelp:VMware|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)
(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 "[[UbuntuHelp:VMware|VMware]]" when it asks for a Hardware profile.
 
+
22. Install [[UbuntuHelp:VMware|VMware]] tools. and reboot the VM.
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.
+
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 "[[UbuntuHelp:VMware|VMware]]"
 
+
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.
 
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.
 
+
[[category:CategoryVirtualization]]
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
+
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 21:07的最新版本

<<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.