icy176 wrote:
The ram is stock apple ram and samsung ram added. I think I may install macOS on the passport as it isn't a big data holder for me and these old apple hard drives haven't aged well.
Mixing RAM like that is usually not recommended. It could result in odd behaviors. Apple computers accept a fairly narrow range of only highest quality RAM. If your problems are RAM related, replacing the hard drive won't help.
Booting from an external drive would be a good thing to try because your internal hard drive may be failing based on the very slow write speeds versus read speeds reported in Etrecheck. Both should be 100 MB/s at least. If you try the external boot drive, get an SSD for best performance.
See Use an external SSD as your startup disk … - Apple Community for tips.
A 2011 iMac is likely near end of life, regardless of how attached you are to it! Getting more than 5-7 years from a computer is a bonus, and more than 10 years is unusual. I am familiar with this as I have a 2011 MacBook Air still working (High Sierra), 2013 MacBook Air (Big Sur) still working, and a 2015 iMac (Monterey) still working. I like keeping these vintage machines running well, but sometimes one must replace parts (which gets expensive the older they get) and sometimes one needs to let a worn out computer go. Also for important things, like taxes, I use a modern Mac.
We had a 2008 iMac running well until a few months ago when the power supply failed, so that one had to be recycled, the cost of getting and replacing the power supply would exceed the cost of a new iMac.
Keep in mind that the very compact Macs like laptops and iMacs have electronics installed in very tight physical spaces and they thus experience considerable change in temperature over time, during operation. This wears out the electronics, as solder joints expand and contract with temperature and eventually stop working well, over time.