Home > WmWare > VMWare: file vmdk e vmx

VMWare: file vmdk e vmx

Questi file vengono usati per le virtualizzazioni di SO, con VMWare.

come file vmdk di partenza, usare questo:

VirtualHDD

o crearne uno nuovo.

come file VMX usare questo:

da ISO su CD

da ISO su HD

in sostanza, i file VMX, che lanceranno il SO virtuale, installato sull’HD virtuale *.vmdk, è così composto:

config.version = “8”
virtualHW.version = “4”

# Selected operating system for your virtual machine

guestOS = “winXPPro”

# displayName is your own name for the virtual machine

displayName = “Test OS”

# Number of virtual CPUs. Your virtual machine will not
# work if this number is higher than the number of your physical CPUs

numvcpus = “1”

# Memory size and other memory settings

memsize = “384”
MemAllowAutoScaleDown = “FALSE”
MemTrimRate = “-1”

# Unique ID for the virtual machine will be created

uuid.action = “create”

# Remind to install VMware Tools
# This setting has no effect in VMware Player

tools.remindInstall = “TRUE”

# Startup hints interfers with automatic startup of a virtual machine
# This setting has no effect in VMware Player

hints.hideAll = “TRUE”

# Enable time synchronization between computer
# and virtual machine

tools.syncTime = “TRUE”

# USB settings
# This config activates USB

usb.present = “TRUE”
usb.generic.autoconnect = “FALSE”

# First serial port, physical COM1 is available

serial0.present = “TRUE”
serial0.fileName = “Auto Detect”
serial0.autodetect = “TRUE”
serial0.hardwareFlowControl = “TRUE”

# Optional second serial port, physical COM2 is not available

serial1.present = “FALSE”

# First parallell port, physical LPT1 is available

parallel0.present = “TRUE”
parallel0.fileName = “Auto Detect”
parallel0.autodetect = “TRUE”
parallel0.bidirectional = “TRUE”

# Sound settings

sound.present = “TRUE”
sound.virtualdev = “es1371”

# Logging
# This config activates logging, and keeps last log

logging = “TRUE”
log.fileName = “My_Virtual_Machine.log”
log.append = “TRUE”
log.keepOld = “3”

# These settings decides interaction between your
# computer and the virtual machine

isolation.tools.hgfs.disable = “FALSE”
isolation.tools.dnd.disable = “FALSE”
isolation.tools.copy.enable = “TRUE”
isolation.tools.paste.enabled = “TRUE”

# First network interface card

ethernet0.present = “TRUE”
ethernet0.virtualDev = “vlance”
ethernet0.connectionType = “nat”
ethernet0.addressType = “generated”
ethernet0.generatedAddressOffset = “0”

# Settings for physical floppy drive

floppy0.present = “FALSE”

# Settings for physical CDROM drive

ide1:0.present = “TRUE”
ide1:0.deviceType = “cdrom-raw”
ide1:0.startConnected = “TRUE”
ide1:0.fileName = “auto detect”
ide1:0.autodetect = “TRUE”

# First IDE disk, size 4800Mb

ide0:0.present = “TRUE”
ide0:0.fileName = “guestOS.vmdk”
ide0:0.mode = “persistent”
ide0:0.startConnected = “TRUE”
ide0:0.writeThrough = “TRUE”

1. La voce MEMSIZE indica quanta memoria si vuole dedicare al Sistema Ospite.

Con 1GB di memoria, 384MB sono sufficienti.

2. ide0:0.fileName = “guestOS.vmdk

deve avere lo stesso nome del file vmdk che useremo com HD virtuale.

3. displayName = “Test OS”

indica il nome che VMWare mostrerà all’avvio del sistema ospite.

