https://www.raspberrypi.com/products/raspberry-pi-3-model-b/
Tested on march 16th, 2025
Installation
Download the latest Raspberry Pi OS, lite version, based on Debian bookworm:
$ wget https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-11-19/2024-11-19-raspios-bookworm-arm64-lite.img.xz
Verify the integrity of the file:
$ wget https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-11-19/2024-11-19-raspios-bookworm-arm64-lite.img.xz.sha256
$ echo "$(cat 2024-11-19-raspios-bookworm-arm64-lite.img.xz.sha256)" | sha256sum --check
Copy the image to an SD card:
$ unxz 2024-11-19-raspios-bookworm-arm64.img.xz
$ sudo dd if=2024-11-19-raspios-bookworm-arm64-lite.img of=<device> bs=16M status=progress oflag=sync
Now put the SD card in the RaspberryPi, connect it to an HDMI monitor and a USB keyboard, and boot.
Enter keyboard layout, the user name and the password.
Login.
Enable ssh:
$ sudo systemctl enable ssh
Change the hostname:
$ sudo hostnamectl set-hostname tabechaka-04
Also edit the file /etc/hosts
to replace raspberrypi
with tabechaka-04
.
Turn it off:
$ systemctl poweroff
Now I can move it to the rack and login with ssh.
Install software for administration:
$ sudo apt update
$ sudo apt install emacs-nox byobu
Enable ssh public key authentication:
$ mkdir --mode 700 ~/.ssh
Add my user public key to ~/.ssh/authorized_keys
.
Adjust the permission of this file.
$ chmod 600 .ssh/authorized_keys
Disable ssh password autentication:
Edit the file /etc/ssh/sshd_config
, uncommenting and setting:
PasswordAuthentication no
$ sudo systemctl reload sshd
Reboot:
$ sudo systemctl reboot
System information
tl;dr:
Processor ARM Cortex-A53, 64 bits, 1GB of memory, Debian 12
$ lsb_release --all
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
$ lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: ARM
Model name: Cortex-A53
Model: 4
Thread(s) per core: 1
Core(s) per cluster: 4
Socket(s): -
Cluster(s): 1
Stepping: r0p4
CPU(s) scaling MHz: 100%
CPU max MHz: 1200.0000
CPU min MHz: 600.0000
BogoMIPS: 38.40
Flags: fp asimd evtstrm crc32 cpuid
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 512 KiB (1 instance)
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Not affected
Srbds: Not affected
Tsx async abort: Not affected
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 116.1G 0 disk
├─mmcblk0p1 179:1 0 512M 0 part /boot/firmware
└─mmcblk0p2 179:2 0 115.6G 0 part /
$ free --human
total used free shared buff/cache available
Mem: 920Mi 115Mi 688Mi 1.1Mi 165Mi 805Mi
Swap: 511Mi 0B 511Mi