When the lockdown started one year ago I was fortunate to have enough computers at home to allow simultaneous distance learning and remote working. All home laptops run Ubuntu Linux, that makes them breath with just 4 GB RAM and 5400 rpm spinning hard-disks (that's slow in 2021 terms), plus all updates are under my sole control.
Those computers are about 10 years old and serve 8+ hours a day without a glicth. Almost.
After one year of extensive use the HP laptop needed an upgrade (or a reinstall). The HP 15-g005nl can be upgraded to 8 GB RAM. Linux lshw command shows that there are two slots, BIOS is not so detailed. Still in doubt: do I need a second 4 GB SODIMM, or a single 8 GB module?
I looked online for a teardown video of this model or alike and it confirmed my suspicion: there is only one RAM slot! The video is a lifesaver because, amongst other things, it tells you of 2+1 hidden screws (2 become visible when the DVD reader is removed, the third is under a rubber pad).
Before buying the memory bank I worked my way down to the memory slot, just to confirm that this laptop was NOT made with servicing in mind. Even replacing the HDD requires removing the keyboard and the hand-rest frame.
The picture below shows the main board lifted from the back shell, as if looking at the laptop from the front/normal use position. You need to remove at least 6 cables and lots of screws to get here.
I was so dedicated to the RAM upgrade that I did not notice the backup battery until I reviewed the picture. Hopefully it is a rechargeable and I will not have to deep dive again in the HP anytime soon.
The SODIMM was finally replaced and thrashing (swapping fast memory to the slow hard disk back and forth) has stopped.