Il 27/04/25 06:38, whiteman808 ha scritto:
Hello Gentoo users
Have you tried to install Gentoo on the Raspberry Pi 5? I want to
buy one and set up budget home server on it.
How much average time it will take before I'll have working stage3 with
running nginx, gitea, docker etc.? Will it take days or can I finish
setting up rpi server in one day?
I mean running Gentoo arm64 from official hat providing nvme support,
not microSD card.
Will compile times be similar to achieved on my old Lenovo ThinkPad
X220? If so, that would be acceptable for me.
Not clear to me if you want to just install the stage3 or do the usual
install-customize-rebuild @system @world. I'll answer for the latter.
I have a Gentoo-based Rpi4, I cross-compile most of the packages so
can't provide numbers for comparison except for the few that I have to
compile natively due to crossdev issues, e.g.:
# qlop -mav git
dev-vcs/git-2.49.0-r1: 14′47″ average for 1 merge
# qlop -mav apache
www-servers/apache-2.4.63: 9′55″ average for 2 merges
For the Rpi4 I'd bet on days before you get a complete running system.
Rpi5 is just a bit more powerful but I'd go crossdev or binhost anyway.
In case you haven't seen yet, there are some Rpi guides on Gentoo:
https://wiki.gentoo.org/wiki/Raspberry_Pi_Install_Guide
https://wiki.gentoo.org/wiki/ARM
For the kernel I use the official raspberry tree and build it from source:
https://www.raspberrypi.com/documentation/computers/linux_kernel.html#cross-compiling-the-kernel
Last but not least, crossdev:
https://wiki.gentoo.org/wiki/Crossdev
I use the Rpi4 as a headless dns server (pihole).
raf