I downloaded the VBox application (TOS 6.0.507). Created a Windows 11 virtual machine. But over time, I began to notice how the virtual machine file (.vdi) increases in size and does not decrease when deleting files on the virtual machine.
On the Internet, I found the SDelete utility with instructions on what to do. I performed the procedure in the virtual machine. But I encountered a problem running the procedure "vboxmanage modifymedium --compact /path/to/thedisk.vdi". In the SSH terminal (connection to TNAS), I get an error that "-bash: vboxmanage: command not found". As I understand, this is an incorrect command or it does not exist.
What should I do? How can I reduce the size of a virtual machine file with the "*.vdi" extension? Are there any instructions for use? Or tell me how to configure the virtual machine so that the file does not increase in size.
vboxmanage: command not found
- ellowsmile
- Posts: 7
- Joined: 20 Sep 2024, 01:17

Re: vboxmanage: command not found
I figured out what the problem is and where the vboxmanage file is (/usr/lib/virtualbox/VBoxManage)
But now when I start it I get an error
/usr/lib/virtualbox/VBoxManage: /lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /usr/lib/virtualbox/VBoxRT.so)
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
What am I doing wrong?
But now when I start it I get an error
/usr/lib/virtualbox/VBoxManage: /lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /usr/lib/virtualbox/VBoxRT.so)
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
What am I doing wrong?
F4-423
Re: vboxmanage: command not found
Thank you for your feedback. We will verify the issues you raised in the laboratory. Please be patient and wait for our response.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Re: vboxmanage: command not found
Hi!
To start VirtualBoxManage, navigate to the directory /usr/local/virtualbox/bin.
Then, in the terminal, enter ./vboxmanage to execute it.
Or write me private message in russian, I will try to help you.
- ellowsmile
- Posts: 7
- Joined: 20 Sep 2024, 01:17

Re: vboxmanage: command not found
Thank you. I solved the problem myself) Deleted the virtual machine and created a new one.
F4-423
