improved formatting
This commit is contained in:
@@ -1,21 +1,21 @@
|
|||||||
# VirtualBox
|
# VirtualBox
|
||||||
|
|
||||||
## Alternative
|
# Alternative
|
||||||
|
|
||||||
If the situation doesn't specifically require VirtualBox and you can use any Hypervisior, I strongly suggest using [Virtual Machine Manager](VirtualMachineManager.md) (virt-manager); as it uses KVM, which has support built into the kernel, which means a much simpler install for some distributions and less potential for issues.
|
If the situation doesn't specifically require VirtualBox and you can use any Hypervisior, I strongly suggest using [Virtual Machine Manager](VirtualMachineManager.md) (virt-manager); as it uses KVM, which has support built into the kernel, which means a much simpler install for some distributions and less potential for issues.
|
||||||
|
|
||||||
## Install
|
# Install
|
||||||
|
|
||||||
Note: After install a reboot may be required.
|
Note: After install a reboot may be required.
|
||||||
Most distributions package it in their repositories and can be installed as such:
|
Most distributions package it in their repositories and can be installed as such:
|
||||||
|
|
||||||
### Arch-based
|
## Arch-based
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pacman -S virtualbox
|
sudo pacman -S virtualbox
|
||||||
```
|
```
|
||||||
|
|
||||||
### Debian
|
## Debian
|
||||||
Debian doesn't package virtualbox in the offical repositories, so we need to add VirtualBox's repository. Source: https://www.virtualbox.org/wiki/Linux_Downloads
|
Debian doesn't package virtualbox in the offical repositories, so we need to add VirtualBox's repository. Source: https://www.virtualbox.org/wiki/Linux_Downloads
|
||||||
|
|
||||||
Replace `<mydist>` in the first command with `trixie` or the current version of Debian if you are on a newer **stable** version.
|
Replace `<mydist>` in the first command with `trixie` or the current version of Debian if you are on a newer **stable** version.
|
||||||
@@ -30,11 +30,11 @@ sudo apt install virtualbox-7.2
|
|||||||
```
|
```
|
||||||
Note: For the last command you can type up to `sudo apt install virtualbox-` and triple tap TAB to see what version options there are.
|
Note: For the last command you can type up to `sudo apt install virtualbox-` and triple tap TAB to see what version options there are.
|
||||||
|
|
||||||
### Fedora
|
## Fedora
|
||||||
Fedora doesn't package virtualbox in the offical repositories, so we need to add the RPMFusion repository which packages additional software, including virtualbox.
|
Fedora doesn't package virtualbox in the offical repositories, so we need to add the RPMFusion repository which packages additional software, including virtualbox.
|
||||||
RPMFusion is a long-standing repo operated by some of the same contributors as the main Fedora repos; it just contains things that Redhat cannot legally distribute.
|
RPMFusion is a long-standing repo operated by some of the same contributors as the main Fedora repos; it just contains things that Redhat cannot legally distribute.
|
||||||
|
|
||||||
#### Install VirtualBox
|
### Install VirtualBox
|
||||||
```sh
|
```sh
|
||||||
# Import the RPMFusion repository
|
# Import the RPMFusion repository
|
||||||
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
|
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
|
||||||
@@ -48,7 +48,7 @@ RPM Fusion free repository for Fedora (2020) <rpmfusion-buildsys@lists.rpmfusion
|
|||||||
```
|
```
|
||||||
If you don't use secure boot, you can simply reboot and skip to the Check functionality stage
|
If you don't use secure boot, you can simply reboot and skip to the Check functionality stage
|
||||||
|
|
||||||
#### Sign VirtualBox modules
|
### Sign VirtualBox modules
|
||||||
Now, assuming you are using secure boot, we will need to allow the kernel modules used by virtualbox. We will do this using akmods
|
Now, assuming you are using secure boot, we will need to allow the kernel modules used by virtualbox. We will do this using akmods
|
||||||
```sh
|
```sh
|
||||||
# enable akmods if it not already
|
# enable akmods if it not already
|
||||||
@@ -64,14 +64,14 @@ That last command will prompt you for a password, it can be whatever, just be su
|
|||||||
3. Select `Enroll MOK` and follow the prompts to enroll the key
|
3. Select `Enroll MOK` and follow the prompts to enroll the key
|
||||||
4. Enter the password you chose when prompted
|
4. Enter the password you chose when prompted
|
||||||
|
|
||||||
#### Check functionality
|
### Check functionality
|
||||||
Once booted you can now ensure the VirtualBox module is working with
|
Once booted you can now ensure the VirtualBox module is working with
|
||||||
```sh
|
```sh
|
||||||
systemctl status vboxdrv
|
systemctl status vboxdrv
|
||||||
```
|
```
|
||||||
And ensure it it started.
|
And ensure it it started.
|
||||||
|
|
||||||
### Ubuntu/Mint
|
## Ubuntu/Mint
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo apt install virtualbox
|
sudo apt install virtualbox
|
||||||
|
|||||||
Reference in New Issue
Block a user