Troubleshooting Ubuntu VM Black Screen and Blinking Cursor on Mac Host
Setting up an Ubuntu virtual machine (VM) on a Mac host can be a great way to run Linux applications without the need for a separate physical machine. However, you may encounter issues such as a black screen and a blinking cursor, which can be frustrating. This article will guide you through troubleshooting these problems, focusing on a system with 2 CPUs and 3D graphics checked, using the VMware SVGA graphics controller.
1. Verify System Requirements
Before installing Ubuntu, ensure your Mac meets the minimum system requirements. You'll need at least 2 CPUs, 2GB of RAM, and 16GB of free disk space. Additionally, enable virtualization in your Mac's BIOS settings. For 3D graphics support, ensure the "Accelerate 3D graphics" option is checked during VM creation.
2. Select the Correct Graphics Controller
Choosing the appropriate graphics controller is crucial for smooth VM operation. For Ubuntu, the recommended option is the VMware SVGA graphics controller. To change this setting:
- Power off the VM.
- Edit the VM settings.
- Go to the "Display" section.
- Select "SVGA" as the graphics controller.
3. Update VMware Tools
Outdated VMware Tools can cause display issues. To update VMware Tools:
- Select "Install VMware Tools" from the VM menu.
- Mount the ISO image and run the installation script in the terminal.
- Reboot the VM after installation.
4. Adjust Display Settings
If the default display settings do not work correctly, try changing them manually:
- In the VM settings, go to the "Display" section.
- Increase the "Video memory" to the maximum (256MB).
- Enable "Accelerate 3D graphics".
- Uncheck "Monitors: Autodetect".
- Set "Monitors: Maximum number" to 1.
5. Boot into Recovery Mode
If the above steps do not resolve the issue, try booting into recovery mode:
- Restart the VM and press "Shift" during bootup.
- Select "Recovery mode" from the Grub menu.
- Choose "root" and press "Enter" to access the terminal.
- Run
sudo apt-get updateandsudo apt-get upgradeto update the system. - Reboot the VM.
6. Reinstall Ubuntu
If all else fails, consider reinstalling Ubuntu. This should only be done as a last resort, as it will erase all data on the VM. Make sure to back up any important files before proceeding.
References
- Ubuntu VMware Installation Guide: https://www.ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-vmware
- VMware Tools Update Guide: https://kb.vmware.com/s/article/1022525
- Ubuntu Recovery Mode: https://ubuntu.com/server/docs/common-tasks#recovery-mode