meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vm:virtualbox [2020/01/21 09:18] – virtualbox renamed to vm:virtualbox niziak | vm:virtualbox [2023/10/17 10:55] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Virtualbox ====== | ||
| + | |||
| ===== Issues ===== | ===== Issues ===== | ||
| + | |||
| + | ==== Discard machine " | ||
| + | |||
| + | <code bash> | ||
| + | VBoxManage list vms | ||
| + | VBoxManage discardstate aab57b2d-566b-4d63-bca1-2a8ae74cd213 | ||
| + | |||
| + | VBoxManage: error: The machine ' | ||
| + | VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), | ||
| + | VBoxManage: error: Context: " | ||
| + | |||
| + | rm / | ||
| + | </ | ||
| + | |||
| + | Edit .vbox file and remove '' | ||
| ==== Error -610 in supR3HardenedMainInitRuntime! ==== | ==== Error -610 in supR3HardenedMainInitRuntime! ==== | ||
| Line 20: | Line 37: | ||
| </ | </ | ||
| ===== Tips & Tricks ===== | ===== Tips & Tricks ===== | ||
| + | |||
| + | ==== Virtualization in VBox ==== | ||
| + | TAG: nested virtualization | ||
| + | VBox doesn' | ||
| + | |||
| + | |||
| + | ==== Boot from USB ==== | ||
| + | |||
| + | There is no option to boot from USB. You need to use helper bootloader. | ||
| + | Download [[https:// | ||
| + | |||
| ==== optimize for Intel ==== | ==== optimize for Intel ==== | ||
| Line 34: | Line 62: | ||
| === Systemd based way === | === Systemd based way === | ||
| + | == Classic way == | ||
| + | |||
| + | There is a script ''/ | ||
| + | Script is calling binary '' | ||
| + | Script is sourcing following configration files: | ||
| + | * ''/ | ||
| + | * ''/ | ||
| + | And using following variables: | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | systemctl enable vboxautostart-service.service | ||
| + | </ | ||
| + | |||
| + | |||
| + | == Single service per VM == | ||
| <file systemd etc/ | <file systemd etc/ | ||
| [Unit] | [Unit] | ||
| Line 45: | Line 91: | ||
| ExecStart=/ | ExecStart=/ | ||
| ExecStop=/ | ExecStop=/ | ||
| + | TimeoutSec=5min | ||
| + | TimeoutStopSec=5min | ||
| + | |||
| [Install] | [Install] | ||