Difference between revisions of "Create Images"

From HyperSecurity Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
 
This how to guide will show you how to create VMware images using VMware Player.
 
This how to guide will show you how to create VMware images using VMware Player.
  
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.
+
#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.
 
 
 
# Put in the OS Disk you wish to make an ISO image of into CD-ROM drive on any Linux machine.
 
# Put in the OS Disk you wish to make an ISO image of into CD-ROM drive on any Linux machine.
 
# Then cd into the directory you wish to create the ISO image in
 
# Then cd into the directory you wish to create the ISO image in
 
# Then type the following command on command line:
 
# Then type the following command on command line:
 
+
#*<pre>dd if=/dev/cdrom of=/tmp/imagename.iso bs=2k</pre>    
  dd if=/dev/cdrom of=/tmp/imagename.iso bs=2k   
+
#This will create an ISO image to use for creating a VMware image.
 
+
#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.
This will create an ISO image to use for creating a VMware image.
+
#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.
 
+
#Edit the line:
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.
+
#*<pre>ide1:0.fileName = “c:\image.iso”</pre>
 
+
#To the ISO file name and where your image.iso file we created in the previous step.
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.
+
#If you want to change the name of your image's display, then edit the following line:
 
+
#*<pre>displayName = "Test OS"</pre>
Edit the line:
+
#Now launch the VMware Player, and and point it to the OS.vmx file.
 
+
#This should start up the install process to create a new image.
ide1:0.fileName = “c:\image.iso”
 
 
 
To the ISO file name and where your image.iso file we created in the previous step.
 
 
 
If you want to change the name of your image's display, then edit the following line:
 
 
 
displayName = "Test OS"
 
 
 
Now launch the VMware Player, and and point it to the OS.vmx file.
 
 
 
This should start up the install process to create a new image.
 

Latest revision as of 19:04, 12 March 2006

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.