Increase size in dev/sda
Solution 1:
My suggestion is to get a partition editor like gparted https://gparted.org/
- Put it on your datastore.
- Go into the properties of the VM and assign the ISO to the virtual CD/DVD
- Boot the VM, and press ESC and you should get a boot menu
- Select virtual CD/DVD
- Boot
- When loaded launch gparted, and you can then visually see what is going on.
- Delete,add, resize, or etc the necessary partitions.
- Commit your changes
- Wait for that to complete
- Reboot
- Don't press any key and it should boot normally.