Håvard Ose Nordstrand 1 年之前
父节点
当前提交
4a02afcde5
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      virt-cont/virtualbox.md

+ 8 - 2
virt-cont/virtualbox.md

@@ -8,14 +8,20 @@ breadcrumbs:
 libvirt is a tool for managing platform virtualization like KVM and QEMU (among others).
 libvirt is a tool for managing platform virtualization like KVM and QEMU (among others).
 I'll only focus on using it with KVM (and QEMU) here.
 I'll only focus on using it with KVM (and QEMU) here.
 
 
-## General
+## Installation
 
 
-- Requires Intel VT or AMD-V to be enabled to function optimally.
+## Arch Linux
+
+1. Enable Intel VT/AMD-V and other virtualization features in hypervisor's BIOS settings.
+1. Install stuff: `sudo pacman -S virtualbox virtualbox-host-modules-arch virtualbox-guest-iso`
+1. Enable extra network modules: Add `vboxnetadp` annd `vboxnetflt` as lines in `/etc/modules-load.d/vbox.conf`, then update initramfs with `mkinitcpio -P` (unknown if this is required).
+1. Give yourself extra permissions: `sudo usermod -aG vboxusers $(whoami)`
 
 
 ## Usage
 ## Usage
 
 
 ### Storage
 ### Storage
 
 
+- Generally use the VDI disk type, unless you need interoperability with other things.
 - Resize VM disk: `VBoxManage modifyhd <disk>.vdi --resize <size-in-MB>`
 - Resize VM disk: `VBoxManage modifyhd <disk>.vdi --resize <size-in-MB>`
 
 
 {% include footer.md %}
 {% include footer.md %}