Using VMWare Player to make your own images

Discussion, tips and tricks for the different Windows flavors

Using VMWare Player to make your own images

Postby curlee » Mon Jul 10, 2006 11:18 pm

The concept is simple: use the boot menu to boot from cd and install any operatting system you want. The only problem is getting a virtual image to start with. There are two solutions: use an existing image file and reinstall over it or use a program like qemu to make your own. If you use qemu you are able to specify your own disk size.

Install QEMU
To create a disk image, run:
qemu-img create -f vmdk imagename.vmdk nG
where n is the size of the disk image you want to create

Here is an example config file to use to launch your image:
config.version = "8"
virtualHW.version = "4"
memsize = "512"
ide0:0.present = "TRUE"
ide0:0.fileName = "newvm.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "cdrom drive letter"
ide1:0.deviceType = "cdrom-raw"
floppy0.fileName = "/dev/fd0"
ethernet0.present = "TRUE"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayuName = "Test Machine"
guestOS = "otherlinux"

scsi0:0.redo = ""
ethernet0.addressType = "generated"

displayName = "DisplayName"

checkpoint.vmState = "test.vmss"

ide0:0.redo = ""



If you want to disable the floppy drive add this line:
floppy0.startConnected = "FALSE"

Mount your install iso or put our install disk in the drive and start your virtual machine. On boot press esc and select cdrom boot. Install as usual.
curlee
Site Admin
 
Posts: 49
Joined: Wed May 03, 2006 12:01 pm

Return to Windows

Who is online

Users browsing this forum: No registered users and 1 guest

cron