Help with Installing on a Partition

No, that’s the device. Did you mount it?
You could mount it at /var/discourse and then you’d get what you want.

See for instance https://devconnected.com/how-to-mount-and-unmount-drives-on-linux/ (first Google hit that I liked)