Posting this recommendation as i think (based on a few googily searches and reddit posts I’ve seen) that there are several users out there that dual-boot OS’s on a single workstation, and have asked a similar question.
The idea here is to have installed Plex media server on either windows, or Linux, and when you boot up into Your desired OS, a full plex server experience can be had without any hacky workarounds. A VM solution to the ‘multiple OS’ setup doesn’t work for a lot of people, due to the resource assignment limitations and other tradeoffs.
Plex software and mapped Media locations available on a separate drive, and both OS’s able to access the mounted path and write to the DB files/sync everything it needs to, just like a single OS installation on either OS side would.