Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| run_batocera_in_vm [2022/07/04 00:56] – amended packages and reordered post installation atari | run_batocera_in_vm [2025/02/06 00:36] (current) – Fix numbering on last point by removing the blank line above "Enjoy" dekay | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| <WRAP center round important> | <WRAP center round important> | ||
| - | Except | + | Expect |
| </ | </ | ||
| Line 11: | Line 11: | ||
| - [[https:// | - [[https:// | ||
| - Install [[https:// | - Install [[https:// | ||
| - | - Install the VirtualBox #.#.# Oracle VM VirtualBox Extension Pack (a.k.a. "Guest Additions" | + | - Install the VirtualBox #.#.# Oracle VM VirtualBox Extension Pack too. <WRAP center round tip> |
| If you need further help with installing VirtualBox, refer to their helpful [[https:// | If you need further help with installing VirtualBox, refer to their helpful [[https:// | ||
| </ | </ | ||
| + | - If you downloaded the Batocera image file from the website, it is in '' | ||
| - Convert the Batocera IMG file to a VDI using the command line ('' | - Convert the Batocera IMG file to a VDI using the command line ('' | ||
| " | " | ||
| Line 123: | Line 124: | ||
| yum install virt-manager qemu | yum install virt-manager qemu | ||
| </ | </ | ||
| + | - Make sure your user owns the '' | ||
| + | sudo chown username: | ||
| - Create a VM with the Batocera image as a drive in Qemu. | - Create a VM with the Batocera image as a drive in Qemu. | ||
| - Go to **File** -> **New virtual machine...**\\ {{: | - Go to **File** -> **New virtual machine...**\\ {{: | ||
| Line 128: | Line 131: | ||
| - " | - " | ||
| - Click " | - Click " | ||
| + | - Select the OS: '' | ||
| - The dialogue box should now look like this, proceed:\\ {{: | - The dialogue box should now look like this, proceed:\\ {{: | ||
| + | - Grant access permission to the emulator to search into the selected path | ||
| - Change the default **Memory** and **CPU** numbers if you choose. The defaults are good enough.\\ {{: | - Change the default **Memory** and **CPU** numbers if you choose. The defaults are good enough.\\ {{: | ||
| - Give your virtual machine a name and click **Finish**.\\ {{: | - Give your virtual machine a name and click **Finish**.\\ {{: | ||
| - (Optional) If you'd prefer to passthrough your GPU to the virtual machine for extra performance (warning: <wrap em>your host machine will lose access to the GPU you passthrough</ | - (Optional) If you'd prefer to passthrough your GPU to the virtual machine for extra performance (warning: <wrap em>your host machine will lose access to the GPU you passthrough</ | ||
| + | - (Optional) For gamepad support: | ||
| + | - Connect the gamepad into a USB port on the host computer. | ||
| + | - On the virtual machine, go to **View** -> **Redirect USB Devices** and then select the connected gamepad.\\ {{: | ||
| + | - (Optional) For external storage device support: | ||
| + | - Connect the USB external disk into a USB port on the host computer. | ||
| + | - On the virtual machine, go to **View** -> **Redirect USB Devices** and then select the connected USB disk device.\\ {{: | ||
| + | - Now goes to Settings -> Storage Devices -> And select the USB Disk, system will reboot to apply the changes. | ||
| - Enjoy! | - Enjoy! | ||
| - | |||
| - | If you face an error about the " | ||
| - | |||
| - | {{: | ||
| - | |||
| - | then you are not currently passing through your network connection to the virtual machine. Run the following on your host machine to enable that: | ||
| - | |||
| - | <code bash> | ||
| - | sudo virsh net-start default | ||
| - | </ | ||
| - | |||
| - | <WRAP center round todo> | ||
| - | No controller workaround needed? | ||
| - | </ | ||
| - | |||
| ===== Proxmox ===== | ===== Proxmox ===== | ||
| Line 155: | Line 152: | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== I have a black screen but can still hear the audio playing ==== | ||
| + | |||
| + | The virtual machine is not configured correctly. Preferably, you would figure out how it's not configured correctly and remedy that, but in case you'd rather just instantly work around it, you can [[: | ||
| + | |||
| + | ==== I have no space in my virtual userdata partition! ==== | ||
| + | |||
| + | Perhaps you didn't expand the image before using it as the base? | ||
| + | |||
| + | It's also possible to simply replace the userdata partition with another, larger one by changing the " | ||
| ==== My controller isn't working! ==== | ==== My controller isn't working! ==== | ||
| - | First, make sure you have passed it through as a USB device to the VM itself (step 7d. in the instructions above). | + | First, make sure you have passed it through as a USB device to the VM itself (refer to the instructions above). |
| If it's still not working, check that the controller itself is working fine on your host machine outside of VirtualBox. | If it's still not working, check that the controller itself is working fine on your host machine outside of VirtualBox. | ||
| Line 169: | Line 176: | ||
| Windows shouldn' | Windows shouldn' | ||
| + | |||
| + | ==== I have no network connection even though my host has one ==== | ||
| + | |||
| + | If you face an error about the " | ||
| + | |||
| + | then you are not currently passing through your network connection to the virtual machine. Run the following on the host machine to enable that: | ||
| + | |||
| + | <code bash> | ||
| + | sudo virsh net-start default | ||
| + | </ | ||
- run_batocera_in_vm.1656896197.txt.gz
- Last modified: 4 years ago
- by atari