Posts Tagged VMware
OpenSUSE 12.3 can be installed in VMware, but on reboot it hangs on the green splash screen as shown in the image below.
- Go to VM > Settings > Processors and set the number of processor cores to 2 or more.
- Go to VM > Settings > Display and uncheck ‘Accelerate 3D graphics’.
This allowed OpenSUSE to boot normally for me.
There appears to be a bug in the Linux version of VMware Workstation 9.0.2 in which it will not accept a serial number from the GUI. The solution is to open a terminal and install the serial manually.
Assuming your serial number is ABCDE-ABCDE-ABCDE (which it’s probably not, but you get the idea), do the following:
sudo /usr/lib/vmware/bin/vmware-vmx --new-sn ABCDE-ABCDE-ABCDE
If you try to install VMware Workstation 9.0.2 on openSUSE 12.3 it will tell you in cannot find the kernel headers.
Here’s the fix(es)
First, make sure you are using VMware 9.0.2, as the kernel header locations have moved in recent Linux releases, and 9.0.2 has been updated to correctly locate them.
Next, make sure you have the required packages installed:
zypper install gcc make kernel-desktop-devel
sudo vmware-modconfig –install-all
On creating a Windows 8 virtual machine in VMware Workstation 9, the virtual machine will not be able to access the network.
If you go into device manager, the network adapter will be listed with no drivers installed.
To remedy this, edit the .vmx file, and add the following line:
ethernet0.virtualDev = "e1000e"
This solution is from VMware communities – Windows 8 RC internet connection.
When creating a VMware virtual machine, you have two choices as to the format of your hard drive file: a single expanding file, or split into many 2GB files.
Each type has its advantages and disadvantages. The single file is faster for larger disks, but can’t be used on FAT32 filesystems (4GB file size limit) and can get to be a challenge to move to another system once it starts getting really large. The split-file hard drive type is easier to move around and works on FAT32, but can suffer degraded performance when you get a very large drive of the files become fragmented. It’s also easier to manage backing up 2GB files rather than a single large file.
However, if you have a need, you can convert between the two types fairly easily. The following information is based on from a knowledge-base article at kb.vmware.com.
Before starting, make sure the VM is not running in Snapshot and is powered off.
To convert a single file to a split-file hard drive:
vmware-vdiskmanager -r -t
Type is one of:
- 0 : single growable virtual disk
- 1 : growable virtual disk split in 2GB files
- 2 : preallocated virtual disk
- 3 : preallocated virtual disk split in 2GB files
vmware-vdiskmanager -r winxp.vmdk -t 1 winxp-2.vmdk
Successful conversion gives the following output:
Creating disk 'winxp-2.vmdk' Convert: 100% done. Virtual disk conversion successful.
What you’ve just done is make a copy of the disk — the VM is still set to boot from the old disk image. In order to change this, simply edit the .vmx file for that VM in a text editor and change the line that pointed to your old .vmdk hard drive image to your new one.
ide0:0.fileName = "winxp.vmdk"
ide0:0.fileName = "winxp-2.vmdk"
Now you can save this file and power on your VM.
Please feel free to share questions, comments, or feedback in the comments section below. Thank you.
I’ve been using VirtualBox for my Windows XP VM when I’m in linux to get a handle on those Windows apps that I absolutely need, and to sometimes address a piece of hardware that otherwise won’t work. One of the biggest issues I’ve had is a distinct lack of VirtualBox to address my BlackBerry — I absolutely must use my Windows hard drive to do it.
VMWare Workstation seems to overcome whatever shortfall exists in VirtualBox to address it, and I’m happy to say, it works quite well. However, now I have this VirtualBox hard drive image with all my software already installed, and I want to boot it in VMWare. How to convert it?
Fortunately, the VBoxManage utility of VirtualBox can actually convert a VirtualBox vdi image to the vmdk format used by VMWare. It can do it rather easily, as well.
The command format is:
VBoxManage clonehd | [--format VDI|VMDK|VHD|RAW|] [--variant Standard,Fixed,Split2G,Stream,ESX] [--existing]
"c:Program FilesOracleVirtualBoxVBoxManage.exe" clonehd "Win XP.vdi" xp.vmdk --format vmdk --variant standard
Absolute path to VBoxManage is necessary unless it’s in the Windows $PATH.
VBoxManage clonehd "Win XP.vdi" xp.vmdk --format vmdk --variant standard
Successful run gets this output:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Clone hard disk created in format 'vmdk'. UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Next, open VMWare and select Create a new virtual machine
Select “I will install the operating system later”
Make your OS selection about the OS that’s currently on the vmdk you will be using. (The guest OS, not the host OS).
Later on, you will have the option to use an existing vmdk image as your virtual hard drive. Do so.
You should now be able to finish setup and boot your converted disk image.
Note that creating a new machine and using an existing hard drive image is not a feature of VMWare Player. Workstation or another product is required. However, JoVa has shared a great workaround:
Since my tip for VMWare Player is not very clear on what to do exactly, I have the following, easy steps that you can follow, right after you started VMWare Player.
1) Select: Create new Virtual Machine
2) Select Guest Operating OS “Microsoft Windows” and select the version you have (for example “Windows XP Professional”)
3) Click “Next” and give a the virtual machine a name, for example “XP-pro”.
4) Click “Next” set the maximum disk size to the size of your actual virtual machine (important!)
5) Click “Next”and click “Finish”. The VM is created
6) Copy your VM (the .vmdk file) over the created (empty) .vmdk (e.g. xp-pro.vmdk)
7) Play the virtual machine
Questions, comments, or feedback is appreciated, as always.
If you have an iPod, and have installed Ubuntu Linux, you may have gotten used to manging your audio library with iTunes. When you go to reach for iTunes on Ubuntu, you may have a moment of panic when you realize there’s no Linux client. Don’t worry, there’s alternatives.
First, try a Linux-native application, such as Rhythmbox, banshee, or Amarok for music and tripod for photos. These apps all have some support for iPod devices, and can help you manage your already-existing music library. If you’re using iTunes for music downloads, you may find the music store section of Rhythmbox helpful.
iTunes in Wine via PlayOnLinux
Second, you can try installing iTunes 7 using PlayOnLinux. PlayOnLinux is an application that helps you install programs using wine and gives each program it’s own configuration environment. Programs are installed using configurations that usually give the best results, so there’s little if any manual configuration required after the fact.
Remember, wine is an interpretive layer between the Windows-native application and the Linux environment, and therefore there’s a good chance that iTunes will run slowly and some features may simply not work.
You can find PlayOnLinux in Software Center, Synaptic, or install it using the command line:
sudo apt-get install playonlinux
iTunes in Wine via manual install
Lastly, if none of the above options pan out for you, or you want to try the latest version, you can try installing iTunes manually using wine.
Start by making sure you have wine and ubuntu-restricted-extras installed. You can install these using Synaptic or the following command at the command line:
sudo apt-get install wine ubuntu-restricted-extras
With those installed, it’s time to get iTunes installed. WineHQ gives very mixed ratings for iTunes under wine, so your mileage may vary. In addition, you may find the WineHQ Forum on iTunes and wine helpful.
You can find older versions of iTunes at OldApps.com iTunes page.
Lastly, if you find you simply can’t live without iTunes in a Windows environment, you may try running a Windows virtual machine in a hypervisor like VMware (my personal favorite) or VirtualBox. I prefer VMware because it seems to have better hardware pass-through support than even the closed-source versions of VirtualBox
Have you been able to get iTunes running on Ubuntu? Have any experience or tips to share? Please do so in the comments below.