How-to: VMware player modification

VMware
Last week the free VMware player was released. It lets you run virtual machines, but not create them. [Faileas] contributed today’s how-to for creating your own virtual machines.

Programs required to carry out hack:

  1. Copy of VMware Player

  2. Browser appliance or another virtual machine(browser appliance is the smallest one, by size, and thus I am using that)

  3. Notepad or other text editor

  4. ISO image or CD/floppy of FreeDOS (I’m using the ripcord distribution) or MSDOS 7.1 would work as well, but i haven’t tried it yet.

  5. Replacement OS (must have SCSI HDD support)

Once you’ve downloaded the browser appliance or whatever image you intend to use, the first step is to open up and edit the browser-appliance.vmx file. I used notepad for this, though any text editor should do.

I’d reccomend changing the settings as needed, though these are what i suggest. Change the value of memsize to 64 from 256. For most operating systems this is sufficient and you can change this later as needed.

Part 1: Using an ISO
The image i am using has been setup to use the physical CD-Rom drive of my system. Not really desireable when you want to install from a downloaded ISO. While using daemontools, or a similar CD mounting program is an option, a more elegant method would be to use VMware player’s own ability to read ISOs.

At this point i suggest saving and making a copy of the browser-appliance.vmx file, since it might be desireable to use a physical CD-Rom drive at a later point of time.

To do this replace:
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"

with:
ide1:0.fileName = "C:targetcd.iso"
ide1:0.deviceType = "cdrom-image"

Where C:targetcd.iso is the location of the disk you intend to use. Once this is done, save the edited vmx file and run it.

Part 2: Removing the current OS

Now, at the startup screenstart screen
press escape and choose to boot from the CD drive at the next screen. If all goes well, you should be greeted by
boot
where you should choose to boot from CDrom. From there menu
choose to boot to the second option “FreeDOS ** FAT32. At the next screentoreto
pick the first option, to “boot with el toreto cd rom driver” (default)driver
and then the second option, to run FreeDOS from CD command prompt.

Now the fun part

