You could use an IO expander module (e.g. PCF8575 or MCP23017) between the Pi and the relay board: those modules don't change pin states unless they receive a valid I2C/SPI command, so they will not be affected by sporadic pin toggling at boot.
You'll have to enable the correspoding interface (I2C or SPI) on the Pi to be able to talk to the expander.
Errno 121 usually occurs when running an I2C python program with the following situation:
2.1 The hardware wiring connection is bad, eg,
2.1.1 Forget to plug/connect the cable,
2.1.2 Too long cabling, eg, over 30cm,
2.1.2 I2C frequency too high, over 400kHz,
2.1.3 I2C device, eg. I2C I2C MCP23017, which is sensitive to noise,
2.1.4 I2C bus overloaded, ...
It appears you have shorted the two ends of the resistor - this is not what you want to do.
Breadboards (a.k.a. "solderless breadboards") are really simple, but like all simple things, you must invest some effort to understand how they are constructed. That means you'll need to know that the breadboard is actually just a series of metal clips (...
The only answer on here (at time of writing) is a little outdated (7 years old)
What you're proposing is impossible
It's certainly not - in fact someone has already done this
Finally, even assuming you could somehow interface the Pi to the
surviving PowerBook internals, your new creation would not be nearly
as fast as the original PowerBook. I talk about ...