# vmboxLinuxCmd **Repository Path**: nicehero/vmboxLinuxCmd ## Basic Information - **Project Name**: vmboxLinuxCmd - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-04 - **Last Updated**: 2021-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vmboxLinuxCmd ```shell dpkg -i virtualbox-6.1_6.1.30-148432~Ubuntu~xenial_amd64.deb apt install dkms wget https://download.virtualbox.org/virtualbox/6.1.30/Oracle_VM_VirtualBox_Extension_Pack-6.1.30.vbox-extpack VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.30.vbox-extpack VBoxManage internalcommands createrawvmdk -filename "rd.vmdk" -rawdisk /dev/sda1 -relative VBoxManage createvm --name freebsd --register VBoxManage modifyvm freebsd --ostype freebsd VBoxManage modifyvm freebsd --cpus 2 VBoxManage modifyvm freebsd --memory 2048 VBoxManage storagectl freebsd --name IDE --add ide --controller PIIX4 --bootable on VBoxManage storagectl freebsd --name SATA --add sata --controller IntelAhci --bootable on VBoxManage storageattach freebsd --storagectl SATA --port 0 --device 0 --type hdd --medium /cdrom/rd.vmdk VBoxManage storageattach freebsd --storagectl IDE --type dvddrive --port 1 --device 0 --medium /cdrom/FreeBSD-9.1-RELEASE-amd64-dvd1.iso VBoxManage modifyvm freebsd --boot1 dvd VBoxManage modifyvm freebsd --boot2 disk VBoxManage modifyvm freebsd --nic1 bridged --cableconnected1 on --nictype1 82540EM --bridgeadapter1 enp3s5 --intnet1 brigh1 --macaddress1 auto VBoxManage modifyvm freebsd --vrde on #VBoxManage modifyvm freebsd --vrde off VBoxHeadless -startvm freebsd& VBoxManage controlvm freebsd poweroff #VBoxManage startvm freebsd #VBoxManage storageattach freebsd --storagectl IDE --type dvddrive --port 1 --device 0 --medium emptydrive #VBoxManage controlvm freebsd vrde off netstat -anp|grep LIS ```