2007年1月30日 星期二

在 VMware Player 裡安裝自己想要的作業系統

參考:VMware Player with your own Ubuntu installation

主要步驟如下:

  1. 取得作業系統映像檔,如:FC-6-i386-DVD.iso
  2. 使用 qemu 提供的工具來建立所需要用到的 virtual disk,或是直接下載作者提供的 vmdk 檔案(有各式 size)。
  3. 依據自己的需求修改 vmx file,如 fedora.vmx:
  4. config.version = "8"
    virtualHW.version = "3"
    ide0:0.present = "TRUE"
    ide0:0.filename = "5g.vmdk"
    memsize = "256"
    MemAllowAutoScaleDown = "FALSE"
    ide1:0.present = "TRUE"

    #ide1:0.fileName = "auto detect"
    #ide1:0.deviceType = "cdrom-raw"

    ide1:0.fileName = "D:\Linux_Distro_Images\Fedora\FC-6-i386-DVD.iso"
    ide1:0.deviceType = "cdrom-image"

    ide1:0.autodetect = "TRUE"
    floppy0.present = "FALSE"
    ethernet0.present = "TRUE"
    usb.present = "FALSE"
    sound.present = "FALSE"
    sound.virtualDev = "es1371"
    displayName = "Fedora"
    guestOS = "Ubuntu"
    nvram = "Ubuntu.nvram"
    MemTrimRate = "-1"

    ide0:0.redo = ""
    ethernet0.addressType = "generated"
    uuid.location = "56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58"
    uuid.bios = "56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58"
    ethernet0.generatedAddress = "00:0c:29:7e:06:58"
    ethernet0.generatedAddressOffset = "0"

    tools.syncTime = "TRUE"
    ide1:0.startConnected = "TRUE"

    uuid.action = "create"

    checkpoint.vmState = ""

    ethernet0.connectionType = "nat
  5. 直接點擊 fedora.vmx file,VMware Player 便會自動執行,開始安裝 Fedora。

沒有留言: