PDA

View Full Version : HOWTO: Install Windows XP/2000 in VMWare Player



Pages : [1] 2

dryandplain
October 31st, 2005, 12:14 AM
This guide will allow you to install Windows XP or 2000 solely with the VMWare Player. For the uninitiated, VMWare released a free application that allows users to run, but not create virtual machines. Using QEMU, we will create an environment suitable for use with the player.

As a side-note, I'd like to point out that VMWare makes quality software. If you require additional functionality, consider upgrading to Workstation. For those curious, these actions are condoned by the developers as per this quote:

"We’re well aware of what people could potentially do, and we’ll live with the consequences. As you observe, Workstation has a lot of features that no amount of vi and dd hacking will replicate and these are what make Workstation worth buying (eg: Teams as you mention, or snapshots). I suspect that most people who go to the trouble are one’s who haven’t bought or wouldn’t buy Workstation anyway."

Installing the player itself involves some patience. Get the Linux tar from this page (http://www.vmware.com/download/player/). Most of my instructions will be shamelessly ripped from this lovely tutorial (http://www.ubuntuforums.org/showthread.php?t=65638). Fire up a root terminal and do:


apt-get install build-essential
uname -r
apt-get install linux-headers-'kernel version'
apt-get install gcc-3.4
apt-get install g++-3.4

Now that the initial dependencies have been met, let's continue.


tar xvzf VMware-player-1.0.0-16981.tar.gz
cd vmware-player-distrib
export CC=/usr/bin/gcc-3.4
./vmware-install.pl

The installer has an unusually high number of prompts, all of which can be answered the default "yes" to by hitting enter. After hitting enter a few dozen times and agreeing to the license, everything should install successfully. If you're having problems installing the actual player, that other guy might be more qualified to diagnose it than I am. Moving along...

There are two components to a virtual machine, the hard drive image and a text file that VMWare interprets. First, we'll create an image with QEMU.

I know this sounds a little odd, but I couldn't get the QEMU command used to generate the disk working from the Linux port. Fortunately, the utility works fine with the Windows port under Wine. I can't really bothered to delve into the specifics of installing Wine other than suggesting:


apt-get install wine

Then download and install the Windows version of QEMU (http://free.oszoo.org/ftp/qemu/win32/release/QemuInstall-0.7.2.exe). Execute it from a command line as follows:


wine qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB

This will generate a 320k file which is a usable blank drive. Create a new folder to contain our files and name this guy either WindowsXPPro.vmdx or Windows2000Pro.vmdx accordingly.

You now have the choice to install XP or 2000. On my 1.2ghz/512mb system Windows 2000 runs considerably more responsively; your choice. As per the other tutorial, we should be able to insert our CD and go after the following. But in my case, neither my bootable XP or 2000 CD had any interest in well, booting. I'd suspect I'm not the only one with this concern, so we'll play with ISO images instead.


apt-get install gnomebaker

After inserting your original Windows disc, load Gnomebaker, choose "Copy Data CD," and tick the "Create ISO only" box. Save the resulting ISO as either WindowsXPPro.iso or Windows2000Pro.iso to the folder we just created. If the processes ever freezes 99%, feel free to "killall gnomebaker" without concern.

Unfortunately, our ISO image will not have the bootable sector intact. We'll instead boot from a series of floppy images. My Windows 2000 disc included them in a "bootdisk" folder, whereas XP did not. For 2000, copy the four img files from it to our created folder.

With XP, you'll need some additional nonsense. Hunt down an appropriate set from Microsoft for your version of XP, and do the following:


apt-get install cabextract
cabextract 'nameofarchive.exe' -d 'our working directory'

Deleted the non-img extracted files.

Now that we have a matching ISO and floppy set, we're ready to proceed with installation. Paste one of the following to a text editor (gedit/leafpad) and save it as either WindowsXPPro.vmx or Windows2000Pro.vmx to our directory:

Windows XP:


#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "WindowsXPPro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "WindowsXPPro.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.autodetect = "TRUE"
floppy0.fileType = "file"
floppy0.fileName = "cdboot1.img"
floppy0.startConnected = "True"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows XP Pro"
guestOS = "winxppro"
nvram = "WindowsXPPro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
uuid.bios = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
ethernet0.generatedAddress = "00:0c:29:4c:23:7b"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "WindowsXPPro.vmss"
tools.remindInstall = "TRUE"

Windows 2000:


#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "Windows2000Pro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "Windows2000Pro.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.autodetect = "TRUE"
floppy0.fileType = "file"
floppy0.fileName = "CDBOOT1.IMG"
floppy0.startConnected = "True"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows 2000 Pro"
guestOS = "win2000pro"
nvram = "Windows2000Pro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
uuid.bios = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
ethernet0.generatedAddress = "00:0c:29:4c:23:7b"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "Windows2000Pro.vmss"
tools.remindInstall = "TRUE"

Double click on the resulting file, and Windows should start to install. The only screwiness left at this point is that we'll need to swap floppy images. When prompted, click on the floppy icon to "eject" the drive. In Nautilus, rename cdboot1.img to cdboot01.img and cdboot2.img to cdboot1.img, then click the floppy icon again to continue. It may sound a little strange, but you're essentially renaming the images to match that of the first file when it wants it. You'll get the hang of it, promise.

Once the floppies have done their thing, the ISO will take over and Windows will install normally.

Sorry about the length of this. If I had web hosting, I could've posted many of these files and shaved off a few steps. I'll try my best to answer any questions that may come up, but concede that my level of Linux know-how is only intermediate.

Here's a screeny for encouragement (http://i24.photobucket.com/albums/c35/dryandplain/ps8.png)! :D

Take care,
-Kyle

sethmahoney
November 3rd, 2005, 01:38 AM
Thanks a lot! Works great, except, is it normal for the part of the install where Windows detects and installs all your hardware to take a REALLY long time?

sethmahoney
November 3rd, 2005, 06:13 AM
Any ideas on how to bump the resolution above 640 x 480? The only video driver included for Windows 2000 is a VGA driver...

yabbadabbadont
November 3rd, 2005, 11:22 PM
If you have downloaded the Win2k video driver for your card, try installing it inside the Win2k that is running under VMWare.

I don't know if it will work as I'm currently in the process of setting this up myself.

kaamos
November 3rd, 2005, 11:44 PM
Thanks for the howto!


I'd suspect I'm not the only one with this concern, so we'll play with ISO images instead.


apt-get install gnomebaker

After inserting your original Windows disc, load Gnomebaker, choose "Copy Data CD," and tick the "Create ISO only" box. Save the resulting ISO as either WindowsXPPro.iso or Windows2000Pro.iso to the folder we just created. If the processes ever freezes 99%, feel free to "killall gnomebaker" without concern.


A bit simpler way to do this: Insert the windows cd and run (no need to be root):

cat /dev/cdrom > WindowsXPPro.iso

zachtib
November 4th, 2005, 01:12 AM
nice, i assume i can increase the size of the virtual drive by changing this line:
wine qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB
to make a larger drive?

yabbadabbadont
November 4th, 2005, 07:17 AM
If you have downloaded the Win2k video driver for your card, try installing it inside the Win2k that is running under VMWare.

I don't know if it will work as I'm currently in the process of setting this up myself.
OK, I found in the manual that you have to install the VMWare tools for the guest OS in order to use better (faster, higher resolution) graphics. I don't know if the vmware player supports this option, but in the 30-day eval of vmware workstation, you choose VM->Install VMware Tools from the menu while the virtual machine is powered on. Then you can choose a higher screen resolution. The help files also say that the new SVGA device is faster too.

yabbadabbadont
November 4th, 2005, 07:19 AM
nice, i assume i can increase the size of the virtual drive by changing this line:
wine qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB
to make a larger drive?

If you run "wine qemu-img.exe /?" you will see that only the first part of that string is the actual command. The last half, everything after "2G" is probably what the command prints out on the screen. You should just be able to change the "2G" to whatever size in gigabytes you want.

zachtib
November 4th, 2005, 03:33 PM
yep, worked great, now for another question.
i installed samba on ubuntu to share a folder with Windows running in VMWare, in case the virtual hard drive fills up, i can move files onto my main hard drive. when my laptop is plugged into the network, this works fine, but when i am disconnected, Ubuntu and XP in VMware cannot see each other. is there a way to create a virtual network incuding the host OS and the guest OS so they will always be connected?

Wombley
November 5th, 2005, 01:51 AM
Most probably the reason you couldn't create the images with linux qemu is that the capability to create VMDK images was only added in 0.71, and ubuntu's version is still at 0.70. 0.72 (binary from http://fabrice.bellard.free.fr/qemu/download.html works fine. You also dont need to do all that with the floppy disks, at least for Windows 2000, at least if you make the cdrom image with the command
dd if=/dev/cdrom of=Windows2000Pro.iso (although gnomebaker should work just as well) - just press escape when booting vmplayer and select cdrom to boot from it - you can remove all the floppy related stuff from the config file.

In response to zachtib, I believe what you want is host-only networking - it bridges the hosts connection to the network by default (you may have success just selecting host-only networking from the ethernet submenu under Devices in player, I don't know) - I haven't tried this myself but there's docs for workstation that'll probably give you an idea at http://www.vmware.com/support/ws5/doc/ws_net.html

reedlaw
November 5th, 2005, 02:37 AM
I used the defaults for all of the questions in the VMWare Player install, but I can't get networking working in my virtual Windows. Do I need to assign an IP address to the virtual machine? If so, what is my gateway IP address?

BLTicklemonster
November 5th, 2005, 03:43 PM
So, I will attempt this later, but in the meantime, allow me to ask the one central question that will determine whether I will actually do this or not:


If I do this, will I be able to run ANY app that windows runs?

BLTicklemonster
November 5th, 2005, 10:07 PM
... like I'd wait for an answer, especially with asshats messing with the server.

So I get this error:


Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Virtual Machine Player is
suitable for your running kernel. Do you want this program to try to build the
vmmon module for your system (you need to have a C compiler installed on your
system)? [yes]

Using compiler "/usr/bin/gcc-3.4". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.



What do I do?


*edit:

Okay, I restarted terminal, sudo mkdir my way to having the /linux/include directory, went at it again, and viola!!!


Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Virtual Machine Player is
suitable for your running kernel. Do you want this program to try to build the
vmmon module for your system (you need to have a C compiler installed on your
system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "3.4.5", while you are trying to use
"/usr/bin/gcc" version "4.0.2". This configuration is not supported and VMware
Virtual Machine Player cannot work in such configuration. Please either
recompile your kernel with "/usr/bin/gcc" version "4.0.2", or restart
/usr/bin/vmware-config.pl with CC environment variable pointing to the "gcc"
version "3.4.5".

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

bill@ubuntumonster:~/vmware-player-distrib$


So I guess I remove 4.0.2, and put in 3.4.5, and start over...


*edit again:

No wait, if I do that, I lose tons of stuff.

Now what?

Wombley
November 5th, 2005, 10:43 PM
You need to install everything from the initial instructions - linux-headers will provide /usr/src/linux/include, and once you install gcc 3.4.5 (alongside 4.0.2 - they can coexist) and type the export CC=/usr/bin/gcc-3.4 line it'll work.

zachtib
November 5th, 2005, 10:43 PM
just install gcc-3.4 alongside 4.x, then use sxport CC=/usr/bin/gcc-3.4 before installing

Wombley
November 5th, 2005, 11:14 PM
Getting video to work above 640x480/16 colours (tested in 2000):


Get the windows vmware tools from http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=920
Set the ISO image as the cdrom source in the .vmx file
Install the tools. Ignore the warning about the SVGA driver
In add new hardware, select graphics card and select from list, and have disk
Select the video/winnt2k folder under the cdrom drive
Ignore warnings and install
Select a higher resolution from display properties
(Hopefully) done


Also - simple way to get networking working: select NAT from the Ethernet menu in vmplayer

BLTicklemonster
November 6th, 2005, 01:44 AM
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Virtual Machine Player is
suitable for your running kernel. Do you want this program to try to build the
vmmon module for your system (you need to have a C compiler installed on your
system)? [yes]

Using compiler "/usr/bin/gcc-3.4". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is an existing directory, but it does not
contain a "linux" subdirectory as expected.


well, it tried to use gcc-3.4, but it couldn't find a linux subdirectory. why is it saying I don't have /usr/src/linux/include? Is there something I should have before even doing this that I don't now about?

Wombley
November 6th, 2005, 07:40 AM
You MUST install the linux-headers-386 package to compile the kernel module - this will create the /usr/src/linux/include directory for you, and put all the files you need in it.

BLTicklemonster
November 6th, 2005, 03:37 PM
So far so good. So that may need to be added to the first post, along with adding sudo to:


tar xvzf VMware-player-1.0.0-16981.tar.gz
cd vmware-player-distrib
export CC=/usr/bin/gcc-3.4
sudo ./vmware-install.pl

because mine wouldn't let me ./vmware~ without it.

BLTicklemonster
November 6th, 2005, 03:49 PM
Okay, what else is there I'm supposed to know about?


bill@ubuntumonster:~$ wine qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB
wine: cannot find 'qemu-img.exe'


qemu is installed. Wine is installed. The previous step worked once I was told to have the linux headers. Is there something I'm supposed to have?

*edit:

I tried

wine c:\Program Files\Qemuqemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB
and

wine c:\Program_Files\Qemu\qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB

and get errors saying it can't find anything.

I used winefile, and yes, it's there alright. But I can't get it to work. I feel like I'm soooo close.


*edit:

I can browse to most .exe files and double click them and they will open courtesy of wine, but nothing in the Qemu directory will. Do I have to enable Qemu as I had to enable the nvidia drivers (which messed me up bigtime for ever, let me tell you) before it will work? Perhaps killall gnome-panel? Restart? Throw money at it? Sacrifice a burnt offering?

BLTicklemonster
November 6th, 2005, 05:04 PM
Installing with Qemu using the following:


dd of=hd.img bs=1024 seek=3000000 count=0



qemu -hda /home/bill/hd.img -cdrom /home/bill/Desktop/WindowsXPPro/winxppro.iso -boot d -m 512 -user-net

just to be doing something until someone comes along with an answer lol.

ranf
November 6th, 2005, 05:27 PM
wine c:\Program Files\Qemuqemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB

wine "c:\Program Files\Qemu\qemu-img.exe" create -f vmdk WindowsXPPro.vmdk 2G
Note the quotes (") around the pathname.

BLTicklemonster
November 6th, 2005, 05:32 PM
I don't know why, but it usually, on the error messages, leaves out the \ marks. I did put them in originally.

I have seen it come back with no \ marks at all. That one time, it did have some, though. Really odd.

BLTicklemonster
November 6th, 2005, 07:15 PM
wine "c:\Program Files\Qemu\qemu-img.exe" create -f vmdk WindowsXPPro.vmdk 2G
Note the quotes (") around the pathname.
:) :) :) okay.



*edit:

Okay, that worked. Now I go to the folder with the image and the floppy image files in it, and I double click on the vmx file, and I get this:


http://www.hawkwinds.com/tickle/novmdk.jpg

Now my question is, at this point:




wine qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB

This will generate a 320k file which is a usable blank drive. Create a new folder to contain our files and name this guy either WindowsXPPro.vmdx or Windows2000Pro.vmdx accordingly.



Exactly where was I supposed to create a new folder, and how, and why does this nifty how to not specify stuff for beginners if it is accessible to beginners?

I have been beating my head against Linux for 3 years because people refuse to give specific information. I dealt with instructors in school who couldn't teach their way out a paper bag, yet they were being paid to be teachers. Janitors should be paid more than instructors, and teachers should be at the top. No wait, Janitors would be better teachers, I bet, than any "instructor" I ever had.

That was my rant for the moment.

Now back to qemu. Yay, it installed. But how do I bring it back up again once I close XP? And if I want to install anything to XP in Qemu, how do I get it to see the cdrom? At present, it's stuck showing the xp installation cd, no matter if I restart xp or not. Of course I won't be able to do anything until I get back to xp, which I can't do because nothing I have found relating to using qemu was written by a non instructor mentality person.

There I go ranting again.

Come on people, be specific. I should not have had to been asking all these questions. Shoot, the entire freaking planet would be using LInux if you all would just be specific.

kashms
November 6th, 2005, 11:29 PM
Why just not run win2000 or winXP using qemu? Are there any performance gains when using the VMware Player?

yabbadabbadont
November 6th, 2005, 11:43 PM
BLTicklemonster

Come on people, be specific. I should not have had to been asking all these questions. Shoot, the entire freaking planet would be using LInux if you all would just be specific.


<begin rant>No, you shouldn't have had to been asking all of those questions. If you had read and followed *all* the instructions in the first post, as well as the other messages on the first page, you would realize that most of your questions had already been answered before you posted your first question. If you have been using Linux for 3 years, and yet still ask questions such as these, then perhaps the problem doesn't lie with those of us who donate our time (and patience) answering questions for those who are less knowledgeable. If you are going to ask for help, which no one is under any obligation to provide, then you should at least be polite about it.</end rant>

I apologize to everyone else who wasted time reading this post.

Wombley
November 7th, 2005, 12:26 AM
The new folder was to contain all the .vmx, .vmdx and other files vmware creates. This can be made and named anything you want, eg /home/username/win2000 or similar. You then put all the files you need to create in this folder, for example the .vmdx file you create with qemu. The problem you're presently having is that you either copied the wrong .vmx file from the original post (winxp instead of win2000 or vice versa) or you didn't change the filename to Windows2000Pro.vmdx when using qemu (if you're trying to use windows 2000). Create the file with the right name and it should work.

The advantage of using VMWare is that it's significantly faster than qemu (even with the kqemu accelerator module - I've heard figures like 90% of native performance for VMWare, although I can't remember where right now, but it does seem about that fast, whereas I noticed very little difference from normal qemu with kqemu).

BLTicklemonster
November 7th, 2005, 12:46 AM
I made two, one for xp, one for 2000. Neither work.

BLTicklemonster
November 7th, 2005, 12:49 AM
BLTicklemonster


<begin rant>No, you shouldn't have had to been asking all of those questions. If you had read and followed *all* the instructions in the first post, as well as the other messages on the first page, you would realize that most of your questions had already been answered before you posted your first question. If you have been using Linux for 3 years, and yet still ask questions such as these, then perhaps the problem doesn't lie with those of us who donate our time (and patience) answering questions for those who are less knowledgeable. If you are going to ask for help, which no one is under any obligation to provide, then you should at least be polite about it.</end rant>

I apologize to everyone else who wasted time reading this post.

Thank you for your reply. I you assume I've been using linux for 3 years because you read that into it. I've been trying to use linux for 3 years. Big difference. Also, re-read. The answers I've gotten have gotten me this far.

No apology. And trust me, this is polite.
Now are you going to help, or sit up in the monkey gallery tossing peanuts?

BLTicklemonster
November 7th, 2005, 01:38 AM
Why just not run win2000 or winXP using qemu? Are there any performance gains when using the VMware Player?
I installed xp with qemu, and it is nice, but now that I closed it, I cant find how to open it again, nor can I find info on how to install anything with xp in qemu.

I'm just having a ball here.

twowheeler
November 7th, 2005, 02:30 AM
You guys rock! This is perfect.

Wombley
November 7th, 2005, 04:27 AM
I made two, one for xp, one for 2000. Neither work.

OK, step by step. I'll assume you're making a windows 2000 disk, if not replace all Windows2000Pro references with WindowsXPPro, and the guestOS parameter in the .vmx file to winxppro. Ill also assume you've already got VMWare player installed properly:

Start a terminal, use mkdir to create a folder to keep the files in. Make sure (from synaptic) that the linux version of qemu IS NOT installed. Get the latest version from http://fabrice.bellard.free.fr/qemu/qemu-0.7.2-i386.tar.gz .



cd /
sudo tar -zxf /path/to/downloaded/qemu.tar.gz
cd ~/folderyoucreated
qemu-img create -f vmdk Windows2000Pro.vmdk 2G Formating 'Windows2000Pro.vmdk', fmt=vmdk, size=2097152 kB


Put your windows cd in the drive (assuming first cdrom drive)


sudo dd if=/dev/cdrom of=Windows2000ProCD.iso

Create a new text file called Windows2000Pro.vmx in your folder. Copy and paste the following into it:


#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "Windows2000Pro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "Windows2000ProCD.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.autodetect = "TRUE"
floppy0.startConnected = "False"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows 2000 Pro"
guestOS = "win2000pro"
nvram = "Windows2000Pro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
uuid.bios = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
ethernet0.generatedAddress = "00:0c:29:4c:23:7b"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "Windows2000Pro.vmss"
tools.remindInstall = "TRUE"

Save. In your terminal type
vmplayer Windows2000Pro.vmx
You should now be able to install windows. When you wish to run it again afterwords use the same command.

BLTicklemonster
November 7th, 2005, 05:32 AM
The stuff I did is in red. Trying to show where I tried to follow step by step.


OK, step by step. I'll assume you're making a windows 2000 disk, if not replace all Windows2000Pro references with WindowsXPPro, and the guestOS parameter in the .vmx file to winxppro. Ill also assume you've already got VMWare player installed properly:

Start a terminal, use mkdir to create a folder to keep the files in. sudo mkdir /home/bill/Windows2000Pro Make sure (from synaptic) that the linux version of qemu IS NOT installed done. Get the latest version from http://fabrice.bellard.free.fr/qemu/qemu-0.7.2-i386.tar.gz .
I downloaded it to /home/bill/


cd /
sudo tar -zxf /path/to/downloaded/qemu.tar.gz
sudo tar -zxf /home/bill/qemu-0.7.2-i386.tar.gz
cd ~/folderyoucreated
cd /home/bill/Windows2000Pro
qemu-img create -f vmdk Windows2000Pro.vmdk 2G Formating 'Windows2000Pro.vmdk', fmt=vmdk, size=2097152 kB



bill@ubuntumonster:~$ cd /home/bill/Windows2000Pro
bill@ubuntumonster:~/Windows2000Pro$ qemu-img create -f vmdk Windows2000Pro.vmdk 2G Formating 'Windows2000Pro.vmdk', fmt=vmdk, size=2097152 kB
bash: qemu-img: command not found



See what I mean?


Even going to the ludicrous extreme of extracting qemu to /home/bill/Windows2000Pro, and doing this:

bill@ubuntumonster:~$ cd /home/bill/Windows2000Pro/usr/local/bin/
bill@ubuntumonster:~/Windows2000Pro/usr/local/bin$ qemu-img create -f vmdk Windows2000Pro.vmdk 2G Formating 'Windows2000Pro.vmdk', fmt=vmdk, size=2097152 kB

I get this:

bash: qemu-img: command not found


So I've tried everything I can think of. I'm stumped.


Huh, shouldn't it have originally put qemu files in /usr/local/bin/? I'm there, and there aren't any.

BLTicklemonster
November 7th, 2005, 05:57 AM
God All Mighty.

I just got through Chowning my way all the way through putting qemu into /usr/local yada yada yada.



*edit:

Arrrrgh:

Network boot from AMD Am79c970A
Copyright (C) 2003-2005 VMware, Inc.
Copyright (c) 1997-2000 Intel Corporation

CLIENT MAC ADDR: blah blah blah
PXE-E53: No boot filename received

PXE-M0F: Exiting Intel PXE ROM.
Operating System not found

... well, at least I got past that part.

BLTicklemonster
November 7th, 2005, 06:09 AM
So what's to stop me from just putting in a cd and pressing CD-ROM from the vmware window and installing from there?

chronusdark
November 7th, 2005, 06:10 AM
how would i configure it so the virtual machine would just use my cdrom instead?

BLTicklemonster
November 7th, 2005, 06:12 AM
Follow this all the way through, and when you get stuck where i was just now, have the cd in the tray, and click cd-rom from the tool bar in vmware, lol. That's what I'm doing now. Probably will blow mine and your machines up though. I'd wait for some answers first before ever following me down the road to destruction, though.


(god it's slow as christmas, but then I'm doing winxp now instead of 2000. seems like the dude who started this thread said 2000 was faster...)

Once I get it on there, I wonder how I'll ever bring it back up? And if I get it back, how do I use it to install stuff? Will it be just like using plain old xp? Will it recognize cds I put in? Will it go online and get infected so I don't feel like its like "not really xp"?
j/k

BLTicklemonster
November 7th, 2005, 07:32 AM
http://www.hawkwinds.com/tickle/xpinlinux.jpg

Okay, so I'm sloppy, and it says it's Windows 2000 Pro. But it's working. And it goes online.


Okay, I closed it. Where'd it go? lol

I now have t xps. one in qemu, the other one in vmware. Neither one would see what I had put in the cd tray, so other than uploading the entire contents of a cd to my web site, downloading it and installing it like that, (if i can ever get either up again) what do I do?

Wombley
November 7th, 2005, 08:09 AM
I get this:

bash: qemu-img: command not found


So I've tried everything I can think of. I'm stumped.


Huh, shouldn't it have originally put qemu files in /usr/local/bin/? I'm there, and there aren't any.

You didn't perform the cd / command at the beginning, therefore it would have extracted the files to the directory you were in at the time. The reason it wouldn't work when you extracted it into your Windows2000Pro directory was that Ubuntu doesn't have the current directory in the search path by default - you'd have to have used ./qemu-img in this case. Sorry about the boot thing, forgot to say press escape when its booting to boot from CD. Bringing it back up is just the same way you installed it, just vmplayer /path/to/Windows2000Pro.vmx - and you can install pretty much any windows application on it and it should work like normal (with the exception of games etc which use a lot of 3d graphics). And yes, it is perfectly capable of being infected :)

To get the CD working, edit the .vmx file and replace these four lines:


ide1:0.present = "TRUE"
ide1:0.fileName = "Windows2000ProCD.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.autodetect = "TRUE"

With these three:


ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"

BLTicklemonster
November 7th, 2005, 12:35 PM
Bringing it back up is just the same way you installed it, just vmplayer /path/to/Windows2000Pro.vmx - and you can install pretty much any windows application on it and it should work like normal (with the exception of games etc which use a lot of 3d graphics). And yes, it is perfectly capable of being infected :)


Thanks. When I do that, I get
Non-System disk of disk error
Replace and press any key when ready.

Im not goiing to have to install it each time I try to use it am I?

mapman
November 7th, 2005, 02:41 PM
I had the same problem too. Apparently vmware player is looking for your CDBOOT1.IMG, remnants of the install. To avoid this you could click on the floppy button on the top of the player window to disable the floppy, then enter twice to enter the windows startup....or edit the vmx file from floppy0.startConnected = "True" to floppy0.startConnected = "false". Hope that helps. Is there a link for possible vmx options, anyone?;)

Now I have a question...is their any quick way to increase the resolution? I tried previous steps of installing the video adapter driver from the vmtools iso but to no avail. Any suggestions...anybody?;)

BLTicklemonster
November 7th, 2005, 02:48 PM
Thanks, I'll try that this evening. I wonder about higher resolution, too.


(I deleted what I did this morning, going to start from scratch tonight, see if things go better)

Wombley
November 7th, 2005, 04:53 PM
Thanks. When I do that, I get
Non-System disk of disk error
Replace and press any key when ready.

Im not goiing to have to install it each time I try to use it am I?

You shouldn't have to reinstall it... - did you change the boot order in the virtual bios? If so change it back, or use escape on each boot and select the hard disk.

BLTicklemonster
November 7th, 2005, 05:23 PM
You shouldn't have to reinstall it... - did you change the boot order in the virtual bios? If so change it back, or use escape on each boot and select the hard disk.
I ... um ... look, I'm dumb, so if you would, talk down to me like I'm an idiotard, please? Like honestly, really, when you tell me stuff, if you don't mind, please list actions and methods. I have a gazillion things I'm attempting to do all at the same time, between working on a totally new way of doing things in UT, to mapping for these changes, to trying to get unrealed to work in ubuntu, my mind's scattered and it's tough on me trying to keep up with stuff. I was lucky to remember the chwon stuff I'd not have had to do if I were paying attention, that and remembering to sudo back there in the beginning when I was paying attention, lol.

I'm afraid though, that if windows in vmware won't get me using unrealed, then I'll have to either say g'bye to ubuntu or dual boot.

Hey, can I run an entire HD in vmware? Like slave my XP drive, and run it in vmware? That would be way easier than what we're doing here. Of course dual booting would be easier, but every time I've asked and been told how to set up dual booting two hard drives, I've not understood it well enough to do it. Once again, it's been "do this", not "go here, and do this here, then that there, moronmonster", which trust me, would be better. I may not be the brightest french fry on the apple tree, but once I get something figured out, I usually raise cain at it. It's just getting there that is the hard part for me.

Wombley
November 7th, 2005, 05:37 PM
I believe it's possible with VMWare Workstation, but I think its a bit complex and I'm not sure if it works with Player. Try the following:


vmplayer Windows2000Pro.vmx
As soon as it starts booting click inside the window to capture the mouse and press F2
Press the right key 4 times to get to the Boot menu in the BIOS
Use the down key to select the Hard Disk option
Press the + key until the Hard Disk option is at the top
Press F10 to save changes, and press Enter to confirm
Wait as it reboots, and hope that windows comes up...

BLTicklemonster
November 7th, 2005, 05:44 PM
Thanks, I'll give it a go tonight. ;)

kashms
November 7th, 2005, 11:25 PM
Getting video to work above 640x480/16 colours (tested in 2000):


Get the windows vmware tools from http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=920
Set the ISO image as the cdrom source in the .vmx file
Install the tools. Ignore the warning about the SVGA driver
In add new hardware, select graphics card and select from list, and have disk
Select the video/winnt2k folder under the cdrom drive
Ignore warnings and install
Select a higher resolution from display properties
(Hopefully) done


Also - simple way to get networking working: select NAT from the Ethernet menu in vmplayer

I downloaded the file and edited the vmx file so it reads:
ide1:0.fileName = "windows.iso"

but how do I actually install the tools?

mapman
November 8th, 2005, 12:38 AM
You can install the tools by entering into the OS through VMPlayer then accessing the ide1 drive or in my case it was D: drive, then proceed from there to install it.

I wasn't able to increase the resolution using these steps after installing the tools however....let me know how you do if you can though. Thanks.;)

kashms
November 8th, 2005, 01:44 AM
Double clicking the vmware tools in "My Computer" (Drive D:) yields a setup.exe error:

"The application failed to initialize properly (0xc0000006). Click on OK to terminate the application"

Is this normal?

twowheeler
November 8th, 2005, 04:56 AM
Hmm, well, I have hit a roadblock. Everything seems to work well except for two things: sound and printing. Both of these are USB devices on my machine. Sound I can live without, but I gotta have access to the printer. There are *lots* of "my usb printer won't work" posts on the vmware forums, so I am not alone. I am still working at it, and will post if I figure it out.
;)

Edit: Ok, I got it. I had to edit the Windows2000Pro.vmx file to remove the settings that look like this:

usb.autoConnect.device0 = "path:2/1 autoclean:1"
usb.autoConnect.device1 = "path:1/1/2 autoclean:1"
These were apparently added automatically as I played with the USB device buttons. The problem appears to be that vmware is too smart -- it knows how to access and use the USB hardware directly, but that usually creates a problem for the host device drivers. In my case, I noticed that after running the vm, I had no sound or printer access until a reboot. People in the vmware forums seem to be trying to unload their linux printer module before vmware starts, running the vm, and then reloading the host module to get access back to the host. Life's too short for that. If you disable direct access to the USB devices, then by default it will use the host drivers. I was able to install an adobe postscript printer driver in the windows guest, and point it to the samba printer. It works perfectly. I have sound back too.

Lesson learned: once you get it going, don't click on any usb device buttons. It might be even better to change usb.present = "TRUE" to usb.present = "FALSE" if you can live without direct access to usb, although I have not tried that yet.

BLTicklemonster
November 8th, 2005, 05:29 AM
I had the same problem too. Apparently vmware player is looking for your CDBOOT1.IMG, remnants of the install. To avoid this you could click on the floppy button on the top of the player window to disable the floppy, then enter twice to enter the windows startup....or edit the vmx file from floppy0.startConnected = "True" to floppy0.startConnected = "false". Hope that helps. Is there a link for possible vmx options, anyone?;)

