Sounds like you have a drive which already had a partition on it and when you tried to install the macOS it found a small sliver of space to setup which you did but you really want to setup a flat partition using the whole drive for macOS is that correct?
I would setup a bootable OS installer drive to properly present the drive as you are hitting the show cobbler conflict! As the cobbler can’t fix your shoe while you are wearing them. That also happens here as both the Internet or hidden partition OS recovery can’t access all of the drive.
There is also a second issue that maybe hitting you as Apple changed the underlying structure of the file system to APFS this happens between Sierra and High Sierra so make sure you are using the correct macOS and the highest version Apple supported at this phase. Once you get the system running you might want to use a shim service like OpenCore Legacy Patcher to run a higher version than what Apple supports.
Download from here the needed OS installer file How to download and install macOS then format a 32GB USB thumb drive with GUI and a journaled file system, copy the installer file to it and then convert it following this guide Create a bootable installer for macOS.
Now using that bootable drive reboot your system and launch Disk Utility delete all of the partitions and then create a fresh one (if you have anything on the drive it will be lost!). If you want to have a second partition to host a different OS you can limit the size of this first partition leaving the second one blank or if you know what you want to install setup the second partition with its required structure.
In either case label the partitions so you won’t get confused and install the macOS you want.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
0