commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Command used to know if we are working on a virtual or physical machine. This command will use the dmidecode utility to retrieve hardware information of your computer via the BIOS. Run this command as root or with sudo.
volpedimongibello= virtual machine name
fighetto= controller name
tutto.iso= DVD iso image
How to remove the DVD:
VBoxManage storageattach "volpedimongibello" --storagectl "fighetto" --port 1 --device 0 --type dvddrive --medium none
VBoxManage internalcommands createrawvmdk -filename ~/.VBox_sdc.vmdk -rawdisk /dev/sdc
In order to start virtual box using block devices, ( Or to boot from it) run as ROOT
Then add & select the vmdk file as a device.
At last Start the virtual box.
- This cmd needs to run once for a device.
- See command 8936 to run with out using ROOT power and easy handling of Virtual m/c