Now I have a question...is their any quick way to increase the resolution? I tried previous steps of installing the video adapter driver from the vmtools iso but to no avail. Any suggestions...anybody?;)
woot woot. Now on to resolution... yikes!!!

BTW, how do I install from a cd in this?

BLTicklemonster
November 8th, 2005, 06:07 AM
Wow, just change resolution. lmao.

and here's me using msn messenger in xp in ubuntu:

http://www.hawkwinds.com/tickle/msninxpinubuntu.jpg


Now my only problem is... I have to start over again!!!

There's not enough room on here for installing UT.

Caboto
November 8th, 2005, 08:27 AM
[...]
There's not enough room on here for installing UT.
I hope you don't mean Unreal Tournament. As far as I know, there's no 3D Acceleration (which already mentioned someone).

Wombley
November 8th, 2005, 09:21 AM
You can install the tools by entering into the OS through VMPlayer then accessing the ide1 drive or in my case it was D: drive, then proceed from there to install it.

I wasn't able to increase the resolution using these steps after installing the tools however....let me know how you do if you can though. Thanks.;)

Force the display adaptor to install - choose the "select from list" option after selecting install driver for it in device manager, then the "have disk" option, then show it the directory on the disk, select vmware driver and ignore the warnings... :)

BLTicklemonster
November 8th, 2005, 01:02 PM
I hope you don't mean Unreal Tournament. As far as I know, there's no 3D Acceleration (which already mentioned someone).

Yeah. But I was hoping against hope that the editor would work in XP/vmware.

I suppose it's time to see how one daul boots with two drives.

twowheeler
November 8th, 2005, 01:09 PM
In case it helps anyone here, this is my fully functional Windows2000Pro.vmx file:



#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "Windows2000Pro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
ide1:0.autodetect = "TRUE"
floppy0.fileName = "/dev/fd0"
floppy0.startConnected = "FALSE"
ethernet0.present = "TRUE"
usb.present = "FALSE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows 2000 Pro"
guestOS = "win2000pro"
nvram = "Windows2000Pro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d c3 67 77 20 86 54-d0 ec 04 8b aa ce 79 73"
uuid.bios = "56 4d c3 67 77 20 86 54-d0 ec 04 8b aa ce 79 73"
ethernet0.generatedAddress = "00:0c:29:ce:79:73"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "Windows2000Pro.vmss"
tools.remindInstall = "FALSE"
fileSearchPath = "/home/dan/vmware/Windows2000;."

BLTicklemonster
November 8th, 2005, 02:16 PM
displayName = "Winbuntu 2000 Pro"


... tempting..

mapman
November 8th, 2005, 04:31 PM
Force the display adaptor to install - choose the "select from list" option after selecting install driver for it in device manager, then the "have disk" option, then show it the directory on the disk, select vmware driver and ignore the warnings... :)


:smile: Thanks Mr.Wombley. It worked as you said it would.:cool:

Wombley
November 8th, 2005, 04:59 PM
I hope you don't mean Unreal Tournament. As far as I know, there's no 3D Acceleration (which already mentioned someone).

There is actually an (experimental) option for this - see http://www.vmware.com/support/ws5/doc/ws_vidsound_d3d.html. However its still marked as experimental, and I'm not sure how it'd work with the version of vmware tools we've been using...

Caboto
November 8th, 2005, 05:19 PM
There is actually an (experimental) option for this - see http://www.vmware.com/support/ws5/doc/ws_vidsound_d3d.html. However its still marked as experimental, and I'm not sure how it'd work with the version of vmware tools we've been using...
Yes. But like the text (and you) said, it's for the workstation. That could work eg. for the UnrealED, but probably it won't be really good for playing (new) 3D-Games.

BLTicklemonster
November 8th, 2005, 05:51 PM
Yes. But like the text (and you) said, it's for the workstation. That could work eg. for the UnrealED, but probably it won't be really good for playing (new) 3D-Games.
Shoot, ut plays great in linux, I just need to be able to map in the editor. I'll check it out after I redo all this with like twice the space on the virtual drive.

BLTicklemonster
November 9th, 2005, 03:09 AM
Setting up a 10 gig virtual drive, and going at it again. Thank you so much for putting up with me and being so helpful you all. My apologies to everyone but... bah, yeah, him too.

Now to get it installed again, and try to install that 3d thing.

Huh, I wonder how well it networks. I can just share a cdrom from one of the other machines, and install UT from there instead of waiting for the files I uploaded to download from ftp....

First things first, I gotta get it running first, lol.


HECK YEAH, it worked. Instead of having to have floppies, just (yeah, I know, why go to the trouble of making an iso) when it says it can't find a bootable disk, click on the cdrom icon, and it boots from the cd. Now if I were a smart man, I'd figure out how to make the thing boot from it already, but well, I think I already blew any credibility I'd have in that department. Installing now.


*edit:

for some reason, if I try to change the size from 2 gig to a larger size, and change both values, it messes up. I wanted a 10 gig, because I'm a hog, so I tried this and it worked:


qemu-img create -f vmdk WindowsXPPro.vmdk 10G Formating 'WindowsXPPro.vmdk', fmt=vmdk



bill@ubuntumonster:~/WindowsXPPro$ qemu-img create -f vmdk WindowsXPPro.vmdk 10G Formating 'WindowsXPPro.vmdk', fmt=vmdk
Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=10485760 kB
bill@ubuntumonster:~/WindowsXPPro$

twowheeler
November 9th, 2005, 04:38 AM
qemu-img create -f vmdk WindowsXPPro.vmdk 10G Formating 'WindowsXPPro.vmdk', fmt=vmdk


I'm sorry to have to repeat old information, but it was explained previously in this thread that the command ends after the "10G". The rest is output mistakenly included in the quoted text. At best, it will be ignored; at worst it will hose things up.

The man page gives the correct format for the command. Note that the last argument for the create command is [size] -- that would be "2G" or "10G" or whatever size you want.


QEMU-IMG(1) QEMU-IMG(1)

NAME
qemu-img - QEMU disk image utility

SYNOPSIS
usage: qemu-img command [command options]

OPTIONS
The following commands are supported:

create [-e] [-b base_image] [-f fmt] filename [size]
commit [-f fmt] filename
convert [-c] [-e] [-f fmt] filename [-O output_fmt] output_filename
info [-f fmt] filename

I just don't want more people to be confused about this.

BLTicklemonster
November 9th, 2005, 05:13 AM
Thanks Two, but I stay confused anyway.

I installed the vmware video drivers the slacker way.

I installed winace, and extracted the contents of the iso and installed from there.

Oh, and check this out:

http://www.hawkwinds.com/tickle/unrealedinubuntu.jpg


I can finally kick the windows out now. I have no reason to keep it on the other drive.

THANKS TO YOU ALL FOR YOUR HELP.

Snorrie
November 9th, 2005, 01:47 PM
Did someone tried this for windows 98? I wanted to install that but the floppy-thingy is not clear to me. What do I have to put on that? or make it boot from what file from a normal win-98-boot-floppy?

Thnx in advance,

Snorrie

Wombley
November 9th, 2005, 02:25 PM
Did someone tried this for windows 98? I wanted to install that but the floppy-thingy is not clear to me. What do I have to put on that? or make it boot from what file from a normal win-98-boot-floppy?

Thnx in advance,

Snorrie

You should be able to install straight from the windows 98 CD, although I haven't tried it myself. The floppys aren't really required unless you have a bad CD image.

yabbadabbadont
November 9th, 2005, 09:49 PM
My Win98SE full install CD wasn't bootable. The CD came with a win98 boot floppy. I just booted from the floppy and then ran the setup on the CD. I did this using the evaluation version of vmware workstation though. I used the eval version to create base installs of win98, win2k, and winXP. I created copies of these files and then installed my other software in the copies. That way I always have a clean install from which to start if I want to try something different. I use vmplayer with the images though.

There is a tool on the CD to create the boot disk, but is has to be run from DOS (might work with Wine, I'll try it in a little while and see what happens). It is in the tools/mtsutil/fat32ebd directory. There is a text file that explains how to create the disk.

EDIT: I couldn't get it to work with Wine, it would probably work with either DosEmu or DosBox though.

For those who are interested, I found this link with some useful information about the contents of the vmx files. http://blog.lorenzoferrara.net/pivot/entry.php?id=73#body

yabbadabbadont
November 9th, 2005, 11:01 PM
Did someone tried this for windows 98? I wanted to install that but the floppy-thingy is not clear to me. What do I have to put on that? or make it boot from what file from a normal win-98-boot-floppy?

Thnx in advance,

Snorrie

I don't think that I answered the question you asked with my previous post. If you have the Windows 98 boot floppy, then you can install win98 without creating the CD and floppy images. I have just done this using qemu-img and vmplayer to be sure that it can be done. (it took a few tries to find the right settings). Follow the original post's instructions on creating the hard drive image file using qemu-img. I called my image file w98.vmdk. Here is the vmx file that I used to install win98.
#!/usr/bin/vmplayer
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "w98.vmdk"
ide0:0.redo = ""
memsize = "128"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "/dev/hdc"
ide1:0.deviceType = "atapi-cdrom"
ide1:0.startConnected = "TRUE"
floppy0.fileName = "/dev/fd0"
floppy0.startConnected = "True"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows 98 test image"
guestOS = "win98"
nvram = "w98.nvram"
MemTrimRate = "-1"
uuid.location = "56 4d 4e f4 6e 1c 68 77-97 68 c5 8f 84 8d 00 c6"
uuid.bios = "56 4d 4e f4 6e 1c 68 77-97 68 c5 8f 84 8d 00 c6"
tools.syncTime = "FALSE"
uuid.action = "create"
checkpoint.vmState = "w98.vmss"
tools.remindInstall = "FALSE"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00:0c:29:8d:00:c6"
ethernet0.generatedAddressOffset = "0"


If you called your image file something other than w98, then change w98 to whatever you used everywhere it appears in this file. Also, you will need to modify the ide1:0.fileName line to point to the device for your cdrom. In my case it is /dev/hdc, you will need to change it to the correct value for your system. Once you have done all that, insert your boot floppy and win98 CD. Run vmplayer using the vmx file you have just created. You should see the boot floppy start up and then complain about the hard drive not being partitioned or formatted. Use fdisk to create a partition. I just created one for the whole virtual disk. You will have to restart the virtual machine now. From the vmplayer menu, choose Player->Troubleshoot->Reset. This will reboot the virtual machine. Once the floppy has booted again, format the virtual disk you just partitioned. Now you can run the setup.exe program off of the win98 CD and do a normal win98 setup.


I know that I have repeated many of the instructions from earlier posts, but I just wanted to be clear on the steps I took to install win98 in my virtual machine.

Snorrie
November 10th, 2005, 06:00 PM
Oh yeah! it worked! :D

It's a shame though that it (win 98 SE) is terribly slow on my laptop (750mhz, 512mb)

Is there a possibility to make it quicker with some tools?

thnx,

Snorrie

Wombley
November 10th, 2005, 06:43 PM
Have you installed the VMWare tools mentioned in previous posts? These should work with Windows 98 (theres a win9x folder for the graphics drivers, and its one of VMWare's supported OS's), and at least on Windows 2000 I found they made it run smoother.

BLTicklemonster
November 10th, 2005, 07:10 PM
So I redid my hard drive to 10 gig and all went well. I am amazed that XP is faster like this than it ever was normally.


Now for some tough questions:

How do I migrate files between the two? Between the xp vd, and linux?

Can I put a whole hard drive in vm? I have xp on a drive, and it's got like 6 ggs of stuff that I can do without, but sure could use. Can I point vmware player to that drive and run the xp off of it?

ranf
November 10th, 2005, 07:18 PM
How do I migrate files between the two? Between the xp vd, and linux?

Samba? Should be lightning fast.


Can I put a whole hard drive in vm? I have xp on a drive, and it's got like 6 ggs of stuff that I can do without, but sure could use. Can I point vmware player to that drive and run the xp off of it?
I have no idea if that can be achieved.

BLTicklemonster
November 10th, 2005, 07:31 PM
Thanks ranf, I tried that last night, I could get smbclient to show me useful stuff like smbclient -D| does neat stuff, but well, nothing happened when I did it.

I also tried typing in firefox:

smb://localhost:10000

and nothing happened.

I can't (of course I can't because it's probably staring me in the face) find anything useful (as in it says, because you are stupid, mr ticklemonster, we'll draw you a picture, please chose your favorite color of crayon) that gave me even a hint as to how to go from point a to point b. Perhaps my googling skills could use some tweaking...

BUT, I'm not going to rant and rave this time. Self depricating humor maybe, but no ranting.

jackmacokc
November 10th, 2005, 07:33 PM
I keep getting this error:

The network bridge on device /dev/vmnet0 is temporarily down because the bridged Ethernet interface is down. The virtual machine may not be able to communicate with the host or with other machines on your network.

Any ideas? Or should this simply be ignored.

Caboto
November 10th, 2005, 07:39 PM
I've tried to transfer files between the Guest OS (WinXP) and my Host OS with no real success.
The first method I've tried was to just drag'n'drop or Copy&Paste. The website says, the Player can handle this (from Linux to Windows and vice versa). It didn't work, of course..
Then i've installed Samba and shared some folders. Then I switch my Ethernet Card to "Host-only" and tried to find these folders with no success. But I did indeed found my PC. It asked for a User/PW, but didn't accept anything...

I've googled a little bit and found out, that the VMWare Workstation can have Shared Folder (like mounting partitions), but that this functionality was removed due to security reasons (when you use an image from someone else, you can't see what things are mounted automatically).

At the moment I'm using my Apache Webserver for transfering files. I've set up a domain at dyndns.org and using this. It's "normal" network speed, but a bit complicated...
I wish, I could just mount my other FAT32 partitions.


Edit:
There's a discussion for this subject in the VMWare Community Boards right here (http://www.vmware.com/community/thread.jspa?threadID=24795&tstart=0&messageID=300818).

ranf
November 10th, 2005, 07:48 PM
I also tried typing in firefox:
smb://localhost:10000

What is that supposed to do?

Start here https://wiki.ubuntu.com/SettingUpSamba?highlight=%28samba%29
and search this forum for "samba". There should be a bunch of threads.

BLTicklemonster
November 10th, 2005, 08:13 PM
It is a simple command line thing that makes people scratch their heads. Try it on some unsuspecting person sometime.

Other than that, it was supposed to bring up something about my computer so I could set the xp drive to have a letter and be shared. Or so I was told.

