Create Images

From HyperSecurity Wiki
Jump to: navigation, search

This how to guide will show you how to create VMware images using VMware Player.

  1. First, you need to have an ISO of the OS disk you want to install. In this guide, we will be using Linux to create the ISO image.
  2. Put in the OS Disk you wish to make an ISO image of into CD-ROM drive on any Linux machine.
  3. Then cd into the directory you wish to create the ISO image in
  4. Then type the following command on command line:
    • dd if=/dev/cdrom of=/tmp/imagename.iso bs=2k
  5. This will create an ISO image to use for creating a VMware image.
  6. Then, once you have done that, expand the OS.zip file you downloaded. A directory called “OS” should be created, and inside it there will be two files: OS.vmdk and OS.vmx. Switch to that directory and open up OS.vmx in your favourite text editor.
  7. The third line in that file is: memsize = “512″. Here you can set how many MBs of your RAM you would like VMware Player to take up when running your Operating System. It is set it to 512MB, which is default. Please change it to suit your needs.
  8. Edit the line:
    • ide1:0.fileName = “c:\image.iso”
  9. To the ISO file name and where your image.iso file we created in the previous step.
  10. If you want to change the name of your image's display, then edit the following line:
    • displayName = "Test OS"
  11. Now launch the VMware Player, and and point it to the OS.vmx file.
  12. This should start up the install process to create a new image.