I'm refurbishing an old PC to work as a home server for several stuff. I'm looking for a lightweight distribution to install in it, but with a decent package repository. A small image size will be appreciated, as I have slow bandwidth too.
Debian or Ubuntu Server (or something specific to servers purpose, like OMV, etc).
... but ProxMox (a hypervisor, Debian based) doesn't have much overhead & runs on old PCs pretty well.
And with that, you can pretty much try any distro (as a full virtual machines, perhaps with dockers within it, or as a lightweight containers that are really resource efficient). Or separate containers for each purpose (for beginners, there are like TurnKey solutions to stuff like NAS, it takes literally a few minutes to set up).
Backups (snapshots) are easy too, and a later migration to a better/next server is basically two clicks away.
So the question I then have is, how hard would it be to virtualise my current Ubuntu server within Proxmox, both not having dealt with VMs before and having spent a lot of time on the server?
Im sure there is a way (a quick search will probably give you your answer fairly quickly) ... or just try Clonezilla, that way you can also revert back. As per usual with OS I would advise make a clean install on a new machine & transfer the rest manually, ... however I'm lazy and wound definitely try to image copypasta the disk.
VMs as such aren't really any different from regular machines, it's just that you define virtual machine parts, well, virtually (like you can add disks, RAM, cores, etc as you wish).