BLTicklemonster
November 11th, 2005, 04:44 AM
I just learned something. If you are running on an athlon machine, and find out about k7 kernel after doing this with vmware, and change, you will have to reinstall vmware. nice. lmao.

BLTicklemonster
November 12th, 2005, 02:12 PM
If the player won't launch, where can I find a log telling me what happened? I see nothing generated presently, and the player will not launch. (perhaps it won't launch because this is the first time I've tried to run with a drive slaved?)


*edit:

Nope, that's not it. Why do I keep loosing the ability to launch player? And when I do, what can I do to get it back? I've tried looking over the vmx file, but it's identical to the one I made in the first place. And there's no log that I can find.

BLTicklemonster
November 14th, 2005, 05:55 AM
This guide will allow you to install Windows XP or 2000 solely with the VMWare Player. For the uninitiated, VMWare released a free application that allows users to run, but not create virtual machines. Using QEMU, we will create an environment suitable for use with the player.

As a side-note, I'd like to point out that VMWare makes quality software. If you require additional functionality, consider upgrading to Workstation. For those curious, these actions are condoned by the developers as per this quote:

"We’re well aware of what people could potentially do, and we’ll live with the consequences. As you observe, Workstation has a lot of features that no amount of vi and dd hacking will replicate and these are what make Workstation worth buying (eg: Teams as you mention, or snapshots). I suspect that most people who go to the trouble are one’s who haven’t bought or wouldn’t buy Workstation anyway."

