-
-
Save spxwnmc/a006b1b68fa61cd22948dd48d2d55abf to your computer and use it in GitHub Desktop.
Revisions
-
githubfoam revised this gist
Aug 18, 2021 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,11 @@ ========================================================================================================== problem: move/copy VM manually and run Cannot register the DVD image C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' with UUID {fc087cbc-df04-47b4-b42f-25f614463f78} already exists. fix: edit ".VBOX" file and remove entries between tags <DVDImages> </DVDImages> ========================================================================================================== problem: The virtual machine is being powered down, stuck fix: -
githubfoam revised this gist
Aug 13, 2021 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,9 +32,10 @@ sudo apt-get dist-upgrade -y -> Debian-based linux makes sure VirtualBox Guest A VBoxManage list runningvms -> Find running vm to box vagrant package --base xxxxx_1522057296984_52705 --output ubuntu1604.box --> Package running vm as vagrant box # Download an ISO image of VirtualBox Guest Additions http://download.virtualbox.org/virtualbox/ wget -c http://download.virtualbox.org/virtualbox/5.2.12/VBoxGuestAdditions_5.2.12.iso -O VBoxGuestAdditions_5.2.12.iso sudo mount -o loop VBoxGuestAdditions_5.2.12.iso /tmp/vbox sudo sh /mnt/VBoxLinuxAdditions.run lsmod | grep vboxguest -> verify vbox installation modinfo vboxguest -
githubfoam revised this gist
Jul 27, 2021 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,10 @@ ========================================================================================================== problem: The virtual machine is being powered down, stuck fix: >VBoxManage startvm vbox-docker-01 --type emergencystop ========================================================================================================== problem: 'VBoxManage' is not recognized as an internal or external command,operable program or batch file. fix: >set PATH=%PATH%;"C:\Program Files\Oracle\VirtualBox" -
githubfoam revised this gist
Jul 27, 2021 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,9 @@ ========================================================================================================== problem: 'VBoxManage' is not recognized as an internal or external command,operable program or batch file. fix: >set PATH=%PATH%;"C:\Program Files\Oracle\VirtualBox" ========================================================================================================== Download VirtualBox Extension Pack File > Preferences and select the Extensions tab. Click the add icon to install VirtualBox Extension Pack ========================================================================================================== -
githubfoam revised this gist
Jun 20, 2021 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ ========================================================================================================== Download VirtualBox Extension Pack File > Preferences and select the Extensions tab. Click the add icon to install VirtualBox Extension Pack ========================================================================================================== PS:for windows hosts add the C:\Program Files\Oracle\VirtualBox directory to your PATH -
githubfoam revised this gist
Jan 9, 2020 . 1 changed file with 55 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -76,7 +76,62 @@ vb.customize ["storagectl", :id, "--name", "controllernvme1", "--add", "pcie", " vb.customize ["storageattach", :id, "--storagectl", "controllernvme1", "--type", "hdd", "--medium", nvme_disk1, "--port", "0"] ========================================================================================================== #system buses/ controllers VBoxManage closemedium disk nvme_disk1.vdi --delete VBoxManage storagectl vbox-chroot-79 --remove --name disk1 VBoxManage list hdds | findstr nvme_controller_disk1 Location: C:\Users\veronica\nvme_disk1.vdi VBoxManage closemedium disk nvme_disk1.vdi --delete VBoxManage createmedium disk --filename nvme_controller_disk1 --format VDI --variant Fixed --size 4096 VBoxManage storagectl vbox-controller-81 --name system-bus-pcie --add pcie --controller "NVMe" --portcount 2 --bootable off --hostiocache on VBoxManage storageattach vbox-controller-81 --storagectl system-bus-pcie --type hdd --medium C:\Users\veronica\nvme_controller_disk1.vdi --port 0 VBoxManage createmedium disk --filename LSILogicSAS_controller_disk1 --format VDI --variant Fixed --size 4096 VBoxManage storagectl vbox-controller-81 --name system-bus-sas --add sas --controller "LSILogicSAS" --portcount 2 --bootable off --hostiocache on VBoxManage storageattach vbox-controller-81 --storagectl system-bus-sas --type hdd --medium C:\Users\veronica\LSILogicSAS_controller_disk1.vdi --port 0 VBoxManage createmedium disk --filename BusLogic_controller_disk1 --format VDI --variant Fixed --size 4096 VBoxManage storagectl vbox-controller-81 --name system-bus-scsi --add scsi --controller "BusLogic" --portcount 16 --bootable off --hostiocache on VBoxManage storageattach vbox-controller-81 --storagectl system-bus-scsi --type hdd --medium C:\Users\veronica\BusLogic_controller_disk1.vdi --port 1 "existing system bus" VBoxManage createmedium disk --filename LSILogic_controller_disk1 --format VDI --variant Fixed --size 4096 VBoxManage storageattach vbox-controller-81 --storagectl system-bus-scsi --type hdd --medium C:\Users\veronica\LSILogic_controller_disk1.vdi --port 0 "existing system bus" VBoxManage createmedium disk --filename IntelAhci_controller_disk1 --format VDI --variant Fixed --size 4096 VBoxManage storageattach vbox-controller-81 --storagectl ""SATA Controller" --type hdd --medium C:\Users\veronica\IntelAhci_controller_disk1.vdi --port 1 "existing system bus" VBoxManage createmedium disk --filename PIIX4_controller_disk1 --format VDI --variant Fixed --size 4096 VBoxManage storageattach vbox-controller-81 --storagectl "IDE Controller" --type hdd --medium C:\Users\veronica\PIIX4_controller_disk1.vdi --port 0 --device 0 --port 0,--device 0 primary master VBoxManage createmedium disk --filename PIIX4_controller_disk1 --format VDI --variant Fixed --size 1024 VBoxManage list hdds | findstr PIIX4_controller_disk1 Location: C:\users\veronica\PIIX4_controller_disk1.vdi VBoxManage storageattach vbox-chroot-79 --storagectl "IDE Controller" --type hdd --medium C:\users\veronica\PIIX4_controller_disk1.vdi --port 0 --device 0 --port 0,--device 0 primary master --port 1, --device 0 secondary master --port 1,--device 1 secondary slave --port 0,--device 1 secondary master VBoxManage storagectl vbox-controller-81 --name "SATA Controller" --add sata --controller "IntelAhci" --portcount 1 --bootable off --hostiocache on VBoxManage storagectl vbox-chroot-79 --name system-bus-scsi --add scsi --controller "LSILogic" --portcount 2 --bootable off --hostiocache on VBoxManage createmedium disk --filename LSILogic_controller_disk1 --format VDI --variant Fixed --size 1024 VBoxManage storageattach vbox-chroot-79 --storagectl system-bus-scsi --type hdd --medium C:\users\veronica\LSILogic_controller_disk1.vdi --port 0 VBoxManage storagectl vbox-chroot-79 --name system-bus-sas --add sas --controller "LSILogicSAS" --portcount 2 --bootable off --hostiocache on VBoxManage createmedium disk --filename LSILogicSAS_controller_disk1 --format VDI --variant Fixed --size 1024 VBoxManage storageattach vbox-chroot-79 --storagectl system-bus-sas --type hdd --medium C:\users\veronica\LSILogicSAS_controller_disk1.vdi --port 0 ========================================================================================================== -
githubfoam revised this gist
Jan 8, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -61,10 +61,10 @@ VBoxManage storagectl vbox-chroot-79 --remove --name disk1 >VBoxManage createmedium disk --filename nvme_controller_disk1 --format VDI --variant Fixed --size 1024 >VBoxManage list hdds | findstr nvme_controller_disk1 Location: C:\Users\veronica\nvme_disk1.vdi >VBoxManage closemedium disk nvme_disk1.vdi --delete >VBoxManage storagectl vbox-chroot-79 --name system-bus-pcie1 --add pcie --controller "NVMe" --portcount 1 --bootable off --hostiocache on >VBoxManage storageattach vbox-chroot-79 --storagectl system-bus-pcie1 --type hdd --medium C:\Users\veronica\nvme_controller_disk1.vdi --port 0 # command prompt style VBoxManage createmedium --name vbox-chroot-79 --filename nvme_disk1 --variant Fixed --size 1024 -
githubfoam revised this gist
Jan 8, 2020 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -74,6 +74,10 @@ VBoxManage storageattach vbox-chroot-79 --storagectl controllernvme1 --type hdd vb.customize ["createmedium", "--filename", nvme_disk1, "--variant", "Fixed", "--size", "1024"] vb.customize ["storagectl", :id, "--name", "controllernvme1", "--add", "pcie", "--controller", "NVMe", "--portcount", "2", "--bootable", "off", "--hostiocache", "on"] vb.customize ["storageattach", :id, "--storagectl", "controllernvme1", "--type", "hdd", "--medium", nvme_disk1, "--port", "0"] ========================================================================================================== #system buses/ controllers ========================================================================================================== VBoxManage: error: Cannot unregister the machine 'xx' while it is locked -
githubfoam revised this gist
Jan 7, 2020 . 1 changed file with 14 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -47,7 +47,7 @@ VBoxManage modifyvm vmid --name vmname VBoxManage storagectl vbox-chroot-79 --name disksata1 --add sata --hostiocache on VBoxManage storagectl vbox-chroot-79 --name diskscsi1 --add scsi --hostiocache on VBoxManage storagectl vbox-chroot-79 --name disksas1 --add sas --hostiocache on VBoxManage storagectl vbox-chroot-79 --name controller-pcie1 --add pcie --hostiocache on VBoxManage storagectl vbox-chroot-79 --name floppy1 --add floppy --hostiocache on VBoxManage storagectl vbox-chroot-79 --name usb1 --add usb --hostiocache on @@ -56,10 +56,20 @@ VBoxManage storagectl vbox-chroot-79 --name usb1 --add usb --hostiocache on >VBoxManage showmediuminfo disk 847f5e9c-e6e0-46d8-b826-868e7ea4fb4c >VBoxManage list hdds | findstr nvme_disk1 VBoxManage closemedium disk nvme_disk1.vdi --delete VBoxManage storagectl vbox-chroot-79 --remove --name disk1 >VBoxManage createmedium disk --filename nvme_controller_disk1 --format VDI --variant Fixed --size 1024 >VBoxManage list hdds | findstr nvme_controller_disk1 Location: C:\Users\verona\nvme_disk1.vdi >VBoxManage closemedium disk nvme_disk1.vdi --delete >VBoxManage storagectl vbox-chroot-79 --name system-bus-pcie1 --add pcie --controller "NVMe" --portcount 1 --bootable off --hostiocache on >VBoxManage storageattach vbox-chroot-79 --storagectl system-bus-pcie1 --type hdd --medium C:\Users\verona\nvme_controller_disk1.vdi --port 0 # command prompt style VBoxManage createmedium --name vbox-chroot-79 --filename nvme_disk1 --variant Fixed --size 1024 VBoxManage storagectl vbox-chroot-79 --name controllernvme1 --add pcie --controller "NVMe" --portcount 1 --bootable off --hostiocache on VBoxManage storageattach vbox-chroot-79 --storagectl controllernvme1 --type hdd --medium nvme_disk1 --port 0 # vagrantfile style vb.customize ["createmedium", "--filename", nvme_disk1, "--variant", "Fixed", "--size", "1024"] vb.customize ["storagectl", :id, "--name", "controllernvme1", "--add", "pcie", "--controller", "NVMe", "--portcount", "2", "--bootable", "off", "--hostiocache", "on"] -
githubfoam revised this gist
Jan 7, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,7 @@ modinfo vboxguest #verify that Guest Additions are installed successfully lsmod | grep vbox ========================================================================================================== https://www.virtualbox.org/manual/ #troubleshooting -
githubfoam revised this gist
Jan 7, 2020 . 1 changed file with 28 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,7 +37,34 @@ VBoxManage showvminfo vmid VBoxManage showvminfo vmname | more VBoxManage unregistervm --delete vmid VBoxManage modifyvm vmid --name vmname ========================================================================================================== #https://www.virtualbox.org/manual/ch08.html#vboxmanage-storagectl >VBoxManage storagectl vbox-chroot-79 --name disk1 --add sata >VBoxManage storagectl vbox-chroot-79 --remove --name disk1 >VBoxManage showvminfo vbox-chroot-79 --details | findstr Storage VBoxManage storagectl vbox-chroot-79 --name disksata1 --add sata --hostiocache on VBoxManage storagectl vbox-chroot-79 --name diskscsi1 --add scsi --hostiocache on VBoxManage storagectl vbox-chroot-79 --name disksas1 --add sas --hostiocache on VBoxManage storagectl vbox-chroot-79 --name diskpcie1 --add pcie --hostiocache on VBoxManage storagectl vbox-chroot-79 --name floppy1 --add floppy --hostiocache on VBoxManage storagectl vbox-chroot-79 --name usb1 --add usb --hostiocache on >VBoxManage closemedium disk nvme_disk1.vdi --delete >VBoxManage createmedium --name vbox-chroot-79 --filename nvme_disk1 --variant Fixed --size 1024 >VBoxManage showmediuminfo disk 847f5e9c-e6e0-46d8-b826-868e7ea4fb4c >VBoxManage list hdds | findstr nvme_disk1 # command prompt style >VBoxManage createmedium --name vbox-chroot-79 --filename nvme_disk1 --variant Fixed --size 1024 >VBoxManage storagectl vbox-chroot-79 --name controllernvme1 --add pcie --controller "NVMe" --portcount 1 --bootable off --hostiocache on >VBoxManage storageattach vbox-chroot-79 --storagectl controllernvme1 --type hdd --medium nvme_disk1 --port 0 # vagrantfile style vb.customize ["createmedium", "--filename", nvme_disk1, "--variant", "Fixed", "--size", "1024"] vb.customize ["storagectl", :id, "--name", "controllernvme1", "--add", "pcie", "--controller", "NVMe", "--portcount", "2", "--bootable", "off", "--hostiocache", "on"] vb.customize ["storageattach", :id, "--storagectl", "controllernvme1", "--type", "hdd", "--medium", nvme_disk1, "--port", "0"] ========================================================================================================== VBoxManage: error: Cannot unregister the machine 'xx' while it is locked sudo VBoxManage controlvm 'xx' poweroff -
githubfoam revised this gist
Jan 7, 2020 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,12 +27,17 @@ modinfo vboxguest #verify that Guest Additions are installed successfully lsmod | grep vbox ---------------------------------------------------------------------------------------------------------- https://www.virtualbox.org/manual/ #troubleshooting VBoxManage list vms | awk '{print $2;}' VBoxManage list runningvms | awk '{print $2;}' VBoxManage showvminfo vmid VBoxManage showvminfo vmname | more VBoxManage unregistervm --delete vmid VBoxManage modifyvm vmid --name vmname ---------------------------------------------------------------------------------------------------------- VBoxManage: error: Cannot unregister the machine 'xx' while it is locked sudo VBoxManage controlvm 'xx' poweroff @@ -108,6 +113,3 @@ create a closed network VirtualBox > Preferences > Network tab > add a new network ------------------------------------------------------------------------------------------ -
githubfoam revised this gist
Dec 16, 2019 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -108,3 +108,6 @@ create a closed network VirtualBox > Preferences > Network tab > add a new network ------------------------------------------------------------------------------------------ >VBoxManage list runningvms "vbox-suricata-78" {76af1624-c640-4792-9112-d2445fd3910b} >VBoxManage showvminfo 76af1624-c640-4792-9112-d2445fd3910b | more -
githubfoam revised this gist
Oct 25, 2019 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -103,5 +103,8 @@ vboxvideo 40960 1 ttm 98304 1 vboxvideo drm_kms_helper 155648 1 vboxvideo drm 364544 4 ttm,drm_kms_helper,vboxvideo ------------------------------------------------------------------------------------------ create a closed network VirtualBox > Preferences > Network tab > add a new network ------------------------------------------------------------------------------------------ -
githubfoam revised this gist
Sep 18, 2019 . 1 changed file with 40 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,8 @@ sudo mount -o loop VBoxGuestAdditions_5.2.12.iso /tmp/vbox lsmod | grep vboxguest -> verify vbox installation modinfo vboxguest #verify that Guest Additions are installed successfully lsmod | grep vbox #troubleshooting VBoxManage list vms | awk '{print $2;}' @@ -65,4 +67,41 @@ VBoxManage list hostonlyifs # Add/Remove an eighth NIC of hostonly networking to a existing VM, one-liner VBoxManage modifyvm "control-machine" --nic8 hostonly --hostonlyadapter8 vboxnetX VBoxManage modifyvm "control-machine" --nic9 none ------------------------------------------------------------------------------------------ Windows Host >vboxmanage --version 6.0.12r133076 ISO download VirtualBox Guest Additions for Linux http://download.virtualbox.org/virtualbox/ Vbox Guest $ wget http://download.virtualbox.org/virtualbox/6.0.12/VBoxGuestAdditions_6.0.12.iso $ sudo mount -o loop,ro VBoxGuestAdditions_6.0.12.iso /mnt $ sudo sh /mnt/VBoxLinuxAdditions.run --nox11 reboot $ lsmod | grep vboxguest vboxguest 331776 1 $ modinfo vboxguest filename: /lib/modules/4.4.0-131-generic/misc/vboxguest.ko version: 6.0.12 r133076 license: GPL description: Oracle VM VirtualBox Guest Additions for Linux Module author: Oracle Corporation srcversion: 72B364F5735D30373E34B7F alias: pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i* depends: retpoline: Y vermagic: 4.4.0-131-generic SMP mod_unload modversions retpoline $ lsmod | grep vbox vboxguest 331776 1 vboxvideo 40960 1 ttm 98304 1 vboxvideo drm_kms_helper 155648 1 vboxvideo drm 364544 4 ttm,drm_kms_helper,vboxvideo ------------------------------------------------------------------------------------------ -
githubfoam revised this gist
May 28, 2019 . 1 changed file with 26 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,3 +40,29 @@ sudo VBoxManage startvm 'xx' --type emergencystop rm -fr ~/"VirtualBox VMs/NAMEOFVM" -> delete it manually ps -ef | grep -i virtualbox # Remove "VirtualBox Host-Only Ethernet Adapter" windows 10 Device Manager -> Network Adapter -> right click -> uninstall device # Remove "VirtualBox Host-Only Ethernet Adapter" windows 10, no GUI VBoxManage list -l hostonlyifs vboxmanage hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #15" 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% # Create/Remove "VirtualBox Host-Only Ethernet Adapter" windows 10 VBoxManage list hostonlyifs VBoxManage hostonlyif ipconfig "VirtualBox Host-Only Ethernet Adapter" --ip 192.168.45.24 --netmask 255.255.255.0 vboxmanage hostonlyif remove "VirtualBox Host-Only Ethernet Adapter" VBoxManage list hostonlyifs # Add/Remove an eighth NIC of hostonly networking to a existing VM >VBoxManage list vms "control-machine" {bbf0048b-57ad-4be6-9985-a8e06ffe7737} >VBoxManage modifyvm "control-machine" --hostonlyadapter8 vboxnetX >VBoxManage modifyvm "control-machine" --nic8 hostonly >VBoxManage modifyvm "control-machine" --nic5 none # Add/Remove an eighth NIC of hostonly networking to a existing VM, one-liner VBoxManage modifyvm "control-machine" --nic8 hostonly --hostonlyadapter8 vboxnetX VBoxManage modifyvm "control-machine" --nic9 none -
githubfoam revised this gist
Feb 1, 2019 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,13 @@ PS:for windows hosts add the C:\Program Files\Oracle\VirtualBox directory to your PATH # sharing folders bidirectional virtualbox # host:windows guest:linux Devices -> Shared Folders -> Shared Folders Settings -> Add (plus sign) -> Transient Folders -> Automount # add user into vboxsf group $ sudo usermod -a -G vboxsf sanchez $ sudo grep vboxsf /etc/group vboxsf:x:999:sanchez "VBoxManage" command is different from "sudo VBoxManage" command -
githubfoam revised this gist
Feb 1, 2019 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,10 @@ PS:for windows hosts add the C:\Program Files\Oracle\VirtualBox directory to your PATH # host:windows guest:linux # sharing folders bidirectional Devices -> Shared Folders -> Shared Folders Settings -> Add (plus sign) -> Transient Folders -> Automount "VBoxManage" command is different from "sudo VBoxManage" command VBoxManage --version -
githubfoam revised this gist
Feb 1, 2019 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ PS:for windows hosts add the C:\Program Files\Oracle\VirtualBox directory to your PATH "VBoxManage" command is different from "sudo VBoxManage" command VBoxManage --version -
githubfoam revised this gist
May 22, 2018 . 1 changed file with 24 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,31 @@ "VBoxManage" command is different from "sudo VBoxManage" command VBoxManage --version sudo apt-get dist-upgrade -y -> Debian-based linux makes sure VirtualBox Guest Additions is installed VBoxManage list runningvms -> Find running vm to box vagrant package --base xxxxx_1522057296984_52705 --output ubuntu1604.box --> Package running vm as vagrant box # Download an ISO image of VirtualBox Guest Additions wget http://download.virtualbox.org/virtualbox/5.2.12/VBoxGuestAdditions_5.2.12.iso sudo mount -o loop VBoxGuestAdditions_5.2.12.iso /tmp/vbox lsmod | grep vboxguest -> verify vbox installation modinfo vboxguest #troubleshooting VBoxManage list vms | awk '{print $2;}' VBoxManage list runningvms | awk '{print $2;}' VBoxManage showvminfo vmid VBoxManage unregistervm --delete vmid VBoxManage modifyvm vmid --name vmname VBoxManage: error: Cannot unregister the machine 'xx' while it is locked sudo VBoxManage controlvm 'xx' poweroff VBoxManage: error: The machine 'xx' is already locked for a session (or being unlocked) sudo VBoxManage startvm 'xx' --type emergencystop rm -fr ~/"VirtualBox VMs/NAMEOFVM" -> delete it manually ps -ef | grep -i virtualbox -
githubfoam renamed this gist
May 17, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
githubfoam revised this gist
May 17, 2018 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,8 @@ VBoxManage: error: Cannot unregister the machine 'xxx_client_1521724886764_26739' while it is locked VBoxManage controlvm xxx_client_1521724886764_26739 poweroff sudo apt-get dist-upgrade -y -> Debian-based linux makes sure VirtualBox Guest Additions is installed # Download an ISO image of VirtualBox Guest Additions wget http://download.virtualbox.org/virtualbox/5.2.12/VBoxGuestAdditions_5.2.12.iso sudo mount -o loop VBoxGuestAdditions_5.2.12.iso /tmp/vbox -
githubfoam revised this gist
Apr 11, 2018 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ "VBoxManage" command is different from "sudo VBoxManage" command VBoxManage: error: Cannot unregister the machine 'xxx_client_1521724886764_26739' while it is locked VBoxManage controlvm xxx_client_1521724886764_26739 poweroff sudo apt-get dist-upgrade -y -> Debian-based linux makes sure VirtualBox Guest Additions is installed -
githubfoam created this gist
Apr 3, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ "VBoxManage" command is different from "sudo VBoxManage" command VBoxManage: error: Cannot unregister the machine 'xxx_client_1521724886764_26739' while it is locked VBoxManage controlvm xxx_client_1521724886764_26739 poweroff