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.
1
Create new virtual machine
- Open the Create a New Virtual Machine dialog
- Select I will install the operating system later
2
Choose guest operating system
Choose Other as the guest operating system.
3
Name and location
Give the VM any name and store it anywhere you prefer.
4
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.
5
Finalize creation
Select Finish to create the virtual machine.
Configuring the Virtual Machine
1
Open settings
- Select the newly created virtual machine
- Click Edit virtual machine settings
2
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).
3
Remove existing hard disk
- Select the existing Hard Disk
- Click Remove
4
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
5
Save and power on
- Click Save
- You can now Power On the virtual machine
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)
