Linux

Virtualization: VirtualBox

42 flashcards · answers and review in the app — launching soon

For desktop virtualization on Linux the guide leans toward VirtualBox, but the author personally still reaches for KVM even on the desktop. What two concrete pain points does KVM avoid that keep pulling him back?
VirtualBox is described as best suited for one specific style of virtualization rather than being a general-purpose hypervisor. Which use case is it aimed at, and what hard platform limit constrains where it runs?
VirtualBox is often assumed to be a purely Oracle product, but its ownership passed through several companies before landing there. Trace the lineage.
People sometimes call VirtualBox either fully open source or fully proprietary. Which claim is closer, and where exactly does the closed part live?
In virtualization terminology used throughout this chapter, what do the terms host and guest refer to?
Someone argues there's no point upgrading from VirtualBox 6.1 to 7.0 because the interface and features look basically identical. What do they miss about why staying current still matters?
The VirtualBox package name is not the same everywhere. On Fedora and openSUSE, what package do you actually install to get VirtualBox on the host?
Setting up a VirtualBox host, someone sees virtualbox-guest packages in their distro's repo and installs them alongside VirtualBox, thinking they're required. Why is that a mistake?
VirtualBox on Linux relies on kernel modules loaded into the host. Which three modules does it use, and what does the presence of the two networking ones tell you?
On some distros VirtualBox ships its kernel modules as source rather than prebuilt binaries. What breaks after every kernel update, and what mechanism is supposed to fix it automatically on Ubuntu vs Fedora?
After installing VirtualBox on Linux, what single command confirms the kernel modules actually compiled and loaded, and what should the output contain?
DKMS fails to rebuild the VirtualBox modules after a kernel update and VMs won't start. What can you run to recompile them by hand, and what build prerequisites must already be present?
You need USB 2/3 passthrough, PCI passthrough, webcam access, or RDP remote control of a VM. Which VirtualBox component adds these, and what's the catch on its licensing?
A freshly installed VirtualBox refuses to let a user access USB devices inside a VM, even though the Extension Pack is installed. What group membership is missing, and when must it be set?
On Windows, a VirtualBox VM fails to start with error VERR_NEM_VM_CREATE_FAILED. What's the usual root cause, and why is the old advice to disable Hyper-V now a bad idea?
You want to run a Linux VM on an Apple-silicon (M1/M2) Mac. Why is VirtualBox a poor choice there, and what free alternative does the guide point to?
Creating a VM for a brand-new distro that isn't in VirtualBox's Version dropdown, which generic type should you pick, and what architecture detail trips people up?
VirtualBox offers an Unattended Installation that fills in the OS install for you. Why does the guide advise against it, and what two problems does it leave you cleaning up?
When sizing a VM for a modern Linux distribution, what starting allocation of RAM, CPU cores, and disk does the guide suggest as a floor?
A VirtualBox VM refuses to start on Linux even though the kernel modules are loaded and VT-x is enabled in BIOS. What other class of software commonly blocks it, and why?
Inside a running VirtualBox VM your mouse and keyboard are captured by the guest. What key releases that focus by default, and what other role does that same key play?
You want to send a hard reset to a stuck VirtualBox guest, versus an orderly shutdown. Which Host-key shortcuts do each, and which one risks data loss?
A high-resolution VirtualBox guest shows graphics glitches. Before touching guest additions, what setting does the guide say to raise first, and what are the default and maximum?
Guest additions are pitched as improving host-guest interaction. Name the concrete things they enable that a plain guest install lacks.
The GUI file-manager launch of guest additions doesn't appear after inserting the CD image. What manual steps mount and run the installer, and what two components does it set up?
Guest-additions installation works out of the box on Ubuntu but fails on many other distros. What's typically missing, and what command retries the build once you've fixed it?
Installing Windows 11 as a VirtualBox guest, what minimum VirtualBox version is required, and why should you hold off on online registration for a while?
NAT is VirtualBox's default networking mode. It gives a guest internet access, yet two things people expect still don't work. What are they, and what IP scheme does NAT use?
You need a VirtualBox guest to be reachable from other machines on the LAN and to SSH both directions. Which networking mode delivers that, and what environment does it struggle in?
Contrast VirtualBox's host-only adapter with the internal network mode — what can talk to what in each?
A guest needs internet access AND the host must be able to SSH into it directly, without port forwarding. How does VirtualBox's multi-adapter support solve this, and can you change it live?
You're stuck on NAT networking but still need to SSH from host into a guest. How does port forwarding make that work, and what does the ssh command look like?
You enable bidirectional clipboard and drag-and-drop in a VM but drag-and-drop file copy keeps failing intermittently. What's the required precondition, and what's the honest caveat?
You want to hand a complete VM to a colleague on a different machine. What does File Export Appliance produce, and what two file types make up the result?
You just want to move a VM to another host you control, not package a portable appliance. What's the shortcut, and which file do you point VirtualBox at?
Contrast VirtualBox's Headless Start with Detachable Start — when would you pick each, and what can you do with a detachable VM that you can't with a headless one?
On a high-DPI host a VirtualBox window is far too small. What two ways can you scale the display, and what odd side effect does the runtime toggle have?
You want to script VirtualBox to pause every running VM when the CPU gets busy, then shut them all down cleanly later. Which command drives this, and what subcommands list, pause, and ACPI-shut a VM?
You need to grow a VirtualBox virtual disk but the GUI offers no such option. What's the actual procedure, and why is resizing the .vdi only half the job on a Linux guest?
After enlarging a Windows guest's .vdi with vboxmanage, the extra space still isn't usable inside Windows. What tool and sequence extends the Windows file system?
For dependable file exchange between host and VirtualBox guest, the guide favors shared folders over drag-and-drop. How do you set one up, and where do Linux vs Windows guests find it?
A USB stick won't attach to a VirtualBox guest. Beyond installing the Extension Pack, what four conditions must all hold for USB passthrough to work?
Virtualization: VirtualBox (Linux) · KnowCard