Installing the player itself involves some patience. Get the Linux tar from this page (http://www.vmware.com/download/player/). Most of my instructions will be shamelessly ripped from this lovely tutorial (http://www.ubuntuforums.org/showthread.php?t=65638). Fire up a root terminal and do:


sudo apt-get install build-essential
uname -r
sudo apt-get install linux-headers-'kernel version'
sudo apt-get install gcc-3.4
sudo apt-get install g++-3.4

Now that the initial dependencies have been met, let's continue.


sudo tar xvzf VMware-player-1.0.0-16981.tar.gz be aware that the version number may change
cd vmware-player-distrib
CC=/usr/bin/gcc-3.4
export CC=/usr/bin/gcc-3.4
sudo ./vmware-install.pl

The installer has an unusually high number of prompts, all of which can be answered the default "yes" to by hitting enter. After hitting enter a few dozen times and agreeing to the license, everything should install successfully. If you're having problems installing the actual player, that other guy might be more qualified to diagnose it than I am. Moving along...

There are two components to a virtual machine, the hard drive image and a text file that VMWare interprets. First, we'll create an image with QEMU.

I know this sounds a little odd, but I couldn't get the QEMU command used to generate the disk working from the Linux port. Fortunately, the utility works fine with the Windows port under Wine. I can't really bothered to delve into the specifics of installing Wine other than suggesting:


sudo apt-get install wine

Then download and install the Windows version of QEMU (http://free.oszoo.org/ftp/qemu/win32/release/QemuInstall-0.7.2.exe) if that does now work, then get it here (http://daimon55.free.fr/qemu/QemuInstall-0.7.2.exe) (make sure you install it :) . Create a folder in /home/yourname and name it either WindowsXPPro or Windows2000Pro, and in the terminal go to it:


cd /home/yourname/folder you created

Then execute qemu from a command line as follows:


wine "c:\Program Files\Qemu\qemu-img.exe" create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk


(the size driver that makes is 2 gigs, if you want more, change from 2G to whatever size you want)

This will generate a 320k file which is a usable blank drive. Create a new folder to contain our files and name this guy either WindowsXPPro.vmdx or Windows2000Pro.vmdx accordingly.

You now have the choice to install XP or 2000. On my 1.2ghz/512mb system Windows 2000 runs considerably more responsively; your choice. As per the other tutorial, we should be able to insert our CD and go after the following. But in my case, neither my bootable XP or 2000 CD had any interest in well, booting. I'd suspect I'm not the only one with this concern, so we'll play with ISO images instead. If you want to install from a cd rom, then ignore this part.


sudo apt-get install gnomebaker

After inserting your original Windows disc, load Gnomebaker, choose "Copy Data CD," and tick the "Create ISO only" box. Save the resulting ISO as either WindowsXPPro.iso or Windows2000Pro.iso to the folder we just created. If the processes ever freezes 99%, feel free to "killall gnomebaker" without concern.

Unfortunately, our ISO image will not have the bootable sector intact. We'll instead boot from a series of floppy images. My Windows 2000 disc included them in a "bootdisk" folder, whereas XP did not. For 2000, copy the four img files from it to our created folder.

With XP, you'll need some additional nonsense. Hunt down an appropriate set from Microsoft for your version of XP, and do the following:


sudo apt-get install cabextract
cabextract 'nameofarchive.exe' -d 'our working directory'

Deleted the non-img extracted files.

Okay, you can start paying attention again if you are wanting to boot from a cd.

Now that we have a matching ISO and floppy set, we're ready to proceed with installation. Paste one of the following to a text editor (gedit/leafpad) and save it as either WindowsXPPro.vmx or Windows2000Pro.vmx to our directory:

Windows XP from iso:


#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "WindowsXPPro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "WindowsXPPro.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.autodetect = "TRUE"
floppy0.fileType = "file"
floppy0.fileName = "cdboot1.img"
floppy0.startConnected = "True"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows XP Pro"
guestOS = "winxppro"
nvram = "WindowsXPPro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
uuid.bios = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
ethernet0.generatedAddress = "00:0c:29:4c:23:7b"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "WindowsXPPro.vmss"
tools.remindInstall = "TRUE"

Windows XP from cd:


#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "WindowsXPPro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "atapi-cdrom"
ide1:0.autodetect = "TRUE"
floppy0.startConnected = "False"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows XP Pro"
guestOS = "winxppro"
nvram = "WindowsXPPro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 86 fc d2 c6 27 b7-7d 0a dc c4 9f 36 b9 3f"
uuid.bios = "56 4d 86 fc d2 c6 27 b7-7d 0a dc c4 9f 36 b9 3f"
ethernet0.generatedAddress = "00:0c:29:36:b9:3f"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "WindowsXPPro.vmss"
tools.remindInstall = "TRUE"

Windows 2000:


#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "Windows2000Pro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "Windows2000Pro.iso"
ide1:0.deviceType = "cdrom-image"
ide1:0.autodetect = "TRUE"
floppy0.fileType = "file"
floppy0.fileName = "CDBOOT1.IMG"
floppy0.startConnected = "True"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows 2000 Pro"
guestOS = "win2000pro"
nvram = "Windows2000Pro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
uuid.bios = "56 4d cd 3f 59 5b 61 43-fd 73 ef 46 56 4c 23 7b"
ethernet0.generatedAddress = "00:0c:29:4c:23:7b"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "Windows2000Pro.vmss"
tools.remindInstall = "TRUE"

Double click on the resulting file, and Windows should start to install. The only screwiness left at this point is that we'll need to swap floppy images. When prompted, click on the floppy icon to "eject" the drive. In Nautilus, rename cdboot1.img to cdboot01.img and cdboot2.img to cdboot1.img, then click the floppy icon again to continue. It may sound a little strange, but you're essentially renaming the images to match that of the first file when it wants it. You'll get the hang of it, promise.

Once the floppies have done their thing, the ISO will take over and Windows will install normally.

Sorry about the length of this. If I had web hosting, I could've posted many of these files and shaved off a few steps. I'll try my best to answer any questions that may come up, but concede that my level of Linux know-how is only intermediate.

Here's a screeny for encouragement (http://i24.photobucket.com/albums/c35/dryandplain/ps8.png)! :D

Take care,
-Kyle

redone a bit

BLTicklemonster
November 14th, 2005, 05:45 PM
question:

If I were to do all the steps up until the part where I click the vmx file to install, then uploaded the folder I made with the vmdk and vmx files in them, downloaded them on another machine, installed vmware player, and double clicked on the vmx file, would it work, even without wine or qemu? I'd think it would, but I don't know exactly whether or not either of them come into play at this point in things.

oh, and I just went through the whole thing again from scratch here on a different machine that is a fresh ubuntu install, and corrected some errors in case anyone tried that I just posted up there and it didn't work... which it wouldn't have, Ron, so pardon me, lol.

drummer
November 15th, 2005, 04:28 AM
the use of wine and qemu is only to create the disk image for vmware (.vmdk file) so once that's done, vmware doesn't use qine or qemu at all, they're purely for the initial setup.

drummer
November 15th, 2005, 04:42 AM
Also, how can I install the vmware tools svga drivers in a Windows XP Pro guest? I installed as per the windows.iso thing, but got errors saying i had to install them manually. I then installed them manually, using the add new hardware wizard as per previous posts, but the drivers seem to be broken. I used the drivers in the win2k folder in windows.iso as there wasn't one for xp. Can anyone help here, the mouse is very laggy and I'd like these drivers to work.

I've attached a screenshot of the device manager. the red arrow marks what i installed and the question mark is something else but i'm not sure what it is. I'll also note that I could up the resolution to 1280*1024 and higher from the clean xp install, if that's any use.

mingus
November 16th, 2005, 11:17 PM
Excellent thread . . . so just fwiw, thought I'd throw in my two cents after installing on two machines . . .

Re post #83, unable to get the display to work - note the video controller that Windows plug-n-pray has detected and for which there is no driver. That is blocking the display adapter driver from loading. Uninstall the controller and then reinstall as a new display adapter the vmware svga driver.

Re networking, sharing files, samba, etc. . . . my systems are all on a LAN, one of the two with vmplayer uses wireless, there is also a printer, all hung off a router. For the wireless system, I found I could not simply specify NAT in the player; could not find the router's DHCP server. So I config'd vmplayer vmnet0 to wlan0, vmnet8 as NAT, and vmnet1 as host (same as wireline system except vmnet0 there is eth0). The wireless system needed to be assigned a static IP. With Samba installed, all the systems can see one another as normal (smb.conf is configured with "netbios-name = <system-name>" and "security = share").

Only -minor - hiccup I've got is that I had to change the vmx file in order for the CD device to be recognized but now when a CD is placed in the drive *both* Ubuntu and Windows open it. :)

So far all is working well. On my SuSE system I have Xen but have not played with it yet, anyone given that a try for comparison? Seems to me that virtualization is *the* ticket to putting Windows permanently in the back seat.

BLTicklemonster
November 17th, 2005, 01:40 AM
Reckon how a fella would get a logitech moust to have the forward and back buttons navigate in there?

drummer
November 17th, 2005, 01:57 AM
mingus: thanks for that, but i just deleted the xp install i did :p. I got the drivers working in a windows 2000 install which I like better than xp anyway, much less confusing. XP tries to do to much for you imo, and the settings are easier to find for me in 2k.

Although I have yet to get my tv tuner working. I installed the drivers, but the actual card wasn't detected and I can't see it in the hardware manager.. any ideas?

mingus
November 17th, 2005, 05:24 AM
Re: Mouse and Tuner . . . sorry, I'm still new to virtualization as well. The vmplayer documentation only deals with installation. I would look at the workstation manual to understand which kinds of drivers can be installed, what the limitations are in the built-in virtual machines's hardware layer, etc. I don't know yet in what ways, if any, the hardware layer differs between the workstation and the player.

yabbadabbadont
November 20th, 2005, 10:52 PM
Drummer: You would have to check the VMware website, but I don't think that their virtual machine emulates a tv tuner. If their virtual machine doesn't emulate the hardware, then installing drivers for it inside the VM won't do any good. You should be able to use it in Ubuntu though. Are you having trouble with it in Ubuntu, or did you just want to play with it in Windows?

drummer
November 20th, 2005, 11:02 PM
I can watch tv in ubuntu fine, but have had problems recording it. I should try again now that I'm using Breezy, but in Hoary programs other than tvtime couldn't see the video stream.

Draaku
November 21st, 2005, 06:41 PM
Hi, I installed VMware following this guide. But I do not need it or want it anylonger. How would I remove it completely from my system?

ranf
November 21st, 2005, 07:22 PM
Hi, I installed VMware following this guide. But I do not need it or want it anylonger. How would I remove it completely from my system?
Type `vm' in a terminal, then hit Tab twice.

Draaku
November 21st, 2005, 11:42 PM
Type `vm' in a terminal, then hit Tab twice.

ok, it just lists some files, is there a command i type to verify it has been removed? I also found this file in /usr/bin/vmware-uninstall.pl

This stepped me through the uninstall and stated it was removed. thanks for the help.
I still would like to know what this command does? `vm'

thermopyl
November 22nd, 2005, 05:19 AM
SUperb HOWTO guys!

Followed all the instructions to the letter and up and running first time (with sound, networking & a good resolution too!) :D

However I now need to expand my image size from the original 2G..can you tell me how I can do this without destroying the work I have done so far?

Many thanks

ranf
November 22nd, 2005, 03:01 PM
I still would like to know what this command does? `vm'
There is no command named vm. I just told you to type the first two letters of vmware and then use the auto command completion of the bash (that's what runs the terminal) to find out which programs have vmware in their name.

Clearer now?

sumanjay
November 23rd, 2005, 12:14 AM
Thanks a lot! Works great, except, is it normal for the part of the install where Windows detects and installs all your hardware to take a REALLY long time?

I'm experiencing the same problem. It's been stuck at the "detecting and installing devices" screen for over an hour now! How long is it supposed to take? Should I try to reset the virtual system & start over?

Trying to install Windows 2000 on an AMD Athlon 1700XP with 1 GB RAM and a 10GB virtual partition.

drummer
November 23rd, 2005, 12:54 AM
I had the same problem with Windows 2000, it was stuck on the same screen for ages and didn't move (I left it running overnight). I read somewhere that it was a problem with VMWare being too smart with it's USB detection, so I removed the lines about USB in the .vmx file and restarted the installation. It worked fine after that and I'm pretty sure that that was the actual problem. I still have USB support, VMWare just added some lines back to the .vmx.

sumanjay
November 23rd, 2005, 01:17 AM
Thanks for that. I did the same and the installation has completed. However, when I try to install the VGA driver (VMware tools), the Hardware Wizard claims that there is no driver information present in that location. I am pointing the wizard to the correct location - the Video driver in the CDROM image (win.iso) that I downloaded from VMware's website. I would really like to be able to increase the resolution on my virtual machine, besides making it full screen on my current 1280x1024 desktop.

mdbarton
November 23rd, 2005, 03:16 PM
I'm considering giving this a go. Has anyone used VMWare to run MS Outlook and ActiveSync with a PocketPC? Evolution is rubbish (sorry, but it is just not there yet) and SynCE just does not work properly....

Would an alternative be to boot Win XP, install VMWAre workstation evaluation copy, create a WinXP image, then run it in VMare player under Ubuntu?

thermopyl
November 23rd, 2005, 08:28 PM
I'm considering giving this a go. Has anyone used VMWare to run MS Outlook and ActiveSync with a PocketPC? Evolution is rubbish (sorry, but it is just not there yet) and SynCE just does not work properly....

Hi
This is precisely why I followed this thread. I can confirm that active sync with my Ipaq has worked fine through VMWare. I have not tried MSOutlook yet, but as I can use Avantgo and install new apps I am not anticipating any probs.

siorai
December 1st, 2005, 02:12 AM
I'm at a bit of a loss here. I've installed vmware and it looks like everything is working fine. I'm using the .iso and floopy images to install XP Pro. It goes fine until it goes to examine the disks right before copying the files over for the install, then I get this:


Windows XP Professional Setup
------------------------------

The following value in the .SIF file used by Setup is
corrupted or missing:

Value 0 on the line in section [SourceDisksFiles]
with key "SP2.cab."

Setup cannot continue. To quit Setup, press F3.

I feel like I'm about this: >< close to getting it.

siorai
December 2nd, 2005, 05:09 PM
Well I got my problems sorted out. I think it stemmed from the Windows discs that I was using were both slipstreamed with the Service Packs into them. I borrowed a proper disc from work, followed the instructions on how to boot from the cd and booyaa! It worked! :D Now I can finally ditch that Windows install and quit dual booting.

Thank you to everyone in the thread for all the info.

siorai
December 2nd, 2005, 05:11 PM
Oh yeah, one question though. Is it possible to increase the size fo the virtual drive Windows is installed on, or do I have to simply reinstall, creating the virtual drive larger first?

mdbarton
December 2nd, 2005, 10:17 PM
I'm considering giving this a go. Has anyone used VMWare to run MS Outlook and ActiveSync with a PocketPC? Evolution is rubbish (sorry, but it is just not there yet) and SynCE just does not work properly....

Would an alternative be to boot Win XP, install VMWAre workstation evaluation copy, create a WinXP image, then run it in VMare player under Ubuntu?

Now have it working (activesync and pocketpc) - and I created the WinXP image using a VMWare workstation evaluation copy on windows. I have one or too niggles to sort out - if I get stuck will post them here.

Thanks for an excellent howto!

vtechstu
December 3rd, 2005, 02:12 AM
Hi,

When I run vmplayer <filename> in the terminal, this is printed right before vmware opens:

/usr/lib/vmware/bin/vmplayer: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
*** attempt to put segment in horiz list twice

It then opens. Do I need to worry about this?

Also, vmplayer began the install of windows, it loaded everything, and I pressed Enter, then it froze. Now everytime I go start up vmware for windows, i just get a black screen with an unmoving cursor in the top left, with white lines from where the VM Logo used to be.

Could anyone please help? Thanks.

EDIT: Fixed the second issue. I went back and recreated the vmdk file and it worked. I think something had gotten written to it.

ilmw
December 3rd, 2005, 04:43 AM
Oh yeah, one question though. Is it possible to increase the size fo the virtual drive Windows is installed on, or do I have to simply reinstall, creating the virtual drive larger first?

See the example:

vmware-vdiskmanager -x 36Gb myDisk.vmdk

This will increase the virtual disk size to 36G. It takes awhile though.

This works with vmware workstation. I don't know whether it works with vmware player or not.

It was said that this only increase the disk size, but won't change the the partition. So you need to use another tool to do it. I only have one partition so I did increase the virtual disk size by just running this command. See this page:
click (http://www.instant-tech.com/blogs/ctyler.nsf/d6plinks/CTYR-6CWMB4)

mdbarton
December 3rd, 2005, 07:43 AM
Hi,

When I run vmplayer <filename> in the terminal, this is printed right before vmware opens:

/usr/lib/vmware/bin/vmplayer: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
*** attempt to put segment in horiz list twice

It then opens. Do I need to worry about this?


I get the same message, but vmplayer doesn't run, I just get the command prompt again. It will run if I
sudo vmplayer <filename>Are you running vmplayer as root or normal user? Jest to see if it is exactly the same problem....

siorai
December 3rd, 2005, 09:00 AM
See the example:

vmware-vdiskmanager -x 36Gb myDisk.vmdk

This will increase the virtual disk size to 36G. It takes awhile though.

This works with vmware workstation. I don't know whether it works with vmware player or not.

It was said that this only increase the disk size, but won't change the the partition. So you need to use another tool to do it. I only have one partition so I did increase the virtual disk size by just running this command. See this page:
click (http://www.instant-tech.com/blogs/ctyler.nsf/d6plinks/CTYR-6CWMB4)

Awesome. That worked perfectly with vmware player as well. Thanks.

vtechstu
December 3rd, 2005, 07:07 PM
Yes I ran sudo vmplayer Win.vmx Message still there. Also, I can't seem to run VMplayer any other way but through terminal. Under Applications, it shows it loading, but then dissapears. How do i naturally set it so it will run as non root? I think that might be it. Thanks.

mdbarton
December 6th, 2005, 06:25 AM
How do i naturally set it so it will run as non root?

That's the question I have as well...:confused:

Joeak
December 7th, 2005, 07:43 AM
Thanks for the tips! Since qemu on Breezy is 0.7.0, the qemu-img command failed, but I downloaded 0.7.2 under Windows, created the vmdk files there, copied them over to Ubuntu, hacked the vmx file to not boot from floppy, pointed it to my ISO image, and I'm installing away!

DarkFlounder
December 9th, 2005, 09:10 AM
Thanks for the howto. Works great. Took a little while to get the windows.iso file (wasn't available at the link listed earlier, had to look on p2p). Works great now. If only I can use 3d software on it (for testing Java3d applets I'm developing). But I heard that could be coming in a future edition.

mdbarton
December 9th, 2005, 09:55 AM
I get the same message, but vmplayer doesn't run, I just get the command prompt again. It will run if I
sudo vmplayer <filename>Are you running vmplayer as root or normal user? Jest to see if it is exactly the same problem....

Has anyone got vmplayer running as a normal user - ie not as root? Can anyone suggest what I need to change to run this as a normal user?

yabbadabbadont
December 10th, 2005, 08:15 AM
Does the install create a vmware group in /etc/group ? I know it does on other Linux distributions. If so, make sure that your user is a member of that group.

Example:
id username
(list of groups displayed)

If vmware is not listed and is in /etc/group, then do:
sudo gpasswd -a username vmware

and see if it helps.

mdbarton
December 10th, 2005, 12:15 PM
Does the install create a vmware group in /etc/group ? I know it does on other Linux distributions. If so, make sure that your user is a member of that group.

Example:
id username
(list of groups displayed)

If vmware is not listed and is in /etc/group, then do:
sudo gpasswd -a username vmware

and see if it helps.

Thanks for the reply, unfortunately a vmware group has not been created. I did try adding one but it does not make a difference. Do I need to change a setting to make vmplayer aware of the group?

mdbarton
December 10th, 2005, 12:29 PM
fixed it! Have a look at http://www.vmware.com/community/thread.jspa?messageID=306128&#306128

just opened a terminal did a chown -R username .vmware and now I can run vmplayer as non-root.
:p

BLTicklemonster
December 14th, 2005, 12:12 AM
Just started vmware, and I was advised that there is an upgrade. ... um, is this going to bonk everything I have done?

dk_pa
December 14th, 2005, 09:46 AM
It looks like the link to the VMWare tools (windows.iso) file was taken down. Are the VMWare tools n/a anymore or can I get them somewhere else or someone send me them?

Remix_88
December 14th, 2005, 06:32 PM
I have found an alternate location for the current windows.iso.

http://www.vmware.com/download/esx/esx2-16515update.html

Download the tar.gz file, extract it and then you will have the current windows.iso of VMWare Tools :-) I just installed it and it works fine.

twowheeler
December 15th, 2005, 01:20 PM
Anyone else here having trouble with a cd burner under vmware player? It is a pioneer DVR-A07 cd/dvd burner. The software is win2000pro on vmplayer on hoary. I installed the pioneer drivers in windows, but none of the programs using the burner work. Nero says it can't identify the type of cd drive. iTunes coughs up "The attempt to burn a disc has failed. An unknown error has occurred (3410)."

I am wondering if it needs scsi emulation on the drive. I did a modprobe ide-scsi but it did not fix it. The drive reads and burns perfectly in linux using graveman or similar.

I searched the vmware forums for clues but came up empty. It must not be a common problem. :(

If you have a burner working, what are the settings in your .vmx file?

Thanx...

siorai
December 15th, 2005, 03:34 PM
twowheeler, I've never had any problems with my burner in vmware. I've got a Pioneer DVR-109 and I'm running XP Pro in vmware. Sorry I can't really help, but here's my .vmx file to compare:


#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "WindowsXPPro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "False"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows XP Pro"
guestOS = "winxppro"
nvram = "WindowsXPPro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = ""
uuid.bios = ""
ethernet0.generatedAddress = ""
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = ""
tools.remindInstall = "FALSE"

ide1:0.autodetect = "TRUE"

BLTicklemonster
December 15th, 2005, 05:16 PM
Fascinating. Does dvdshrink work in vmware? I'd never given it any thought.

raha
December 15th, 2005, 06:37 PM
:smile: Thanks Mr.Wombley. It worked as you said it would.:cool:

Please somebody help me I cant download the window.iso file to install my 3D graphic.
I need VMWare tools.
Can somebody give it to me.

Thanks

siorai
December 15th, 2005, 07:50 PM
Fascinating. Does dvdshrink work in vmware? I'd never given it any thought.

It works perfectly. I also use DVD Decrypter, Nero, and PSPVideo9 in vmware, all of which work great.

twowheeler
December 16th, 2005, 01:32 PM
twowheeler, I've never had any problems with my burner in vmware. I've got a Pioneer DVR-109 and I'm running XP Pro in vmware. Sorry I can't really help, but here's my .vmx file to compare:

Thanks siorai. Also, are you accessing the drive as an ATAPI IDE device or through SCSI drivers?

Edit: I mean in ubuntu not windows.

Edit2: "never mind" I got it. The drive was in PIO mode. The answer was in this thread :
http://www.vmware.com/community/thread.jspa?messageID=297033&#297033

Chris Tucker
December 16th, 2005, 02:22 PM
wow, this seems a lot easier here than where anyone mentioned it to me before, i shall try this when i get home from work...
do USB devices work in VMware? cameras? disk drives?

siorai
December 16th, 2005, 03:41 PM
wow, this seems a lot easier here than where anyone mentioned it to me before, i shall try this when i get home from work...
do USB devices work in VMware? cameras? disk drives?

Both my PSP and my secure digital card reader work fine. They popup as soon as they're connected or I put a card in.

Chris Tucker
December 16th, 2005, 05:12 PM
awesome, i cant wait then
i could get started now, but id run out of battery power, and i dont have my windows discs here

siorai
December 16th, 2005, 07:12 PM
awesome, i cant wait then
i could get started now, but id run out of battery power, and i dont have my windows discs here

My one suggestion is to think ahead about how much space you want for your Windows install. I was shortsighted the first time and had to redo the whole thing. It's easy enough to have the VMWare XP access samba shares, but it's easier to just have enough room in the XP install to begin with.

Chris Tucker
December 16th, 2005, 07:58 PM
yes, i figured id try it with at least 6 gigs

Chris Tucker
December 16th, 2005, 10:57 PM
im booting directly from the CD and VMware closes at the network setup in hardway detection..
i am using wifi as my main connection, the config wizard for vmware created bridges for both my wlan0 and eth0

edit: about to try via ISO

Chris Tucker
December 17th, 2005, 02:41 AM
another note: that was XP.
via ISO it did the same thing.
right now i am trying win2000
later ima try some other linux distros in there :D
long night + me = bored
bored + time = fiddling

dk_pa
December 17th, 2005, 08:37 AM
I have to admit I am totally smitten by this software. On my Athlon 2500 w/512 Megs of ram Windows 2000 runs nearly flawless. I'll have to try to edit my vmx file to get it read my DVD burner and DVD rom and then I'll be totally set. This was super easy to setup and just blows my mind that it can run as fast as it does. Anway...good walkthrough and great software. I would say anyone who needs a Windows App under Linux definitely go this route.

kenweill
December 17th, 2005, 10:00 AM
Installing and running windowx xp inside Linux thru vmware player is great.
I can have a windows specific software installed in windows xp inside linux.

But what if i connect to the internet from Windows XP inside vmware?
Can I share that connection outside vmware? Or in the host(on the same machine)?
Can I share that connection to the other workstations in my LAN?

Actually, thats my problem regarding the internet connection. The accelerator/drivers for my modem is a windows based only. The accelerator won't install and run using wine. The accelerators, Internet Page Accelerator, and Internet over Satellite Accelerator that comes with my modem is windows specific software.

putte30
December 17th, 2005, 02:20 PM
I have network issues to.. unable to astablish an Internet connection... Anyone knows ?

Chris Tucker
December 17th, 2005, 06:34 PM
ok, ive tried win2000 via CD, winXPhome via CD, WinXP Pro via CD, winXP Pro ISO, and DamnSmall Linux, everything stops and either powers off the virtual machine or just stops when it hits network detection.

WinXP (all) virtual machine powers off abruptly

Win2000 (workstation) hardware detection dialog stops when bar is full. can still move the window around, move the mouse, but buttons are greyed out and system doesnt proceed with install.

DamnSmall Linux (bootable CD) virtual machine powers off abruptly at network detection


Any help?
I'll be trying reinstalling vmware player later today, and doing the network differently.

putte30
December 17th, 2005, 07:06 PM
Fixed my problem by adding the following line:

ethernet0.connectionType = "nat"

:D

Now Internet works... next step would be to enable networksharing trough samba... any ideas?

Chris Tucker
December 17th, 2005, 10:31 PM
sudo apt-get samba
man samba
google samba
search ubuntuforums samba

Chris Tucker
December 18th, 2005, 01:24 PM
udpate: windows XP and 2000 AND 98 all stall either during or at the end of hardware detection! other linux's work just fine.. any ideas?

Juzz
December 19th, 2005, 12:35 PM
Excellent thread . . . so just fwiw, thought I'd throw in my two cents after installing on two machines . . .

Re post #83, unable to get the display to work - note the video controller that Windows plug-n-pray has detected and for which there is no driver. That is blocking the display adapter driver from loading. Uninstall the controller and then reinstall as a new display adapter the vmware svga driver.

Re networking, sharing files, samba, etc. . . . my systems are all on a LAN, one of the two with vmplayer uses wireless, there is also a printer, all hung off a router. For the wireless system, I found I could not simply specify NAT in the player; could not find the router's DHCP server. So I config'd vmplayer vmnet0 to wlan0, vmnet8 as NAT, and vmnet1 as host (same as wireline system except vmnet0 there is eth0). The wireless system needed to be assigned a static IP. With Samba installed, all the systems can see one another as normal (smb.conf is configured with "netbios-name = <system-name>" and "security = share").

Only -minor - hiccup I've got is that I had to change the vmx file in order for the CD device to be recognized but now when a CD is placed in the drive *both* Ubuntu and Windows open it. :)

So far all is working well. On my SuSE system I have Xen but have not played with it yet, anyone given that a try for comparison? Seems to me that virtualization is *the* ticket to putting Windows permanently in the back seat.
What static IP did you give the wireless system - because my system is also having problems with the wireless ath0 net.

edemark
December 19th, 2005, 02:35 PM
First of all i just wanted to say that this thread is really nice i could install winxp and everithing works fine but 3d graphics (i new it would not work, in advance)
It is really cool. I can only compare with qemu but vmware seems much more smooth than qemu and easyly connects usb devices.
Now I have a question. One of my friends lended me the install disks of his ibook g4. So my question is if it is possible to install os x on vmware and how to do so. And finally one more question how to install a linux inside vmplayer (i would like to try out some live cd-s etc.

thanks in advance

djjazzy
December 19th, 2005, 07:38 PM
Just to add my 2 cents worth, this howto worked Gr8! I have a Latitude C640 notebook with 512MB RAM and Breezy, I'm running a virtual XP Pro machine with all WindowsUpdates, Symnatec AV and M$ Office 2k3, Outlook running with E2k3 profile. Had to set "Ethernet" to "Bridged" to get connectivity, have sound and reasonably sized screen. Going to try Cisco VPN client next. Thanks to all that contributed :p

-Jeff

SHare
December 19th, 2005, 07:46 PM
ok, ive tried win2000 via CD, winXPhome via CD, WinXP Pro via CD, winXP Pro ISO, and DamnSmall Linux, everything stops and either powers off the virtual machine or just stops when it hits network detection.

WinXP (all) virtual machine powers off abruptly

Win2000 (workstation) hardware detection dialog stops when bar is full. can still move the window around, move the mouse, but buttons are greyed out and system doesnt proceed with install.

DamnSmall Linux (bootable CD) virtual machine powers off abruptly at network detection


Any help?
I'll be trying reinstalling vmware player later today, and doing the network differently.

I get the same, I have a RT2500 wireless card installed and when any win installation gets to hardware detection (usually network) it powers of the vm. Any help appreciated.



edit
Just disabled the ethernet in the .vmx file and its installing far far quicker this time, will report back.

Wombley
December 19th, 2005, 08:13 PM
I'm sorry but OS X won't work on vmware as it''s based on PowerPC, a completely different architechture to what vmware emulates (x86 - although I suppose it's possible it'll be able to in the future, as Apple is moving to x86). For now I think the only real option for this is PearPC (http://pearpc.sourceforge.net/), although I'm not sure how well it works.

You install linux the same way you install windows - see the rest of this thread. If you look at the bottom of the VMWare window as it's booting up you'll see options for going into the BIOS - you'd probably want to do this and change the boot order to cdrom first if you're trying out lots of live cds.


First of all i just wanted to say that this thread is really nice i could install winxp and everithing works fine but 3d graphics (i new it would not work, in advance)
It is really cool. I can only compare with qemu but vmware seems much more smooth than qemu and easyly connects usb devices.
Now I have a question. One of my friends lended me the install disks of his ibook g4. So my question is if it is possible to install os x on vmware and how to do so. And finally one more question how to install a linux inside vmplayer (i would like to try out some live cd-s etc.

thanks in advance

imagine
December 19th, 2005, 09:32 PM
Now I have a question. One of my friends lended me the install disks of his ibook g4. So my question is if it is possible to install os x on vmware and how to do so.
I'm sorry but OS X won't work on vmware as it''s based on PowerPC, a completely different architechture to what vmware emulates
To nitpick a bit: The reason why OS X won't work is because VMware is *no* emulator : ) It cannot emulate a processor which doesn't exist, it only creates virtual machines which can use the processor together at the same time. And with the upcoming virtualisation technologies Vanderpool (Intel) and Pacifica (AMD) this will get even better.

edemark
December 20th, 2005, 07:02 AM
That is really sad that i will not be able to try out os x. :) Thanks anyway and thanks again for the thread :) which i used to set up xp. I now see why vmware is so good to my cpu "as it is not an emulator" so i do not mind that much that os x shall wait and there are possibilities (future) with the qemu (which is an emulator).

So thanks again for the thoughts

pd i have not used wine for creating the image file qemu did the trick and just one more thing new qemu is out have a look and you might not have to download wine (at least for this reason)

anil_robo
December 21st, 2005, 07:37 AM
This is a great how-to, but unfortunately the main author has not updated the information he got from other users! I guess someone should take the initiative of writing a good, newbie-friendly how-to based on this one! Even someone like me should be able to trap windows XP in Ubuntu's cage so that it does not trouble me anymore (and still plays Diablo II) :)

Juzz
December 21st, 2005, 01:20 PM
I was able to use my wireless connection by using this option:

ethernet0.connectionType = "nat"

I hope that this will help other ppl who have woes about their wireless connection.
I think that using that option in the vmx file should be standard for all - as far as I can tell that option just utilizes the network that is available to the host machine.

dryandplain
December 23rd, 2005, 07:07 AM
This is a great how-to, but unfortunately the main author has not updated the information he got from other users! I guess someone should take the initiative of writing a good, newbie-friendly how-to based on this one! Even someone like me should be able to trap windows XP in Ubuntu's cage so that it does not trouble me anymore (and still plays Diablo II) :)
Sorry, I was actually discouraged that no one replied, only to return to a fifteen page post. If anyone would like to update with the various changes, I'll be happy to correct the original.

majkmil
December 25th, 2005, 12:14 AM
Can vmware tools be installed in vmplayer? I read a previos post that says you can but I could not quite understand. If someone could walk me through it I would appreciate it .I am runnig XP in vmplayer in Breezy. Thank You

BLTicklemonster
December 26th, 2005, 04:08 PM
Odd. I tried running it, and it said time had run out. So I just downloaded the new one (hey thread author, you might want to edit your first post to reflece the change to: VMware-player-1.0.1-19317.tar.gz ) and installed it and it works fine, didn't have to change anything.

Gooks
December 27th, 2005, 02:00 AM
Link is broken??

BLTicklemonster
December 27th, 2005, 05:10 AM
http://download3.vmware.com/software/vmplayer/VMware-player-1.0.1-19317.tar.gz


http://www.vmware.com/download/player/

Gooks
December 27th, 2005, 05:24 AM
No the link to the Window thing.. Does anybody have the Windows version of QEMU. So i can upload it to my webhost?

BLTicklemonster
December 27th, 2005, 06:57 AM
http://fabrice.bellard.free.fr/qemu/download.html ??? That? (google the word qemu)

Chris Tucker
December 28th, 2005, 01:18 AM
I was able to use my wireless connection by using this option:

ethernet0.connectionType = "nat"

I hope that this will help other ppl who have woes about their wireless connection.
I think that using that option in the vmx file should be standard for all - as far as I can tell that option just utilizes the network that is available to the host machine.


OMG!!
YEA!
That worked.. im soooo gratefull... now i can let relatives use real msn messenger and things.. off i go to install xp.. (only tried it with damnsmall linux so far, but that worked so seems like xp should work no prob)

BLTicklemonster
December 28th, 2005, 04:10 AM
And I guess you can't set up to run an entire hard drive in Vmware player, huh? Sure would be nice to run my slaved XP at the drop of a hat.

mdbarton
December 28th, 2005, 09:39 AM
I now get this message when loading a VM image:


This product has expired.
Be sure that your host machine's date and time are set correctly.
There is a more recent version available at the VMware Web site: "http://www.vmware.com/info?id=4".

Is this related to the image or to VMPlayer? Do I just follow the instructions on installing VMPlayer in this howto again?

Chris Tucker
December 28th, 2005, 01:55 PM
And I guess you can't set up to run an entire hard drive in Vmware player, huh? Sure would be nice to run my slaved XP at the drop of a hat.
move your .vmdk to the drive, resize to fit snugly (easy way to resize posted somewhere recently in this thread..) and give your .vmx the new path! done!
depending on the size of the drive and how tightly you made your vmdk fit it, i dont recommend moving your .nvram too.

Chris Tucker
December 28th, 2005, 01:59 PM
anyone up for fullscreen?
i havent finished googling yet but...
the vmware site shows how to set up a hotkey/hotkeycombo to switch between windowed and fullscreen, they mention it runs a lot faster in fullscreen, but they only show the WINDOWS way! using a config.ini in the docs and settings folder..

i'll keep fooling around and see if i get it, but if anyone beats me to it, please post the answer.. im on a laptop at 1280x800, and 1024x768 is even too large to view when i have my panels up and toolbar visable in vmware player..

mdbarton
December 29th, 2005, 09:04 AM
I now get this message when loading a VM image:


This product has expired.
Be sure that your host machine's date and time are set correctly.
There is a more recent version available at the VMware Web site: "http://www.vmware.com/info?id=4".

Is this related to the image or to VMPlayer? Do I just follow the instructions on installing VMPlayer in this howto again?

Seems that the beta versions of the player had an expiry date on them. Just downloaded the latest 1.0.1 tar file and ran the following:


tar xvzf VMware-player-1.0.1-19317.tar.gz
cd vmware-player-distrib
export CC=/usr/bin/gcc-3.4
./vmware-install.pl

BLTicklemonster
December 29th, 2005, 01:14 PM
move your .vmdk to the drive, resize to fit snugly (easy way to resize posted somewhere recently in this thread..) and give your .vmx the new path! done!
depending on the size of the drive and how tightly you made your vmdk fit it, i dont recommend moving your .nvram too.
No way! Cool! Now I wonder if it being ntfs will be a problem?

I'll check that out later, thanks!

jeffreyvergara.NET
December 29th, 2005, 08:30 PM
how do you install vmware tools? that windows.iso thing?

Chris Tucker
December 30th, 2005, 02:41 AM
mount it the same way you would your windows CD iso..

jeffreyvergara.NET
December 30th, 2005, 07:36 AM
thanks alot!
I just wish it support 3d rendering for 3d games Y_Y

Chris Tucker
December 30th, 2005, 03:51 PM
what really gets me.. is simple games that use DirectX even complain about no direct rendering in there, even with the 3D mods.. (error pops up at startup saying 3D device will start disconnected) yet when i reboot my computer into windows... they work! and yet there are no DRI drivers for my card in linux!!!! there should at least be a generic one that works. but nope, cant find that info ANYWHERE..
DRI is becoming really close to being the ONLY reason i still dualboot.. vmware can emulate anything i want to to in windows w/o 3d. and if i had DRI modules for my card for linux.. it'd do everything i want.. i suspect all the games i play on this notebook would run smooth in vmware, they arent real 3D games, they just complain about DRI. for real 3d games i run off to my fathers P4 with the nVidia GeForce 5200 FX :)

Chris Tucker
January 2nd, 2006, 04:41 PM
I set up VMware player on my fathers computer and just copied over the vmdk and settings file.. then i did the .vmx mod that allowed 3d accell, that computer can handel it. and glxinfo | grep direct shows that opengl sees the card right..
no popup saying that the 3d device is missing on virtual machine startup, tools off windows.iso are installed, but games complain about not having direct rendering... i tried reinstalling DirectX but no luck... what can i do? perhaps a simple OS reinstall on the virtual machine?

rjpa
January 2nd, 2006, 05:58 PM
Tired of installing Qemu just to create images? Well I have created some IDE images for you to use with the latest VMWare Player. Read the file below to find out how to get these disks:

http://vmware.datasys.dk/disks/readme.txt

Disks expands from 10 GB to 200 GB.

If you don't have a virtual machine yet, find/create one here:

http://vmware.datasys.dk

ed_d
January 3rd, 2006, 06:17 PM
This is great! Now, how can I point my vmware to a specific network card? I wan to have one win2k machine on one network, and another on another network. If I can get this done, well then Ill be the happiest camper around....

flight_master
January 5th, 2006, 03:45 AM
I just thought I'd say thanks - this tutorial helped me a lot. I'd also like to add my $0.02 :D

For those of you, who try to boot into a CD/DVD-ROM, and can't get VmPlayer to read from the drive, this is for you.

You'll most likely have at least one other CD-RW /DVD-RW, etc drive in your computer. You'll need to unplug the IDE cable (yes, that thing wide cable) from all other CD/DVD/Combo drives. For some reason, VMplayer reads the wrong drive. I even had this problem after trying to un-mount my CD-RW drive.


Regards,
Christian

Mizzou_Engineer
January 8th, 2006, 04:28 AM
How to get Linux QEMU to create the .vmdk file:

Install the Linux version of QEMU and issue the following command:

qemu-img create -f vmdk WindowsXPPro.vmdk 2G

It is the qemu-img command that creates the file. It works on my box!

encoe
January 9th, 2006, 05:18 PM
thank you for the great howto. got it work on the first try :D

linkunderscore
January 9th, 2006, 11:00 PM
http://www.escapeportal.net/upload/2006-01-09-165351_1280x1024_scrot.png

linkunderscore
January 9th, 2006, 11:18 PM
How do I start windows again the next time I want to use it? (after I restart or close the vmware window that it is in) What command do I use?

potrick
January 21st, 2006, 12:25 PM
Windows is installing. I don't know why I'm doing this at 6:30 in the morning, I guess I'm not really sleeping tonight. Oh well, fun night out with friends topped off with random linux fun.

otey
January 24th, 2006, 03:30 AM
Just in case somebody needs it... The VMware tools windows.iso file can be downloaded at http://public.planetmirror.com/pub/vmware/software/support/?fl=

Rouge8
January 25th, 2006, 03:35 AM
Is there anyway to make VMware detect my printer again?

It's a lexmark, and unfortunately the drivers don't work right for Linux, and I used ot have it working in VMware.

Did a clean install again, and now it isn't working.

Any advice?

hkl8324
January 25th, 2006, 09:23 PM
Why dont you just download the Vmware workstation trial version (30days trial)
Create a Virtual Machine, than dump the Vmware workstation and starting using Vmware player?

BLTicklemonster
January 25th, 2006, 10:03 PM
How do I start windows again the next time I want to use it? (after I restart or close the vmware window that it is in) What command do I use?

Open, in your /home/yourname/ directory, the folder that holds everything you just made (AWXP?) and find the *.vmx file, and double click it. If it acts wierd (tries to open in text editor) then right click, and open with "VMWARE PLAYER".

That ought to do it.

thava
January 25th, 2006, 10:46 PM
Hi guys

I try to install windows xp with sp2, with following this guide and its crash (Close the vmware window with installation) after network installations process in windows xp.

I also try installation from disc and with create a iso.
i used this Floppy Boot Install http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=55820EDB-5039-4955-BCB7-4FED408EA73F

any idea?

/ Thava

mistab1034
January 25th, 2006, 11:21 PM
All I did to get a Windows install to use in VMWare Player was download the VMWare Workstation and use the 30 free trial to create a Windows Virtual Machine. Once the machine is created you can open it with VMWare Player just fine.

thava
January 26th, 2006, 05:02 PM
Can anyone pls help me

Now i got install windows xp with vm-ware player.

i can go online with my windows xp.

My ubuntu ifconfig:

thava@abirami ~
$ ifconfig
eth0
Link encap:Ethernet HWaddr 00:0E:35:11:14:6F
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20e:35ff:fe11:146f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22581 errors:0 dropped:0 overruns:0 frame:0
TX packets:10928 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:71619893 (68.3 MiB) TX bytes:5519927 (5.2 MiB)
Interrupt:11 Base address:0x2000 Memory:d0001000-d0001fff

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:53082 errors:0 dropped:0 overruns:0 frame:0
TX packets:53082 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4820299 (4.5 MiB) TX bytes:4820299 (4.5 MiB)

vmnet1
Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:172.16.180.1 Bcast:172.16.180.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vmnet8
Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:

My windows ipconfig:
http://thavarajah.dk/file/images/winip.png

my vmx file:

#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "WindowsXPPro.vmdk"
memsize = "192"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "atapi-cdrom"
ide1:0.autodetect = "TRUE"
floppy0.startConnected = "False"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "Windows XP Pro"
guestOS = "winxppro"
nvram = "WindowsXPPro.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 66 1a 93 3c d2 20-cd f5 73 2c 13 45 d5 57"
uuid.bios = "56 4d 66 1a 93 3c d2 20-cd f5 73 2c 13 45 d5 57"
ethernet0.generatedAddress = "00:0c:29:45:d5:57"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = ""
tools.remindInstall = "TRUE"

ethernet0.connectionType = "nat"



can anyone tell me, why I can't go online with my windows?
thanks for reading!

/ Thava

RaptorRaider
January 28th, 2006, 02:45 PM
Shouldn't "Default Gateway" be "10.0.0.2"?

Link to screenshot in the startpost is dead BTW.

Pizza the Hutt
February 18th, 2006, 10:17 PM
I don't understand the following::confused:

With XP, you'll need some additional nonsense. Hunt down an appropriate set from Microsoft for your version of XP, and do the following:

Code:

apt-get install cabextract cabextract 'nameofarchive.exe' -d 'our working directory'




Please explain what I should hunt down an appropriate set of.

joumon
February 20th, 2006, 08:30 AM
Can anyone help me out of a trouble in installing vmplayer in breezy? I'm just following to install win xp pro on my toshiba a75 laptop, but I got the following error message repeatedly. I don't know what's wrong with it...I'm trying to find any article on the internet for a whole day, but I couldn't find any good resource...Any help would be appreciated.

----------<error message>---------
/usr/lib/vmware/bin/vmplayer: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
*** attempt to put segment in horiz list twice
Unable to continue without a UI.

-----------<log file> -----------------
Feb 20 00:25:28: vmx| Log for VMware Player pid=9415 version=1.0.1 build=build-19317 option=Release
Feb 20 00:25:28: vmx| Command line: "/usr/lib/vmware/bin/vmware-vmx" "-@" "pipe=/tmp/vmware-root/vmx48e6c60d58eed6a6;vm=48e6c60d58eed6a6" "/root/vmware/WindowsXPPro.vmx"
Feb 20 00:25:28: vmx| UI Connecting to pipe '/tmp/vmware-root/vmx48e6c60d58eed6a6' with user '(null)'
Feb 20 00:25:29: vmx| Using system libcrypto, version 90707F
Feb 20 00:25:29: vmx| pcpu #0 CPUID numEntries=5 GenuntelineI
Feb 20 00:25:29: vmx| pcpu #0 CPUID version=0xf34 id1.edx=0xbfebfbff id1.ecx=0x459d id1.ebx=0x20800
Feb 20 00:25:29: vmx| pcpu #0 CPUID id80.eax=80000008 id81.edx=0x0 id81.ecx=0x0
Feb 20 00:25:29: vmx| CPUID id1.edx: 0xbfebfbff id1.ecx: 0x459d id81.edx: 0 id81.ecx: 0
Feb 20 00:25:29: vmx| CPUID id88.ecx: 0 id88.edx: 0
Feb 20 00:25:29: vmx| Removing stale symlink /var/run/vmware/%2froot%2fvmware%2fWindowsXPPro%2evmx
Feb 20 00:25:29: vmx| Setup symlink /var/run/vmware/%2froot%2fvmware%2fWindowsXPPro%2evmx -> /var/run/vmware/root/9415
Feb 20 00:25:29: vmx| ACL_InitCapabilities: here 1 (bug 63252)
Feb 20 00:25:29: vmx| changing directory to /root/vmware/.
Feb 20 00:25:29: vmx| Config file: /root/vmware/WindowsXPPro.vmx
Feb 20 00:25:29: vmx| Unable to find WindowsXPPro.vmss. Setting vmState to NULL.
Feb 20 00:25:29: vmx| Unable to find WindowsXPPro.vmss. Setting vmState to NULL.
Feb 20 00:25:29: vmx| LOG failed to remove /root/vmware/vmware-2.log failed: No such file or directory
Feb 20 00:25:29: vmx| VMXVmdbCbVmVmxExecState: Exec state change requested to state poweredOn without reset
Feb 20 00:25:29: vmx| TOOLS delaying state change request to state 3
Feb 20 00:25:29: vmx| PowerOn
Feb 20 00:25:29: vmx| Host ACPI: can't find SRAT
Feb 20 00:25:29: vmx| DISKUTIL: Offline toolsVersion = 0
Feb 20 00:25:29: vmx| UPGRADE: VM is non-painful guest winXPPro: It is alright to upgrade HW with out-of-date tools
Feb 20 00:25:29: vmx| Msg_Hint: msg.upgrade.legacyVM (shown)
Feb 20 00:25:29: vmx| vmdbPipe_Streams: Couldn't read
Feb 20 00:25:29: vmx| *
Feb 20 00:25:29: vmx| * The UI terminated unexpectedly.
Feb 20 00:25:29: vmx| * If you file a bug or support request about this issue,
Feb 20 00:25:29: vmx| * please include log and core file(s) from the UI if
Feb 20 00:25:29: vmx| * available.
Feb 20 00:25:29: vmx| *
Feb 20 00:25:29: vmx| Unable to continue without a UI.
Feb 20 00:25:29: vmx| Backtrace:
Feb 20 00:25:29: vmx| Backtrace[0] 0xbfc48828 eip 0x805a500
Feb 20 00:25:29: vmx| Backtrace[1] 0xbfc48c48 eip 0x80bc23b
Feb 20 00:25:29: vmx| Backtrace[2] 0xbfc48d78 eip 0x81a8c16
Feb 20 00:25:29: vmx| Backtrace[3] 0xbfc48d88 eip 0x80ab46f
Feb 20 00:25:29: vmx| Backtrace[4] 0xbfc48f28 eip 0x8132060
Feb 20 00:25:29: vmx| Backtrace[5] 0xbfc48fa8 eip 0x81f0ecd
Feb 20 00:25:29: vmx| Backtrace[6] 0xbfc48fc8 eip 0x80669e9
Feb 20 00:25:29: vmx| Backtrace[7] 0xbfc49428 eip 0x806669e
Feb 20 00:25:29: vmx| Backtrace[8] 0xbfc49478 eip 0x8065d47
Feb 20 00:25:29: vmx| Backtrace[9] 0xbfc49498 eip 0x8065c29
Feb 20 00:25:29: vmx| Backtrace[10] 0xbfc494b8 eip 0x805578a
Feb 20 00:25:29: vmx| Backtrace[11] 0xbfc494c8 eip 0x805565b
Feb 20 00:25:29: vmx| Backtrace[12] 0xbfc494e8 eip 0x80b68a6
Feb 20 00:25:29: vmx| Backtrace[13] 0xbfc49548 eip 0x80b6b28
Feb 20 00:25:29: vmx| Backtrace[14] 0xbfc49588 eip 0x80b73a2
Feb 20 00:25:29: vmx| Backtrace[15] 0xbfc496e8 eip 0x805fc09
Feb 20 00:25:29: vmx| Backtrace[16] 0xbfc49708 eip 0x805fa0f
Feb 20 00:25:29: vmx| Backtrace[17] 0xbfc8db68 eip 0x81bc619

ifwntrends
February 20th, 2006, 11:53 AM
slight problem:

Error while opening virtual machine /home/ifwntrends/WindowsXPPro.vmdx/WindowsXPPro.vmx: "/home/ifwntrends/WindowsXPPro.vmdx/WindowsXPPro.vmx" is not a valid virtual machine configuration file.

i copied and pasted the directly to the file, any thoughts?

also, the boot disk i found for XP-Pro at http://www.microsoft.com/downloads/thankyou.aspx?familyId=55820EDB-5039-4955-BCB7-4FED408EA73F&displayLang=en&oRef=http%3a%2f%2fsupport.microsoft.com%2f%3fkbid% 3d310994
had 6 cdboot#.img's in it, is this correct?

ifwntrends
February 20th, 2006, 12:14 PM
scratch that last post it's opening it now, but now i get the error "File not found: WindowsXPPro.vmdk". this file was supposed to be created with the command "wine QemuInstall-0.7.2.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB" but i can't find it and i get the feeling it just wasn't created. any sugestions would be much appreciated.

yabbadabbadont
February 20th, 2006, 08:03 PM
I know that this thread has become very long, so I will post the correct disk image creation command again for easy access:
wine QemuInstall-0.7.2.exe create -f vmdk WindowsXPPro.vmdk 2G
Everything after the "2G" in the original post was the mistakenly included output of the real command I just listed.

I hope that helps.

Edit: There is a native breezy deb file for qemu 8 that eliminates the need to mess with wine. See the ubuntu wiki for details and a download link.

https://wiki.ubuntu.com/VMwarePlayerAndQemu

Garyu
February 24th, 2006, 02:10 PM
oh yes. the original howto was a bit messy, but with the following tips I got things to install easily from the CD. nice. not that I will use this at all, but I will install Ubuntu on my parents computer and then use this method to allow them to make an easy transition. :cool:

kamaaina
February 27th, 2006, 01:30 AM
Followed the instructions and everything worked fine. However, Windows seems to be halting at a certain point in the install process. VMware has been showing this screen for 8 hours. Getting the this screen only takes a few minutes. Is there any way I can diagnose this? Thanks!
http://img151.imageshack.us/img151/5075/screenshot9gy.png

GQed76
February 27th, 2006, 01:48 AM
i got that on a regular cd..the cd was dirty..i cleaned the cd and it worked

kamaaina
February 27th, 2006, 03:14 AM
I'm doing it off an ISO, I'll try recreating the ISO image. Thanks

WackToMack
March 5th, 2006, 11:34 AM
Hello everone! So, I followed this "How To" and everything ran smoothly. I have a few questions though:

1. Windows has detected my slave CDROM as the master... is there anyway to change this?

2. If/After changing my slave CDROM to slave again, how can I add my second CDROM device?

3. Can/Do I need to change the 192 default RAM size in order to run/play memory intensive programs?

4. Wait... I don't have a 4th...

Thanks in advance! :D

yabbadabbadont
March 5th, 2006, 11:13 PM
Hello everone! So, I followed this "How To" and everything ran smoothly. I have a few questions though:

1. Windows has detected my slave CDROM as the master... is there anyway to change this?

2. If/After changing my slave CDROM to slave again, how can I add my second CDROM device?

3. Can/Do I need to change the 192 default RAM size in order to run/play memory intensive programs?

4. Wait... I don't have a 4th...

Thanks in advance! :D
1|2)
ide0:0 -> primary ide controller, master device
ide0:1 -> primary ide controller, slave device
ide1:0 -> secondary ide controller, master device
ide1:1 -> secondary ide controller, slave device

Just adjust your cdrom entries accordingly.

3) It just depends on how much memory your system contains. The more you have the more you can let vmware use. Just be aware that you don't want to make more than 256MB available for a win98 image. Win98 and earlier can't handle more than 256MB. (I think the official line is 512MB, but I always ran into problems with more than 256MB installed) Win2k and WinXP have no such problems though. I have 768MB in my system and I let my Win2k image use 256MB, just as an example. I wouldn't have any trouble bumping it up to 384MB if it were needed. Remember though, that windows is going to have its own pagefile *inside* the virtual machine, just like it would if it were running normally.

I hope this helps.

WackToMack
March 5th, 2006, 11:29 PM
Yep! Thanks for the help, yabbadabbadont! :D

WackToMack
March 7th, 2006, 04:22 AM
OK, now what filename would I have to use for a second HDD?


ide0:1.present = "TRUE"
ide0:1.filename = "???"

yabbadabbadont
March 7th, 2006, 06:07 AM
Whatever name you used when you created the new vmdk file to use as the second hard drive.

Sirin
March 7th, 2006, 06:12 AM
One question, will this work with Windows OEM restore disks? I have one that came with my AcerPowerF2 that I purchased in 2004.

anil_robo
March 7th, 2006, 06:39 AM
One question, will this work with Windows OEM restore disks? I have one that came with my AcerPowerF2 that I purchased in 2004.

I don't think so. I had compaq recovery CDs which failed. The CD is designed in such a way that it will run only on a compaq computer!!! Anyway you can try yours and let us know!

meastp
March 7th, 2006, 05:08 PM
I had the same problem with Windows 2000, it was stuck on the same screen for ages and didn't move (I left it running overnight). I read somewhere that it was a problem with VMWare being too smart with it's USB detection, so I removed the lines about USB in the .vmx file and restarted the installation. It worked fine after that and I'm pretty sure that that was the actual problem. I still have USB support, VMWare just added some lines back to the .vmx.

Exactly what did you modify/remove in the .vmx-file? I'm having this problem with windows XP (installation, installing devices)...

EDIT: attached two screenshots... as you see, the text will change, but the actual install will not progress any further...

Goochi
March 9th, 2006, 05:39 PM
I had the same, just disable my USB device as VMWare was running and reset my virtual XP. Got past the devices thingy in just a few minutes.

meastp
March 10th, 2006, 09:35 AM
I had the same, just disable my USB device as VMWare was running and reset my virtual XP. Got past the devices thingy in just a few minutes.

Thanks! I got it working. However, if I turn on / mount my devices -before- I "turn on" windows, they won't be recognized.

AndyCooll
March 11th, 2006, 03:59 AM
Really looking forward to using this. However having a few problems getting going. When it comes to the stage of double-clicking on the .vmx to begin the XP install I get a permissions error message.


Error while opening virtual machine WindowsXPPro.vmx: Insufficient permissions to access the file

What, or whose permissons must I change to enable this to run? :-?

yabbadabbadont
March 11th, 2006, 04:08 AM
Make sure that *all* the files in the directory with your vmx file are owned by your user. Then make sure of the permissions too. Example
cd directorycontainingfiles
sudo chown youruserhere *
chmod 644 *
chmod 744 *.vmx

AndyCooll
March 11th, 2006, 08:39 PM
Thanks very much for taking the time to help.

I found that by following your instructions though I still wasn't able to open the file ...you did point me in the right direction. I solved it in the end by ensuring the owner of the files were me (as you were suggesting) and also that the files were in my group. Previously, both file owner and file group were root.

:cool:

briancrutin
March 11th, 2006, 10:02 PM
big help! thanks!:)

turtlefreak
March 19th, 2006, 04:27 PM
mine runs (Windows 2000) and tries to install but closes when it gets to the "installing network" part (this is the installer part after installing from the disk, just to clarify). Anyone else have this happen? How do i fix it?

Klejs
March 20th, 2006, 08:01 AM
Thanks for the great HOWTO!

bender unit
March 20th, 2006, 10:53 PM
Hey guys,

haven't had the time to read through the whole thread yet, so sorry if someone mentioned it already. But instead of using a text editor to create/modify your VMs by hand, you can just install the complete VMware version and use the main VMware program to create and edit the VMs. At least for me, the only thing the program won't do if it's not registered is actually running any VMs, but it can create and modify them without any problems. Now I find that a bit easier than messing around with text files.
Of course, buying VMware is still worth it's money, because it'll let you configure some aspects of your VMs while they are running (i.e. swapping the iso in the emulated cd rom drive). With just the player, you have to stop the VM completely, edit the config and start the VM again in order to have a different "cd rom" in your drive.

Anyways, have fun!

xx75
March 21st, 2006, 12:48 PM
Hi Community

I have just some how suprised myself by getting win xp to work, i have a not-so-slight computing handicap so i'm pretty pumped right now (and the crowd goes wild!). My only dilemma is, and I have skimmed through this thread for answers but if i am repeating something i apologise, it doesn't detect my cd burner and dvd burner. I was thinking of changing the .vmx file to suit a few others i have seen on the thread but don't really want to risk killing what i have so far achieved. Have I missed something?

Any help is greatly appreciated.

Thanks

xx75

Edit: Had a stab and got it working, thanks for looking anyway.

ynef
March 25th, 2006, 11:20 AM
Holy ****, thank you so much for including a working link to the tools ISO!

Now I don't need to worry about getting Photoshop up and running in wine anymore! :D

Petrush
April 2nd, 2006, 09:41 AM
removed usb mounting problem, since it was in dapper.

rts
April 2nd, 2006, 07:31 PM
Looking through this thread it seems nobody else ran into this, so here goes...

I have an ethernet port and a wireless card (on laptop). While installing, ethernet was unplugged, and wireless was connected.

When it asked me to about which interface to bridge, I tried both (eth0 and ra0)... what the hell... one for wireless, one for wired eh?

However, when it came time to starting up the vmware services it would hang my machine (a fairly fresh install of Breezy with VMware-player-1.0.1-19317.tar.gz), focing a hard reset. It would hang while tring to bring up the VMWare bridge for eth0.

Plugging in an ethernet cable and activating both interfaces at the same time got around that problem.

Now I'm on to the actual WinXP install.

PriceChild
April 8th, 2006, 01:24 PM
Hey, installed xp pro perfectly first time.

However, how can i get it onto the net? :S I'm using eciadsl to use my usb modem. Should i have bridged all the connections at the step it asked me to? or just the one?

Running Breezy, please help, ty Pricey

Rahu
April 8th, 2006, 09:29 PM
I also can't get an internet connection working in this. I kept all the network options at default during the install, but it won't connect :(

Jose Catre-Vandis
April 9th, 2006, 02:41 AM
Here's a link to the "windows.iso" that contains the VmWare Tools you might need to improve many aspects of using the VMPlayer


http://rapidshare.de/files/17538196/windows.iso.html

What do you do with it?

Edit the vmx file to point to this iso, then run your virtual machine.

Open up the CD contents in your Explorer/Nautilus/Whatever and find the setup file (this iso is for windows!)

Run the setup file and this will install Vmware tools

CornMaster
April 10th, 2006, 04:59 PM
I was going to write my own how to about this...but after a nasty lockup and loosing what I had written (and freezing during the config process) I decided I'd just post my addition.

Pretty much everything is the same, but instead of using qemu to create the images, and manually creating the vmx file, I went to www.easyvmx.com and created my own vmx and image file. Should save a lot of horsing around. :) Hope it helps someone.

Oh...make sure the CD ROM is in the drive before you start up the emulator (if you use a physical CD) or it will just die with no errors or anything.

Jose Catre-Vandis
April 10th, 2006, 11:01 PM
I was going to write my own how to about this...but after a nasty lockup and loosing what I had written (and freezing during the config process) I decided I'd just post my addition.

Pretty much everything is the same, but instead of using qemu to create the images, and manually creating the vmx file, I went to www.easyvmx.com and created my own vmx and image file. Should save a lot of horsing around. :) Hope it helps someone.

Oh...make sure the CD ROM is in the drive before you start up the emulator (if you use a physical CD) or it will just die with no errors or anything.


SPECTACULAR link Cornmaster :-)

CornMaster
April 11th, 2006, 01:01 AM
Yeah..that is a pretty sweet site. :)