Comments

  1. Icpic says:

    to 100

    I would use a Linux Live CD to clone a HDD personally, but you can try this program “PC Inspector Clone Maxx”
    http://www.snapfiles.com/get/pciclone.html

    Homepage is at:
    http://www.pcinspector.de/clone-maxx/uk/welcome.htm

  2. david luu says:

    How do you specify a floppy image for VMWare Player and what format should the image be in?

    I tried a FreeDOS image and some Win98 boot disk image from bootdisk.com (*.img) and tried this in the vmx file:

    floppy0.present=”true”
    floppy0.filename=”fdos1440.img”
    floppy0.deviceType = “floppy image”

    Also tried renaming to fdos1440.flp but in either case, VMWare player can’t load the floppy image. Am I missing something? Seems no one cares about floppy images these days, only ISO CD images.

  3. Gary s says:

    I was able to create a boot diskette via “Virtual Floppy Drive 2.1″ Refer to http://chitchat.at.infoseek.co.jp/vmware/vfd.html

    Add tto the VMX file:
    floppy0.present = “TRUE”
    floppy0.fileName = “BootDiskette.vfd”
    floppy0.fileType = “file”
    floppy0.startConnected = “TRUE”

  4. archmagi1 says:

    Thanks Guys! We deal a bit w/ virtualization at my job, and this was the next best thing to installing a Technet version of M$ Virtual PC. Got a XP sp2 install running great, and cant wait to get home and fill up that 10G partition with linux images instead of worrying with dual booting.

  5. xia says:

    ok, this is cool! Just started reading this topic but ended up creating a Junction Link (ref: http://www.rekenwonder.com/linkmagic.htm ) to another drive to map my “C:Program Files” folder. It was fun trying to get it working. Could not move some .dll files, so plugged the HDD to another computer and removed the .dll files and the remaining directories to make the “C:Program Files” empty and linkmagic did the magic and now I have my “C:Program Files” on a completely new HDD on a new partition making my computer load programs much faster than ever.
    Thanks a lot!

  6. Ravi says:

    I booted Fedora Core 4, but now do not have any network connectivity through my VMWare image.

    Anybody knows how to add networking to the image?

  7. MadNav says:

    I’m surprised there hasn’t been more posted here since VMware released free VMServer beta2 and anounced forever FREE .. plus the Appliance Competition never came up here .. ISOlinux has been too much fun with these beta test . I need a nickel for every distro I try .. I’d be rich :)
    Try FreeNAS as well .. loads of functionality for the really aggessive hypppper vvvm geeksster to dable wwith there .. I’m still suffering from no vmtools installed in my VMs as you typically will haaaave to re-compile your kernel to get reeeeal driver supportt innnstead of the haphazard standard/default settings that occur using non-standard builds.
    I am remotttte ddesktoping into a system using client console from VMMMServer uusing a SlaxSssserver5.1 distro and asside from tthe dddoublee typing thing thaat seems to happen periodically this is even better tthan GSX performancee and versaaaatiliity.
    Have fun all .. I’m going to sit at a reeal machine and play some free Americas Army Ops :) l8r

  8. hns says:

    How do I boot from a USB Disk that has Flashlinux installed on it – the USB disk is bootable – just hate restarting everytime to swap between XP and linux?

  9. samy says:

    when i install win xp sp2 ill get a error message that there is no hard disk selected ,… what to do how to install xp n one more thing i am not able to connect to internet when i run live lunix cds on vm as it always says unable to bridge or vm0 is down

  10. Hoovey says:

    this doesn’t work. When I hit escape it doesn’t go to the freedos menu. how can i get this to work?

  11. Jeffrey says:

    I wrote on my blog an easy way to get a VM up and running with windows as the guest, and got VMware Tools installed. It seems as if VMWARE player was coded to make use of the Tools very well. You’ll see what I mean if you install it right. I can drag and drop from VM to my desktop and share the clipboard amongst other numerous things. The site is http://kirkmeister.com/blog/index.php/2006/05/08/windows-2k-on-vmware-player/

    Basically you use VMXwizard to make the disks, a VMWare Workstation Eval version to extract the VMware Tools packages, comes as an .iso, and the VMware player to run the whole shebang. The article is pretty long so check it out for more info.

  12. gruffy says:

    Well done to many of you who got round using VMware Player. A great hack into vmx, but I’ve found a better solution.

    Try using the unofficial VMX Builder to create virtual machines in VMware Player. It gives additional configuration options that cannot be found even in Workstation. It is available at http://petruska.stardock.net/Software/VMware.html, where other VMware utilities, including Disk Mount and Virtual Diskfactory can be downloaded. To install all these, be sure to install all the core utilities, at the top page of that site.

    WARNING: Some software on site is still in beta. Use at your own risk!

  13. thewyzewun says:

    Another way of doing this is DLing Windows Virtual Server (which is free from Microsoft) creating your machines in that and then opening them with VMWare Player, which’ll convert them to it’s native format).

  14. blindhog says:

    I just created a video tutorial to create virtual machines for VMware Player using easyvmx.

    http://www.blindhog.net/virtualization-vmware-player-and-easyvmx-free-virtual-machines/

    Enjoy!

  15. Ilya.Rde says:

    Actually, you can use Microsoft Virtual PC 2007 to create a VM HDD and then use free VMWare converter to convert the VM :-)

  16. Ethical Hacker says:

    VMWare Workstation Trial can do everything on vm-images (even after expiration) but cannot run them, while VMWare Player can only run them.

    Use a combination of both. Create and edit virtual machines with VMWare Workstation Trial and run them using VMWare Player

  17. vokuheila says:

    use thinstall if you want portable vmware player. use vmware server to make the virtual machines

  18. Darryl says:

    I need to try bootable cd/dvd images(ISO)before burning to phsicak media.Can VMware player be used for this if yes how?Please guide!

  19. VMware ESX installtion says:

    Hi, I want to install VMware ESX 3.5, 4 in my desktop any one having any tool or clone please share the link.

  20. Troop says:

    Hey, is there an new way to make this VM live Disk?
    I’m having trouble gettin this job done. mostley i don’t know how to put the VMplayer install bootable; then create the ISO?
    If you ever have time… please get back at me?

  21. Heather says:

    “How-to: VMware player modification” was a
    incredibly pleasant posting, . Keep authoring and
    I’m going to continue reading through! Regards -Dwayne

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,278 other followers