![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Location: Netherlands
Beans: 99
Ubuntu 7.10 Gutsy Gibbon
|
Update!
Vmware Server is now in the repositories. (7.10, also 7.04) See the updated instructions below. Introduction Are you too having problems with software that is only available on Windows and not on Linux? Are you still Dual Booting to solve this problem? After this HowTo you will never need to dual-boot again for your windows only software, like Adobe CS! Info That sounds great, but how? Did you ever heard about Virtual Machines? There is software available that can run Windows XP or any other Operating System inside your main Operating System. This means that you can run Windows XP in Ubuntu without the need to Reboot/Dual Boot. That sounds slow... It is indeed a little slower, but really: a little. Personally I am very willing to sacrifice that little speed in order to avoid Dual Booting. What else can I do with it? Run seperate Operating Systems for Online Banking and other things that you want to secure. Try out new Ubuntu Versions without Dual Booting, Try out other Linux Distro's etc. What can I not do with it? You will not be able to use hardware that doesn't work on Ubuntu. This is very important to understand! The Virtual Machine runs on top of Ubuntu, so it can only acces Ubuntu detected devices. It is a virtual machine with virtual hardware. Also don't expect to be gaming on a Virtual Machine at this moment. Heavy Videocard 3d things are just not supported right now. So for gaming it's unfortunately a no go. For everything else, just try it out! Requirements
Because VMWare Server is now in the repo's, installation is much easier.
First we need to install a few dependencies: In a terminal type Code:
sudo apt-get install linux-headers-`uname -r` build-essential xinetd Breezy users will also need to install gcc-3.4. Code:
sudo apt-get install gcc-3.4
Next thing we want to do is Install Windows (XP) ! First we need a virtual machine
Tips You will definately want to install the VMWare tools, when windows has been installed. This will speed up your Windows responsiveness
CTRL + ALT in FullScreen mode will get you out of the FullScreen. You can Suspend a running virtual machine. this way it will start very fast the next time you need it. To have sound support, add a sound device in the virtual machine settings. Enjoy! See Attached screenshots from my windows XP Installation and the succes of it. Please no discussions about Windows versus Linux in this Thread. Common Problems & Solutions
You can view your serial numbers at: http://www.vmware.com/vmwarestore/ne...mber_login.jsp
execute
You have a updated kernel, but not the updated kernel headers.
There is a package called linux-headers-*** that automatically installs the latest kernelheaders, so you don't need to install them manually each time.
Look for the /etc/vmware directory and either move it to a different location or remove it altogether. Note According to Flip314: Quote:
Credits Used some information from a blogpost by James Wilford and a comment placed there by 'mips' (http://blog.wilf.me.uk/articles/2006...beta-on-ubuntu ) Thanks to Remusus for the linux-headers-'uname -r ' command. Thanks to firetux for the GCC-3.4 info Thanks to Nick Couchman from the VMWare forum for the uninstallation problems workaround. Last edited by Peturrr; March 2nd, 2008 at 01:54 PM.. Reason: Updated instructions because of vmware server in the repos. |
|
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2005
Beans: 52
Ubuntu 6.06
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
Excelent how-to. I heard about VMWare in the past but I thought it was very dificult to install.
For exemple, my wireless card works in windows, so this means that I can use my wireless network in Ubuntu with this? Can I install progrms in windows, shutdown the PC, turn on Ubuntu and VMWare and use that programs? Sorry the n00b questions ![]() |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 62
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
great guide,
just let me add one thing. If you have the same problem I had with VMWare not starting. You can go to the terminal and type vmware hit enter and see if it claims about "libgcc.s.s0.1" and "libpng12.so.0" not being recognized. If so, just do the following: sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/ and sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/ For some reason I had problem installing a virtual machine if I ran "vmware" so I always do: sudo vmware to run it as a super user (correct me if this is not a good policy please) Hope this was useful Cheers Mariano |
|
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Location: Netherlands
Beans: 99
Ubuntu 7.10 Gutsy Gibbon
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
Thanks for your comments and appreciation.
@nomearod You won't be able to acces the programs you have already installed on your windows. The virtual windows machine will be a new windows install, that only is accesible with VMware software. You cannot boot it directly. you won't be able to use your internet in windows if it's not installed in Ubuntu. Also a scanner or other hardware will not run, since it is running above Ubuntu. You will still need to reboot to a real windows for that. Sorry. ==update== This appears to be not true. It is possible to boot an existing windows installation. This is not covered (yet) in the HOWTO @marianoi Running VMWare as super user doesn't seem be a good practice to me. But If that's the only way for you to start the stuff... So be it. Last edited by Peturrr; July 14th, 2006 at 03:33 AM.. |
|
|
|
|
|
#5 | |
|
Just Give Me the Beans!
![]() Join Date: May 2006
Beans: 33
The Feisty Fawn Testing
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
Quote:
|
|
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 62
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
It says something about not being able to modify a file (do not remember which one). So I tried with sudo vmware and it started. Now it is working fine
Cheers |
|
|
|
|
|
#7 |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
Very nice guide, thanks!
I've been keen for some time to try VMWare on Ubuntu, but didn't have nerve to do it yet. I guess it's out of question to use already installed XP on VMWare ? |
|
|
|
|
|
#8 | |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Location: Netherlands
Beans: 99
Ubuntu 7.10 Gutsy Gibbon
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
Quote:
|
|
|
|
|
|
|
#9 | |
|
Just Give Me the Beans!
![]() Join Date: May 2006
Beans: 33
The Feisty Fawn Testing
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
Quote:
Has anyone tried the experimental D3D accelleration (possibly only available in VMWare Workstation)? I'm gonna give it a shot once I get my ati driver issues resolved ![]() |
|
|
|
|
|
|
#10 | |
|
Just Give Me the Beans!
![]() Join Date: Oct 2005
Beans: 52
Ubuntu 6.06
|
Re: HowTo: Windows (XP) on Ubuntu with VMWare Server
Quote:
- I install Windows XP in Ubuntu with VMWare. Then install in my virtual XP some programs and drives. Can I use then everytime I want ? ( Under ubuntu and with VMWare ) |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|