I finally got everything configured, had to disable virtually all the emulated hardware to get Windows to install...and then it would still choke with the network when i tried to turn it on. I had to reconfig the player, and disable bridging and enable NAT. Although it complains...everything works. :)

Now..if only I could get my files from my real windows to my virtual windows....and of course...I still can't kill windows totally...still play a scatter game or two. :(

PriceChild
April 13th, 2006, 12:14 AM
Hey, installed xp pro perfectly first time.

However, how can i get it onto the net? :S I'm using eciadsl to use my usb modem. Should i have bridged all the connections at the step it asked me to? or just the one?

Running Breezy, please help, ty Pricey

Got it working :D

Just made a new image from easyvmx, used mostly default options and it decided to work this time :)

Go team :)

Muffe
April 20th, 2006, 03:09 PM
I have a broblem with installing Windows XP on the virtual machine. I load all the boot floppies, but when it's time to format the (virtual) hard drive, the windows installer tells me that it is not able to format the hard drive. It is the same with both FAT and NTFS, and quick and normal format.

Does anyone have any experiences with this issue? Thanks.

PriceChild
April 20th, 2006, 07:26 PM
If anyone's having problems with installing this kernel on a 2.6.16 kernel, then check the thread here:


http://ubuntuforums.org/showthread.php?t=163133&page=2

