. .

Category: VirtualBox RSS feed for this category

Comments Off on Create VM thru CLI

Create VM thru CLI

Sample command to create a VM in VirtualBox. # list support OSTYPE VBoxManage list ostypes # create a new VM VBoxManage createvm –name Win7_64 –ostype Windows7_64 –basefolder /home/vbox/VirtualBox –register # modify the VM VBoxManage modifyvm “Win7_64” –memory 1024 –acpi on –boot1 dvd –nic1 bridged –bridgeadapter1 eth1 –vrde on –vrdeauthtype external –vrdeport 10081 –chipset ich9 –vram 128 –mouse usbtablet # Create raw disk VBoxManage internalcommands createrawvmdk -filename /home/vbox/VirtualBox/Win7_64/vm1.vmdk -rawdisk /dev/vlg1/vm1 # Attach a controller to the VM VBoxManage storagectl Win7_64 –name ‘SATA Controller’ –add sata –controller IntelAHCI –sataportcount 4 –bootable on VBoxManage storagectl Win7_64 –name ‘IDE Controller’ –add ide –controller PIIX4

Comments Off on VirtualBox headless authentication

VirtualBox headless authentication

By default, you could choose VRDE authentication as external to authenticate remote display connection request by using PAM. The default PAM service will be login, or you may: Create a new file named /etc/pam.d/vrdpauth In order to use a custom service you must either set the VRDP_AUTH_PAM_SERVICE environment variable (or recompile the library) Sample /etc/pam.d/vrdpauth auth required pam_unix.so account required pam_unix.so

Comments Off on VirtualBox building from source

VirtualBox building from source

This post guide you thru the installation of VirtualBox base on my experience on Slackware 13.37. Several extra packages are required to build the VirtualBox from source.