Creating the Disk Image
Before creating a disk image for VMware, you need to create a GRUB image as described in the bare metal installation guide.Skip the final step of the bare metal guide (writing to physical drive) as that’s only relevant for real hardware.
Converting the Image
The easiest way to convert the disk image is with QEMU:Creating the Virtual Machine
These instructions were written with VMware Player 15 in mind. Steps may not match exactly for past and future versions or VMware Workstation.
Create new virtual machine
- Open the Create a New Virtual Machine dialog
- Select I will install the operating system later
Specify disk capacity
Choose any size for the hard disk. This disk will be removed in the next steps and replaced with the converted GRUB image.
Configuring the Virtual Machine
Set memory
Serenity requires at minimum 512 MiB of memory. Set Memory for this virtual machine to 512 MiB or above. The currently recommended size is 1 GiB (1024 MiB).
Add converted disk image
- Select Add
- Select Hard Disk
- Select IDE (Recommended)
- Select Use an existing virtual disk
- Click Browse and navigate to the converted VMDK disk image
- Click Finish
At the time of writing, audio and networking do not work in VMware.
That’s It!
You should now be able to boot SerenityOS in VMware. The system should boot from the GRUB bootloader and load into the SerenityOS environment.Troubleshooting
If you encounter issues during boot:- Verify that you created the GRUB disk image (not the QEMU image)
- Ensure the VMDK conversion completed successfully
- Check that the IDE controller is properly configured
- Verify sufficient memory allocation (minimum 512 MiB)