Jose Catre-Vandis
April 21st, 2006, 01:13 AM
Here's the rpm package needed to install the Vmware Tools in a Linux virtual machine, e.g. if you are running a linux distro inside VMware player. You will need all sorts of dependencies in the "inner distro" to make it work, -> make, gcc, kernel headers (the last two must match)


http://rapidshare.de/files/18532527/VMwareTools-5.5.1-19175.i386.rpm.html

@ 16mb

mschievano
April 26th, 2006, 09:06 AM
I follow all the step, but my try is blocked when I double-click on the file Win2000Pro.vmx
The player started and show me this message:


The disk /home/mschievano/win2000/Windows2000Pro.vmdk has one or more internal errors that
cannot be fixed. The only option is to restore from a backup copy of this disk.
Cannot open the disk '/home/mschievano/win2000/Windows2000Pro.vmdk' or one of the snapshot
disks it depends on.
Reason: The specified virtual disk needs repair.


I generate the vmdk with the command:


wine qemu-img.exe create -f vmdk Windows2000Pro.vmdk 2G


and this is my dir:


mschievano@ainex:~/win2000$ ls -la
totale 386450
drwxrwxrwx 2 root root 504 2006-04-25 22:54 .
drwxrwxrwx 41 mschievano mschievano 2256 2006-04-25 22:54 ..
-rwxrwxrwx 1 mschievano mschievano 1474560 1999-12-07 12:00 CDBOOT01.IMG
-rwxrwxrwx 1 mschievano mschievano 1474560 1999-12-07 12:00 CDBOOT02.IMG
-rwxrwxrwx 1 mschievano mschievano 1474560 1999-12-07 12:00 CDBOOT03.IMG
-rwxrwxrwx 1 mschievano mschievano 1474560 1999-12-07 12:00 CDBOOT04.IMG
-rw-r--r-- 1 mschievano mschievano 18021 2006-04-25 22:51 vmware-0.log
-rwxrwxrwx 1 mschievano mschievano 18019 2006-04-25 15:20 vmware-1.log
-rwxrwxrwx 1 mschievano mschievano 15909 2006-04-25 15:17 vmware-2.log
-rw-r--r-- 1 mschievano mschievano 18021 2006-04-25 22:54 vmware.log
-rwxrwxrwx 1 mschievano mschievano 389335040 2006-04-25 14:26 Windows2000Pro.iso
-rwxrwxrwx 1 mschievano mschievano 340096 2006-04-25 22:54 Windows2000Pro.vmdk
-rwxrwxrwx 1 mschievano mschievano 0 2006-04-25 14:28 Windows2000Pro.vmsd
-rwxrwxrwx 1 mschievano mschievano 3578 2006-04-25 15:20 Windows2000Pro.vmx
-rwxrwxrwx 1 mschievano mschievano 3578 2006-04-25 15:20 Windows2000Pro.vmx~