Per installare da una ISO presente su HD (nel caso non la si abbia già masterizzata su CD, si modificano solo le righe 4÷6:

al posto di:

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

si useranno:

ide1:0.present = “TRUE”
ide1:0.fileName = “C:\percorso_OSiso\OSiso.iso”
ide1:0.deviceType = “cdrom-image”

ovviamente nella seconda riga, bisogna fare attenzione ad indicare l’esatto percorso, e l’esatto nome del file ISO, che vogliamo installare.

Una volta installato il SO, nel file VMX ripristinare le righe

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

Categorie:WmWare Tag:
  1. alessio
    febbraio 16, 2012 alle 7:12 am

    salve. dovrei modificare questo (benedetto) file .vmx ed aggiungere qualche stringa comando, ma io non sono riuscito a trovarlo. ho controllato il documenti -> my virtual machine ma non cè questo file. cè ne uno che aprendolo con wordpad mi dà una lunga serie che sembra facciano parte di quello che io sto cercando ma prima di ogni stringa cè un seriale una data ed un orario e dopo un comando. io dovrei aggiungere o modificare questi comandi:
    monitor_control.virtual_rdtsc = “false”
    monitor_control.disable_directexec = “true”
    isolation.tools.getPtrLocation.disable = “FALSE”
    isolation.tools.setPtrLocation.disable = “FALSE”
    isolation.tools.setVersion.disable = “FALSE”
    isolation.tools.getVersion.disable = “FALSE”
    monitor_control.restrict_backdoor = “true”
    isolation.tools.vmdebug.disable = “FALSE”
    li posso aggiungere alla fine di tutto il testo o devo fare qualcos’altro?
    per favore ditemi come devo fare, grazie.

  2. febbraio 16, 2012 alle 9:36 am

    il forum è sempre d’aiuto:
    http://communities.vmware.com/message/1108303#1108303

    qui un ottimo reference:
    http://sanbarrow.com/vmx.html

    esempio della prima voce che vuoi inserire:
    http://sanbarrow.com/vmx/vmx-advanced.html#monitor_control

  3. settembre 19, 2012 alle 4:19 pm

    I like the helpful information you provide in your articles.

    I will bookmark your weblog and check again here frequently.
    I’m quite sure I will learn many new stuff right here! Good luck for the next!

  4. novembre 14, 2012 alle 10:32 pm

    Thanks for another magnificent article. Where else could anybody get
    that type of information in such a perfect way of writing?

    I’ve a presentation next week, and I am on the look for such information.

  5. novembre 17, 2012 alle 2:58 am

    Thanks for enabling me to achieve new thoughts about desktops.
    I also possess the belief that one of the best ways
    to help keep your laptop computer in leading condition has
    been a hard plastic-type material case, and also shell, which
    fits over the top of the computer. These types of protective
    gear are usually model targeted since they are
    made to fit perfectly over the natural outer shell.
    You can buy these directly from the owner, or through third party sources
    if they are for your notebook, however only a few laptop will have a spend on the market.
    Once more, thanks for your ideas.

  6. novembre 24, 2012 alle 2:07 pm

    Good day I am so happy I found your web site, I really found you by accident,
    while I was looking on Google for something else,
    Nonetheless I am here now and would just like to say
    many thanks for a remarkable post and a all round thrilling blog
    (I also love the theme/design), I don’t have time
    to look over it all at the moment but I have saved it and
    also added your RSS feeds, so when I have time I will
    be back to read a great deal more, Please do keep up the fantastic job.

  7. dicembre 3, 2012 alle 11:39 am

    I would like to get across my gratitude for your kind-heartedness giving support to individuals that must have assistance with
    in this field. Your personal commitment to passing the solution all-around ended up being pretty beneficial and have surely helped others just
    like me to arrive at their desired goals. Your insightful tutorial means much
    a person like me and even further to my colleagues. Many thanks; from everyone of us.

  8. febbraio 2, 2013 alle 7:12 am

    I am not certain where you’re getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thank you for wonderful information I was on the lookout for this information for my mission.

  9. marzo 1, 2013 alle 3:23 am

    I was recommended this web site by my cousin. I am no longer certain whether this post is written by way
    of him as no one else recognize such certain about my difficulty.
    You are wonderful! Thanks!

  10. ottobre 16, 2013 alle 10:08 am

    Quality content is the secret to interest the people to go to see the site,
    that’s what this site is providing.

  11. agosto 30, 2015 alle 9:14 am

    Thanks for finally writing about >VMWare: file vmdk e vmx | bancaldo™ <Liked it!

  1. gennaio 27, 2009 alle 6:38 pm
  2. giugno 24, 2015 alle 6:00 pm

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger cliccano Mi Piace per questo: