Welcome to the Community,
there are several options to do this. I usually create separate virtual disks for OS and data which allows to resize the disks/partitions if required, and gives me the option to attach the data disk to another VM if needed (e.g. in case of guest OS corruption).
André