I don’t usually recommend a VM for learning linux TBH. It is a cheap way to get access, and for labs it can be convenient, but virtualization is kinda hit and miss on consumer UEFI and CPUs. Grabbing a rPI 400 is a far more consistent user experience.
but virtualization is kinda hit and miss on consumer UEFI and CPUs
It is? I have never had any real problems with either Hyper-v nor Virtual box.
I haven’t tried a huge variety of computers, only like 3 CPUs (and one xeon but I wouldn’t call that consumer). Two of those were the same computer but with a different motherboard and CPU and the other one is my mid range ThinkPad x280 with an i5 and 8 GB of ram and that works good enough.
But a Raspberry Pi 3/4/400 is always good of course.