any idea :confused:

n8bounds
April 27th, 2006, 05:13 PM
This is awesome! It worked (XP Pro in Breezy)! (I followed Wombley's instructions on using the linux version of QEMU)

Screen shot:

http://ubuntuforums.org/attachment.php?attachmentid=8817&stc=1&d=1146154529

Thanks a trillian!

mschievano
April 27th, 2006, 08:42 PM
I follow all the step, but my try is blocked when I double-click on the file Win2000Pro.vmx
any idea :confused:

NOTE - RESOLVED:
Find it. Read this 2 topics!

1. how to install the virtual machine
https://wiki.ubuntu.com/VMwarePlayerAndQemu

2. how to install vmware tools
http://www.brandonhutchinson.com/Installing_VMware_Tools_with_VMware_Player.html

Nickoladze
April 29th, 2006, 07:55 AM
I installed VMWare Workstation and installed Windows XP Professional on VMWare.

My question is, how to I share files between my main OS and the guest OS?
When I installed VMWare Tools on Windows, it said my shared folder is at \\.host\Shared Folders\ or something like that, so I mapped drive letter Z to that folder. I can't find where that is at in my Linux filestructure, and Windows says I don't have write access to that folder.

mschievano
April 29th, 2006, 01:42 PM
I installed VMWare Workstation and installed Windows XP Professional on VMWare.

My question is, how to I share files between my main OS and the guest OS?
When I installed VMWare Tools on Windows, it said my shared folder is at \\.host\Shared Folders\ or something like that, so I mapped drive letter Z to that folder. I can't find where that is at in my Linux filestructure, and Windows says I don't have write access to that folder.

read my sintetys:
http://sistemist.wordpress.com/2006/04/26/install-a-virtual-machine-on-dapper-6xx/

Clazziquai
May 4th, 2006, 12:07 PM
Thanks a lot! Works great, except, is it normal for the part of the install where Windows detects and installs all your hardware to take a REALLY long time?

I've got that problem... it's been over an hour now stuck at "Installing Devices" when it looks like it's done.

I hope to get it installed soon enough :(

WillFerrellLuva
May 12th, 2006, 09:06 PM
Hi,

I am trying to set up windows xp pro. I followed the instructions, but I have a problem :(

After I go through all of the cdboot.img files it says windows has to restart. It restarts and then jumps in to the graphical installer. As soon as this happens I get an error message from the windows installer. The details of the error follow:


Error:
Installation Failed: D:\i386\asms. Error Message: The parameter is incorrect.

***

Fatal Error:
One of the components that Windows needs to continue could not be installed.

The parameter is incorrect.

***

Any ideas?

jnev
May 13th, 2006, 06:08 PM
awesome tutorial, thanks!! any way to resize the partition once you get it installed? I did only 2gb and I need close to 10 probably...

EDIT
and if it's not possible to resize, how can I delete the partition (since it's not a "real" partition I'm assuming)?

EDIT2
lol, sorry for all the edits, but I figure this is better than posting 3 in a row..

how can I make it so I can view other harddrives and partitions in my computer? as it is now I can only see the C drive. if I can get it to do that then I probably won't even need to resize because I'm already dual-booting with windows and all my necessary programs are already installed, and I could just link to them...

jnev
May 14th, 2006, 02:50 AM
ok scratch that question, I just made a new 6gb partition, which should be sufficient.

how can I get windows to see a cd though so I can install programs like photoshop?

MartinJ
May 14th, 2006, 11:41 AM
You will need to change the settings in your .vmx file.
I've copied the following from mine: (note: my cd drive is listed as /dev/hde, which is unusual I think. Your's might be /dev/hdc or /dev/cdrom (?))


ide1:0.present = "TRUE"
ide1:0.fileName = "/dev/hde"
ide1:0.deviceType = "cdrom-raw"
ide1:0.autodetect = "FALSE"

Hope that helps, or puts you on the right track.

jnev
May 14th, 2006, 04:18 PM
worked perfectly, thanks so much!!

and one last question: how can I view my other hard drives from windows? all it currently sees is its C drive...

thanks

MartinJ
May 14th, 2006, 10:28 PM
To do that I think you'll have to look at sharing your linux directories with samba and viewing them over the local network which the vmplayer sets up. Windows won't see any other hard drives because it's effectively running on a completely separate system, or so it thinks. The same goes for Ubuntu not recognising the .vmdk disk as an actual hard drive.

For transferring a few files I've used KDE's public file server taskbar applet. It lets you set up a simple server, for download only, on your local network. In Windows, I type in the local IP address and port number and it gives me a list of shared files to download.

Maybe you could share a hard drive using /dev/hda in the .vmx file but this creates a loop and I'm fairly sure it won't work, just thinking out loud. I'm not sure of any side effects either!

I'd investigate network shares.

jnev
May 15th, 2006, 05:12 AM
ok, I got it working. I had to setup samba to share some folders and then finally managed to get windows to see the folders (god I had setting up networking in Windows!!).

thanks for all the help!

korami
May 15th, 2006, 08:52 AM
ok, I got it working. I had to setup samba to share some folders and then finally managed to get windows to see the folders (god I had setting up networking in Windows!!).

thanks for all the help!

Hi jnev. Could you detail a bit pls how you did this. I also set up samba and shared a folder, but the wxp virtual machine doesn't see my ubuntu in the Network Neighbourhood. I'm using NAT btw (this way I can access the internet also through wxp).

jnev
May 15th, 2006, 03:04 PM
I set a password for samba using sudo smbpasswd -a 'username'. in windows I just went into my network places and the folders I was sharing were there. sorry I'm not much help, when it comes to networking I usually just rely on luck to get it to work ](*,)

lorenzo111
May 19th, 2006, 01:55 AM
Hey I sound like a broken record I know but have followed the directions vmware working perfectly, made my windows XP folder, installed wine, downloaded the link qemu and installed it via wine but when I give the command qemu it says command not found like the one guy posted on page 4 have the windows xp iso copied to the folder also would really like to know where i went wrong want this to work. I appreciate any help thanks

tuxcantfly
May 19th, 2006, 02:10 AM
folks, vmware server is now free. just fetch it from the official site

just use it, don't fool around with qemu and all to create the disk image

then again, if you're one of those open-source zealots who refuse to use anything non-GPL... well, you still have to do it the old way

lorenzo111
May 19th, 2006, 03:34 AM
ok got xp loaded but looked through all the links but cant get vmware tools need that and ill be gravy

korami
May 19th, 2006, 10:03 AM
folks, vmware server is now free. just fetch it from the official site

just use it, don't fool around with qemu and all to create the disk image

then again, if you're one of those open-source zealots who refuse to use anything non-GPL... well, you still have to do it the old way

What is the difference between VMWare Workstation and VMWare server? Are there any disadvantages (or why is it free)?

MartinJ
May 19th, 2006, 01:31 PM
ok got xp loaded but looked through all the links but cant get vmware tools need that and ill be gravy

Have you tried the solution on this post?:
http://www.ubuntuforums.org/showpost.php?p=573533&postcount=118

Or this link:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=920

Note: I didn't use these sources. I'm assuming these images are the correct vmtools installers.

lorenzo111
May 19th, 2006, 04:08 PM
Just to let everyone know I got it working just used the queimg command via the wine interface and copied it into my windowsxp folder. Then found alot of dead links for the vmware tools .iso but finally found one in here that works. loaded it into my virtual vmplayer cdrom installed all the goodies set my nic to NAt since I'm on wireless and everything is great only question I have left what is the best way to keep this working? I.E. when I do upgrades to ubuntu to ensure I dont break the dependices of it. Used past distros of it and it worked great until I upgraded somethings and bam it just died veryfrustating taking all the time to get it right and one update its all gone. I guess all in all should I just uninstall it prior to upgrading or what other course of action would you recommend to keep it always working

deathbyswiftwind
May 23rd, 2006, 12:11 AM
Could someone please help me. I am trying to get internet in winxp. When I configured vmplayer it detected it and said it set everything up fine but in xp I have no net at all.


EDIT: Nevermind Im stupid I figured it out. All I had to do was switch networking from bridged to nat and instantly it worked

Rob Lindsay
June 15th, 2006, 06:08 PM
Hi there,

Am fine with this until I get to the bit where you click on the floppy icon and eject.

I don't seem to hav a floppy icon. How do I load second and successive floppy images?

Thanks,

Rob

OrganicPanda
June 22nd, 2006, 02:17 PM
this worked well thank you all, although i feel a bit dirty doing this, rest assured it will only be to use photoshop .... although some of the people here sound like they should just use windows if they want fullscreen desktops / msn type things. the xp installer is like a small child, it craves attention... when its not in focus it stops .. lol

edit: i didnt need the tools package to adjust my res and colour depth which is weird but its probly best to install it anyway as ive seen a massive performance increase, see the attach for pre-tools screenshot (just to show off that it works) lol

edit 2: can anybody suggest a good way to make a menu item to run a certain virtual machine, at the command line:



sudo vmplayer /files/virtual/virtual_windowsxp/virtual_windowsxp.vmx


works but that no longer works if i put it in the menu (probably because it wants a password) , any help??

beatyou
June 22nd, 2006, 04:27 PM
Thanks. When I do that, I get
Non-System disk of disk error
Replace and press any key when ready.

Im not goiing to have to install it each time I try to use it am I?


VMWare is mounting your floppy images. This happened to me as well. I just disabled the floppy drive by clicking on its icon at the top of VMware and rebooted, it restarted and worked fine.

kloshar
June 22nd, 2006, 06:02 PM
I'd really like to know if it's possible to share files between virtual os (WinXP) and host os? (Linux)

jstueve
June 22nd, 2006, 06:03 PM
yes you can, through SMB/Samba file shares.

kloshar
June 22nd, 2006, 06:07 PM
Is there any howto on Ubuntu forum to install and configure samba?

Is it possible to share files over vmware server?