
Menu:
Links: |
I have been running a linux server for many years now. I have tried a few different flavors and I am trying out new ones all the time. Lately, I have been playing the .iso's in virtual machines. I have even run this server in a virtual machine and it runs well. I use a script for the .iso's that creates a vmware vmx file and runs it when you drag and drop an .iso onto it.
PlayISO.vbs script text follows just in case you are unable to download/run vbs files:
' How To Use:
' Drag and drop a bootable .iso image file onto this script.
' This script will write a vmx file and open it in VMware
' (the system default app) using the newly created file.
' This way, you can drop a bunch of .iso's into a directory and drag,drop them to open them up.
' I intended everything to be in the same directory, slight modifications could be made
' if this assumption is not adhered to.
Set objArgs = WScript.Arguments
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
myfulladdy = objArgs(0)
myfilename = myfile(myfulladdy)
mybasedir = mybase(myfulladdy)
mynewfilename = mybasedir & "PlayISO.vmx"
set myTextFile = fso.CreateTextFile(mynewfilename)
myTextFile.write("config.version = ""8""" & vbcrlf)
myTextFile.write("virtualHW.version = ""4""" & vbcrlf)
myTextFile.write("scsi0.present = ""TRUE""" & vbcrlf)
myTextFile.write("memsize = ""256""" & vbcrlf)
myTextFile.write("ide1:0.present = ""TRUE""" & vbcrlf)
myTextFile.write("#usb.present = ""TRUE""" & vbcrlf)
myTextFile.write("ide1:0.fileName = """ & myfilename & """" & vbcrlf)
myTextFile.write("ide1:0.deviceType = ""cdrom-image""" & vbcrlf)
myTextFile.write("Ethernet0.present = ""TRUE""" & vbcrlf)
myTextFile.write("displayName = ""xpud""" & vbcrlf)
myTextFile.write("guestOS = ""otherlinux""" & vbcrlf)
myTextFile.write("nvram = ""xpud.nvram""" & vbcrlf)
myTextFile.write("workingDir = "".""" & vbcrlf)
myTextFile.write("uuid.location = ""56 4d 8d 07 ba d6 44 28-44 68 a0 1b c5 7e 95 e4""" & vbcrlf)
myTextFile.write("uuid.bios = ""56 4d 8d 07 ba d6 44 28-44 68 a0 1b c5 7e 95 e4""" & vbcrlf)
myTextFile.write("Ethernet0.connectionType = ""nat""" & vbcrlf)
myTextFile.write("Ethernet0.addressType = ""generated""" & vbcrlf)
myTextFile.write("Ethernet0.generatedAddress = ""00:0c:29:7e:95:e4""" & vbcrlf)
myTextFile.write("Ethernet0.generatedAddressOffset = ""0""" & vbcrlf)
myTextFile.close
Set objShell = CreateObject("WScript.Shell")
objShell.Run("explorer" & " " & mynewfilename)
function myfile(strFullAddr)
mys = strreverse(strFullAddr)
myslashoffset = instr(mys,"\")
mys = mid(mys,1,myslashoffset -1)
mys = strreverse(mys)
myfile = mys
end function
function mybase(strFullAddr)
mys = strreverse(strFullAddr)
myslashoffset = instr(mys,"\")
mys = mid(mys,myslashoffset)
mys = strreverse(mys)
mybase = mys
end function
|